Questions tagged [parameterization]
157 questions
0
votes
1 answer
scala type parameterization confusion
Consider the following example
abstract class Lookup(val code:String,val description:String)
class USState(code:String, description:String, val area:Symbol)
extends Lookup(code,description)
class Country(code:String, description:String, val…

Rahul
- 44,892
- 25
- 73
- 103
0
votes
2 answers
How to parameterize a variable value inside an URL/path in Load runner
Currently I am working in an application where I have to pass new value from a text file to the request path itself.In the below link I have to pass category ID values from text file.The request path is as following:…

user3627319
- 395
- 3
- 10
- 19
0
votes
1 answer
In data.table how can I supply a vector of characters to c() with some explicitly and others by reference?
In a normal one off script way I have a data.table with headings:
Date | Time | Value
Which then has the Date and Time pasted together to be parsed as POSIX later on.
The problem is in trying to parametrise (I think that's the right word) the…

DaveRGP
- 1,430
- 15
- 34
0
votes
2 answers
Calculating Age by custom Program
There is one POST request which submits both Date of Birth & Age.
I found the Date of Birth from previous request, extracted it through Regular Expression Extractor, and passing the Variable in the POST request.
But I did not found the Age from…

Bajrang Badaik
- 192
- 1
- 9
0
votes
1 answer
parameterization of a “set of scripts”
I have 1 project for my automation in testcomplete. This project contains all the scripts which are organised according to our need like 1 folder contains 10 scripts , another folder contains 15 scripts and so on.
We are facing the problem where in…

vinu
- 191
- 2
- 7
- 22
0
votes
1 answer
Jmeter : upload excel, hard coded values
I have recorded a scenario in which an excel is uploaded, in the next subsequent request those records in excel are passed as a parameters.
But suppose i need to change the excel , how that request will take new values?
Parameterization seems not…

Braine
- 5
- 5
0
votes
1 answer
mapbox's node sqlite3 - using LIKE with parameterization correctly
So I spent more time than I'd like to disclose finding out this little bit of undocumented gem:
So when you're doing something like: db.all(sql,params,callback)
this wont work
where params and sql is something like:
var params = { $param1 : 'some…

Kevin Friedheim
- 394
- 3
- 15
0
votes
0 answers
method of moments: beta binomial distribution
I am attempting to work through the method of moments estimation of alpha and beta for a beta binomial distribution. Taking the steps found at:
http://en.wikipedia.org/wiki/Beta-binomial_distribution#Maximum_likelihood_estimation
I have think I have…

user3266890
- 465
- 5
- 15
0
votes
2 answers
Generics/Parameterised classes Java Namespace
G'day!
Given two classes: A and B, and given G: a generic class, in Java.
If I were to define the generic class as G or G, would it be make any difference that A and B are defined as classes themselves? My gut feel is no, because the letter is…

James Adams
- 678
- 4
- 11
- 21
0
votes
1 answer
bind_param with mysql in query accepting only the first value in the list
I am using MySQL and PHP.
I tried to parameterize the queries using bind_param. Now I need to pass a list of integers to the parameterised IN Query.
I have tried with the below query:
select id,date,
sum(value) as distance ,
(select number from…

Rakesh
- 41
- 1
- 7
0
votes
2 answers
Javascript parameterized strings: replace(RegExp, function) unexpected grouping / matching
Regular expressions often eludes me. I am struggling to understand an unexpected result with grouping, and would like someone to tell me:
Why it is not working as intended
How I could achieve the expected result
Context:
I'm working with strings…

Silver Quettier
- 2,045
- 2
- 26
- 53
0
votes
1 answer
pysqlite not accepting qmark parameterization
I have a similar question than the one that has been answered in
Python pysqlite not accepting my qmark parameterization
My problem is the following:
I want a parameterized search for a string that is like something, not for the string itself.
This…

user142295
- 83
- 4
0
votes
2 answers
Generic parametric return value in generic methods
I'm writing a wrapper for JSON Jackson pojo serialization/deserialization.
So I tried to write a generic method that will return me the deserialized object generically.
I think the code would explain this better:
public > M…

Eugene Krapivin
- 1,671
- 2
- 17
- 32
0
votes
1 answer
Parameterized commands in javascript or php
Is it possible to have parameterized commands or prepared statements in javascript or php. I see it is possible in java and in database queries?
Thanks!

DevD
- 1,201
- 2
- 12
- 20
0
votes
1 answer
What is meant by parameterization?
While reading one of the articles for Data Driven Testing, I came across a term 'parametrization of a test'. Could someone explain to me what is meant by parameterization here?

Alpha
- 13,320
- 27
- 96
- 163