You can stop your test while it's running by clicking the stop button. Here are the steps that occur before the test actually stops.
Finding the Stop Button While Test is in Progress
You should be able to see the 'Stop' button in the header section.
Stopping a Test Manually
When you click the 'stop' button, you'll be given three options:
- Graceful Shutdown - This sends a signal to JMeter to close the test, archive the JTL files and upload them to the test report folder.
- Terminate Servers - This terminates all the servers immediately and result in the loss of all your JTL files.
- Cancel - This cancels your request - the test will not stop and the test will continue as before.
Clicking on the "Graceful Shutdown" button will close the test, archive the JTL files and upload them to the test report folder. When the tests stop, you'll be notified, the stop button will disappear and the start button will re-appear.
Whether or not you've stopped your test, you can verify it using the information logged in log file. Go to the Logs tab and the JMeter log section. Then check for the "Notifying test listener ..." message.