Quantcast

Change value of a constant throughput timer during a test using bean shell preprocess

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Change value of a constant throughput timer during a test using bean shell preprocess

Jack
This post has NOT been accepted by the mailing list yet.
Change value of a constant throughput timer during a test using bean shell preprocess
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Change value of a constant throughput timer during a test using bean shell preprocess

glinius@live.com
This post has NOT been accepted by the mailing list yet.
First of all defined throughput in the Constant Throughput Timer using __P() function like

${__P(throughput,1)}
Once done you will be able to amend the throughput from Beanshell Test Elements using the following code:

props.put("throughput", "desired_throughput_value");
Moreover, you will be able to change throughput externally while your script is running via Beanshell Server


Loading...