Reputation: 1237
Can I perform a test that will stop in some step, and after I perform something manually in my system I will tell Jmeter to resume running the test? is it possible in JMeter to pause a test in the middle and then to resume it?
Upvotes: 1
Views: 286
Reputation: 168217
What is the nature of the task you need to do manually? I'm pretty much sure that it is doable via JMeter itself, JMeter Plugins or Groovy Scripting.
If I'm wrong or you have a very specific scenario one of possible solutions would be adding Constant Throughput Timer to your Test Plan and define desired Requests per Minute
rate using JMeter Property via __P() function
Whenever you need to "stop" the test you can set the "throughput" property to 0
using i.e. Beanshell Server
Upvotes: 0
Reputation: 58892
I don't know about out of the box solution in JMeter, so you need to add such logic yourself.
For example you can do a While controller with a variable set to true at start, inside loop read from file until it's value is false and then exit loop and resume test. You can even use StringFromFile function as ${__StringFromFile(flagResume.txt,,,)}
In your manual operations add to file the value false, and then the JMeter test will resume.
Upvotes: 1