Change Any JMeter Property in Real Time
While you can set JMeter properties directly in Blazemeter, you may also want to alter the behavior of your test while the test is running. BlazeMeter allows you to remotely change the value of any JMeter property using the Remote Control feature.
To use this feature:
- Add one or more properties to the JMeter Properties section of your test configuration.
- Start your test.
- When the test report appears, click the Run Time Control button at the top-right of the screen (this button is only available while the test is running, and will disappear after the test completes).
- Click the Remote Control button in the drop-down.
- The Remote Control Live window will appear, listing all JMeter properties available for updating. This by default includes all scenarios in all locations (see Advanced Features later in this article for more details).
- Enter a new value for each property you want to update.
- Click Send to update the property on all engines.
- Remote Control works for both single tests and multi-tests. If a test has multiple scenarios, the default option for the Remote Control Live window is to show all properties for all scenarios. This can be especially handy for a multi-test in which various single tests within each have different properties to adjust.
- For tests / multi-tests with multiple scenarios, you can filter the Remote Control Live window to show JMeter properties that only pertain to a specific scenario and/or location. To do so, use the Scenario and/or Location filters at the top-right of the test report before clicking the Remote Control button.
- You are not just limited to modifying existing properties; you can add new ones! Doing so requires specifying which scenario (in a multi-scenario test) to add the new property to. At the the top of the Remote Control Live window, in the New Key row, click Select Scenario, then select the scenario you wish to add the new property to from the drop-down.
Fill out the remaining fields for the New Key row, and your new property is ready to go.
There are more options you can adjust while running a test beyond JMeter properties. Check out the following guides for some more options you can adjust mid-test:
- If you'd like to modify your Requests Per Second (RPS) on the fly instead, then check out the Changing RPS Limits 'On The Fly' section of the Load Configuration guide.
- When executing a multi-test, you can add users dynamically so as to adjust the load while the test is in progress. Check out Adding Users Dynamically for a full guide.