Run Apache JMeter load tests with VSTS
Before you start:
- Create your Visual Studio Team Services (VSTS) account, if you don't have one already.
To run a JMeter load test:
Sign in to your VSTS account (https://your-account-name.visualstudio.com).
Go to the Load Test hub, open the + New menu and choose Apache JMeter test.
Enter your load test parameters. To run your test near to where your users are located, select a closer location for your load test. Then start your test when you're ready.
For information about the scripts and supporting files used for JMeter web tests, see Build a Web Test Plan on the Apache JMeter website.
As the test runs, you see live information about the progress of the test. You can stop the test by using the Abort link on the toolbar.
When your test is done, look at the results to see how well your app performed. For example, you can see an overview of your app's performance in the Summary tab. This tab shows all of the main metrics such as average response time, user load, requests per second, failed requests, any errors that might have occurred, and test usage.
The lower section of the Summary tab shows the settings used for the test, and details of the five slowest requests during the test. If there are any transaction tests, the tab will also show the five slowest of these. Use the icon above a column to sort the list based on the contents of that column.
Open the Charts tab to see a graphical representation of the test results over time. The charts show the average performance, throughput, errors, and the results of each test request. Hover your mouse pointer over a chart to see more details.
Open the Diagnostics tab to see detailed information such as a list of errors and status messages.
You can also use the icon in the Errors section of the Summary tab to go directly to the Diagnostics tab.
Open the Logs tab to see a list of test runs. Choose the link in the Attachment column to download the detailed log as a text file.
If you have a favorite listener that you use to analyze results in the JMeter IDE, download the test results in .CSV format and the logs as a zip file from the Download Results link.
To run the same test again, choose Rerun.
Now see how you can view and compare your load test runs.
- FAQs for load testing
- Load test with Visual Studio
- Load test with VSTS
- Load test with Azure portal
- Tutorial: Run load tests before release
- Analyze load test results using the Load Test Analyzer