jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glinius@live.com" <glin...@live.com>
Subject Re: Change value of a constant throughput timer during a test using bean shell preprocess
Date Thu, 18 May 2017 12:36:55 GMT
First of all defined throughput in the Constant Throughput Timer using  __P()
function <https://jmeter.apache.org/usermanual/functions.html#__P>   like 


> ${__P(throughput,1)}

Once done you will be able to amend the throughput from  Beanshell Test
Elements
<https://www.blazemeter.com/blog/queen-jmeters-built-componentshow-use-beanshell>  
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
<http://jmeter.apache.org/usermanual/best-practices.html#beanshell_server>  






--
View this message in context: http://www.jmeter-archive.org/Change-value-of-a-constant-throughput-timer-during-a-test-using-bean-shell-preprocess-tp5725656p5725657.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.

Mime
View raw message