How to start and pause jmeter test plan run

venkat sai

I have a jmeter test plan that is running in a non gui mode on linux to test a server. I want to pause the jmeter test plan for some time to carry some maintenance on server and want to resume the test plan from where it got paused.

I don't know when to stop the test plan before hand, so i can't use timers to code in jmeter

Is there a pause button on jmeter GUI and NON GUI mode to pause the test plan

Dmitri T
  1. Linux solution. If you're running Linux you can use kill command like:

    • kill -STOP 1234 - pause JMeter
    • kill - CONT 1234 - resume JMeter

      replace 1234 with the associated Java process ID

  2. JMeter solution. You can add Constant Throughput Timer to your test plan and set the desired throughput in "requests per minute" using __P() function. When you need to suspend JMeter - you can set the desired throughput to 0 via Beanshell Server. Check out How to Change JMeter´s Load During Runtime article for comprehensive information if needed.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

JMeter method call on start/end of test plan

How to design this test plan in JMeter

How to run a specific test plan

In Jmeter is it possible to create a reusable object at the start of test plan?

How to use PAUSE in a Start > Run command

Structuring JMeter Test Plan

jmeter start in no pause mode from command line

Pause the run method of a QThread to test it

How to start a docker container before run the test

How to start clientapp and run xunit test

How to programmatically run arc diff --verbatim if test plan is required

How to create a test run/plan for a C++ Program?

Executing Specific JMeter Thread Groups in a Test Plan

Jmeter concurrent user load Test Plan

Schedule JMeter test plan to be started at a certain time

Exception while loading JMeter test plan in code

Importing the pem certificate into jmeter test plan

How to create and run Apache JMeter Test Scripts from a Java program?

How to group responses in report by exceptions/assertions during JMeter test run

How to run non-gui Jmeter test with multiple output files

Jmeter run stress test with formula

How to structure a JMeter test plan properly for a sockets.io scenario - event "subscription"

How can we remove a request parameter once (at startup) from a JMeter Test Plan?

Jmeter: How to map specific variable values from CSV file to specific thread-groups in a test plan

Run multiple jmeter tasks on a machine, how to specify a port to stop jmeter test

Pause a test 2 mins on every 1000 users reached in Jmeter

how to call a method immediately before the start of a test run in minitest

Is it possible to run Powershell scripts from test plan?

JMeter: Why get error when try to save test plan