Step 1: Create a Test Case
Make sure you sign up for a Testable account first. After logging in click the New Test Case button, give it a name, and specify the URL (
http://sample.testable.io/stocks/IBM in our example).
Click Next and select Run JMeter Test Plan as the Scenario Type.
Step 2: Upload Test Plan
Click on the Add Files button and upload the test plan to your test case.
Step 3: Configure the Load Test
Now that we have defined our test scenario, let’s configure how we want to execute it at scale on the Testable platform.
Each Iteration of a Concurrent Client of the test will execute your JMeter test plan, using whatever Thread Group Parameters are defined in the plan, in parallel. Note that this behavior can be overridden but is beyond the scope of this post (see our documentation for more details).
In our example test plan the Thread Group Parameters specify 5 threads, using a loop controller, with 10 loop iterations. So if had 10 Testable Concurrent Clients then we would have 50 total threads (10 test plan executions * 5 threads each). If we wanted 100 total iterations we would specify 10 Testable Iterations since the test plan has 10 iterations built in. It’s up to the user to decide whether you want Testable or JMeter handling the concurrency and iterations. Since having many JMeter instances running carries overhead, it is usually preferable to let JMeter handle the concurrency and run fewer Testable Concurrent Clients.
In our case let’s target 10 threads and 50 iterations in 3 regions overall. This means the following Testable parameters:
- Concurrent Clients Per Region = 2
- Type = Iteration
- Iterations = 5
- Regions = AWS N Virginia, AWS Oregon, and AWS Singapore
Click the Start Test button and your test is off and running! Congratulations you have officially created and run your first JMeter test. Now let’s look at analyzing the results.
Step 4: View the Results
By now you should see results flowing in as the test executes. The default dashboard will show a summary, results grid, and several graphs of the system captured metrics. Checkout this guide to customize your dashboard.
For a more advanced example, take a look at another one of our blog posts.