Getting Started - JMeter
Follow this guide for a basic example of running a JMeter test plan. For our example we will use a really simple test plan which simply makes an HTTP GET request for http://sample.testable.io/stocks/IBM. The test plan can be found here.
Start by signing up and creating a new test case using the New Test Case button on the dashboard or Test Case -> New... in the left side panel.
Enter the test case name and then press Next.
Select JMeter Test Plan as the Scenario type.
Click the Add/Update files button to upload the Test Plan (.jmx) file. For more complex tests you can upload any test related file here (e.g. CSV data, plugin jars, jmeter properties file, etc).
Click the Smoke Test button in the upper right to run your test plan with 1 thread and 1 iteration on a Testable test runner. The output of the run will show up in the Smoke Test Output once it finishes.
And that's it, we've now defined our scenario! Click on the Configuration tab or press the Next button at the bottom to move to the next step.
Now that we have the scenario for our test case we need to define a few parameters before we can execute our test:
- Load Profile: Select Flat to ramp up to a constant number of concurrent users for the test.
- JMeter Instances Per Region: Number of JMeter instances that will execute your JMeter test plan in parallel in each region selected. Control test duration/iterations from within your JMeter test plan's thread group parameters.
- Test Runners: Choose the test runners from which to run this test (e.g. on our public shared grid). Each test runner region will execute the number of JMeter instances defined above.
And that's it! Press Start Test and watch the results start to flow in. See the new configuration guide for full details of all configuration options.
For the sake of this example, let's use the following parameters:
Once the test starts executing, Testable will distribute the work out to the selected test runners (e.g. Public Shared Grid in
AWS N. Virginia).
In each region, the Testable runners execute 2 JMeter instances. Our example test plan runs for 5 minutes with 5 threads.
You can see various graphs, metrics, and grids in the results. If you click on any resource in the results grid, the charts below will update to be specific to that resource only.
Check out the JMeter guide for more details on running your JMeter tests on the Testable platform.
We also offer integration (Settings -> Integration) with third party tools like New Relic. If you enable integration you can do more in depth analytics on your results there as well.
That's it! Go ahead and try these same steps with your favorite website or API and feel free to contact us with any questions.