Questions tagged [parameterization]
157 questions
0
votes
1 answer
Quadratic bezier curve arc-parameterization
Currently trying to instantiate some objects along a bezier curve. It's working, except for the fact that the meshes are not evenly distributed along the curve. So I need to do some arc-parameterization.
My information has come from this document…

Tony
- 3,587
- 8
- 44
- 77
0
votes
0 answers
How to read multiple parameters from a json file in Protractor jasmine?
Login.js file
'use strict';
var testData = require('./testdata.json');
describe('LoginPage', function() {
var loginData = require('./testdata.json');
it("data.description", function ()…

P. H. Nabila
- 45
- 2
- 6
0
votes
0 answers
How do I call a c function on each occurrence in LoadRunner?
So there is this HUGE JSON that I am loading from a file and than I run it through lr_eval_string and save it to a parameter. This parameter is later used as a body in one of my REST calls.
I use lr_eval_string to dynamically replace different…

Itamar Levy
- 73
- 1
- 12
0
votes
1 answer
What is the correct way to override an interface method to ensure that it can only be used on objects of identical types?
I am creating a Matrix class in Java to use in a linear algebra program. Right now it holds doubles, but I want to abstract it.
I've created an interface called MatrixElement, which will contain add, multiply, divide, and any other arithmetic…

user3043902
- 15
- 1
0
votes
0 answers
How to add dependency of one parameter type on another in Java generics
Suppose I have the following:
interface I {
// some getters and setters
}
class A implements I {
// some methods
}
class B implements I {
// some methods
}
interface J {
// some getters and setters
}
class C implements J {
//…

user1408140
- 639
- 3
- 9
- 20
0
votes
1 answer
Running an existing JMeter Test with parametrization using csv file from Java code
I have recorded the jmeter script with CSVDataConfig. I mentioned the csv config file location as "search.csv" like

GopalKrish
- 25
- 1
- 7
0
votes
1 answer
Project 3d points or NURB curve onto NURB surface parameter space
I have a NURB surface bounded by NURB curves, how do I find their parameterization wrt to the NURB surface? I am using openNurbs by McNeel and Associates to evaluate the NURB entities themselves, but have no tool to project the points, or transform…

brettmichaelgreen
- 676
- 5
- 15
0
votes
0 answers
Perform action on a failed test iteration
I have an instance where I have several hundred iterations I need to run of the same @Test using a @RunWith(Parameterized.class). Each takes about 10 minutes, so this overall test takes most of the day.
The problem is, the system we are running it…

Allen
- 127
- 1
- 1
- 9
0
votes
2 answers
parameters substitution from one .py file to another .py file
I have a parameter file with all param values . I want to pass these values to another .py (raw sql file) and generate an executable sql file
Here is what I have so far
params.py file
var1 = '1,2,3'
var2 = '('abc', 'cde',…

pmv
- 349
- 2
- 20
0
votes
1 answer
jmeter load testing , Parameterization
I am running a HTTP request test in jmeter where I send a json input. For example:
{ "id":"0", "fieldvalue":"sanket","Source":"todays date" }
I need to parametrize this so that for each thread iteration a different value for id, fieldvalue, source…

sanket
- 21
- 2
0
votes
0 answers
N++ macro parameterization
I am a new N++ user, and I have an XML file that I need to create 10 duplicates of and where it says
6000
I want to search anywhere it says 6000 and wherever it says 6000, I want to replace it with a unique 4 digit number. All 10…

Kashus Klay
- 11
- 2
0
votes
3 answers
SqlCommand Parameter eating +
I have this:
string a = "a+a";
SqlCommand q = new SqlCommand("SELECT * FROM table WHERE a = @a", conn);
q.Parameters.AddWithValue("@a", a);
But the parameterization totally erases the + from a, leaving me with a a instead of the desired a+a. I need…

jeffcook2150
- 4,028
- 4
- 39
- 51
0
votes
2 answers
Parameterized Upper Bounded Generic Class from String?
I've seen these two answers:
Generics and Class.asSubclass
final Class extends Xyz> result = resultClass.asSubclass(Xyz.class);
Generics and Class.forName
Class clazz = (Class) Class.forName(className).asSubclass(ifaceClass);
What I'm…

Alun
- 541
- 6
- 16
0
votes
1 answer
Parameterize MultiKeyMap with Multiple Keys
Is there any way to parameterize Apache Commons' MultiKeyMap with multiple keys? i.e.
MultiKeyMap m = new MultiKeyMap();
I originally had raw MultiKeyMaps but because of the frequency…

17slim
- 1,233
- 1
- 16
- 21
0
votes
1 answer
Parameterizing a function using a struct
The code below does not compile. The function foo takes a function pointer f as an argument, and f strictly takes one int as argument and returns an int. In this example, foo always invokes f with the argument 3. I would like to pass a function to…

Agrim Pathak
- 3,047
- 4
- 27
- 43