I am trying to create a variable with a value and the increment that
value manually


I tried both
1. create a counter with a starting value
2. create the variable in the user parameters

i created a beanshell sampler and use this code
${__intSum(${iptv_counter},1,${iptv_counter})}
${__logn(VAR2=${iptv_counter},OUT)}
${__intSum(${iptv_counter},1,${iptv_counter})}
${__logn(VAR2=${iptv_counter},OUT)}
${__intSum(${iptv_counter},1,${iptv_counter})}
${__logn(VAR2=${iptv_counter},OUT)}

I also tried
${__counter(FALSE,${iptv_counter})}
expecting it will take the original value and increment one.

I also tried
${__javaScript(${iptv_counter} = ${iptv_counter} +1)}


Nothing work

How can I increment the value of a variable by one??

Thank you

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

Reply via email to