First, please review our guide on Creating a Performance Test, which will give you an overview of the broader Performance Test options (of which JMeter is only one), as well as the advanced options available in the UI.
Apache JMeter is an open source load testing tool that enables you to execute performance tests on your app or website. To run a load test, you need to create a script that will detail the steps of your testing scenario and then run it. You can run your JMeter script locally on JMeter, or in the Cloud or from behind a firewall on BlazeMeter. This article will take you through an overview of running a JMeter test on BlazeMeter.
- Write and Test Your Script in JMeter
- Upload Your JMX and Test Assets
- Calibrate Your Test
- Run Your Test
- Additional Test Options
There are various ways to create your script, either manually from scratch in JMeter, or automatically by recording your scenario via the BlazeMeter Chrome Extension, the Blazemeter Proxy Recorder, or the JMeter HTTP(S) Test Script Recorder.
For some additional guidance on how to create and test your script in JMeter, please go through Step 1 and Step 2 in our Calibrating a BlazeMeter test guide.
You can start creating your JMeter test by clicking on the "Create Test" button on the top navigation bar, then click "Performance Test".
Next, use the plus (+) button to upload your JMX script and any additional test files, or simply drag the files over the "Upload Script" box.
- All the files in your account are downloaded to the remote servers at the beginning of each test.
- Files from the original test configuration may be updated or deleted at any time. Doing so will not impact a test while it's running.
You've now created what's called a Scenario Definition -- Click that link for more details, including what to do if your file fails validation. Please also review our guide on Uploading Files & Shared Folders for more details..
Step 3: Calibrate Your Test
Before running your test at load, you must first calibrate your test by following the full process outlined in our Calibrating a JMeter Test guide. This guide will walk you through configuring your test options and setting up overrides in preparation for running your JMeter Performance Test at full load.
CAUTION! Take care not to skip this required step, because if you don't calibrate, you may very likely see your test fail, hang, or terminate early due to overloading the engine's available CPU or memory.
Once your test is properly calibrated, start the test by clicking "Run Test". You can also click "Debug Test" to validate your test configuration. (Click here to learn more about debugging tests.)
In addition to the required settings above, there are a number of optional settings to further enhance testing. Click on any of the additional options below to learn more about it: