> Please see my previous reply; I already answered that.

Excuse me, but still I can't get the answer for the question:
"In Beanshell script, how can I change the value of the variable that is 
created NOT in the Beanshell script, but somewhere in the JMeter element (in my 
case that was variable "bidValue" that was defined in the Test Plan element)?".
As I wrote earlier, I tried to make script like this:

int v = ${bidValue}; //
v = v-5;
vars.put( bidValue,  Integer.toString(v) );

but that gave me "Undefined argument: bidValue". And I cannot do like this:

int v = ${bidValue}; //
v = v-5;
String bidValue;
vars.put( bidValue,  Integer.toString(v) );

because the code in 3rd line creates other bidValue variable (I don't want to 
create it). My goal is just to set the same variable, which value is passed to 
the script in 1st line (int v = ${bidValue};)

I'm pretty sure, that I need proper version of the 3rd line of my code.

I think we misunderstand each other. Or maybe I'm too stupid for that :(
(but I don't think so ;) )


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to