Create a JMeter Test
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, 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, 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
Step 1: Write and test your script in JMeter
You can create your script manually in JMeter or automatically by recording your scenario in:
- BlazeMeter Chrome Extension
- BlazeMeter Proxy Recorder
- Apache JMeter HTTP(S) Test Script Recorder
For additional guidance on how to create and test your script in JMeter, see Step 1 and Step 2 in the Calibrate a BlazeMeter test guide.
Step 2: Upload your JMX and tests assets
Follow these steps:
- In the main menu, click the Performance tab.
- Click Create test.
- Select a project.
- Click Performance Test.
- Click + to upload your JMX script and any additional test files, such as CSV or JAR files, or 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 created a Scenario Definition. For more information, including what to do if your file fails validation, see Scenario Definition and Uploading Files.
Step 3: Calibrate your test
Before running your test at load, you must calibrate your test according to the Calibrating a BlazeMeter test guide. Configure your test options and set up overrides in preparation for running your JMeter Performance Test at full load.
Step 4: Run your test
Click Run Test. You can also click Debug Test to validate your test configuration. For more information about debugging, see Debug Test: Low-Scale test run and enhanced logging.
When your test begins, a report of test results shows, beginning with the Summary Report.
Additional test options
There are optional settings to further enhance testing. For more information, see: