You cannot "pause" JMeter, the only way to stop it sending the requests is
using  Constant Throughput Timer
<https://jmeter.apache.org/usermanual/component_reference.html#Constant_Throughput_Timer>
  
with a throughput defined via  __P() function
<https://jmeter.apache.org/usermanual/functions.html#__P>   which will allow
to control the number of hits per minute using  Beanshell Server
<https://jmeter.apache.org/usermanual/best-practices.html#beanshell_server>  

Check out  How to Change JMeter´s Load During Runtime
<https://www.blazemeter.com/blog/how-to-change-jmeters-load-during-runtime>  
article for more details. 

Alternative option is using  Filter Results Tool
<https://jmeter-plugins.org/wiki/FilterResultsTool/>   to remove the time
span when your server was restarting from the .jtl results file. 

And finally you can suspend/resume any process by means of the operating
system, i.e.  kill <https://www.man7.org/linux/man-pages/man2/kill.2.html>  
for Unix and derivatives,  DebugActiveProcess
<https://docs.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-debugactiveprocess>
  
for Windows, etc. 



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to