JMeter Integration
info
We currently recommend that you use Apache JMeter 5.3 with Test Evolve
Using the Test Evolve - JMeter integration from your within IDE
Instructions
- Open both your Test Evolve project and your JMeter instance.
- Start a new JMeter Test Plan with a “Recording” template.
- Hit “Start” within the JMeter recording controller and accept any temporary certificates.
- Within your IDE and Test Evolve project, open up your default_config directory and navigate to the browser.yml file.
- Set the JMeter key value to “true”.
- Select your Feature and Scenario to be tested - right click and execute that test.
- The test will complete and when switching back to JMeter, you can now stop the recording process. You will see a series of HTTP requests that have been captured representing the test flow in question.
- Scrolling through the requests, you will see the environment, the endpoints in question and the request types with payloads that have been used to call the endpoints.
- For subsequent performance test plan refinement - test attributes such as session management, load profiles, data injection, regex data capture for downstream requests etc, are all now managed within your newly created Jmeter jmx test plan.
- When you are happy with your recorded JMeter test plan, do not forget to set your JMeter key value back to “false”.
Demo
Recording Multiple Test Evolve scenarios to a single JMeter test plan
Instructions
- Adding multiple Test Evolve BDD scenarios to your JMeter test plan involves the creation of additional thread groups and recording controllers within JMeter.
- We then record BDD scenario execution against a specific JMeter recording controller for the test in question.
- Finally, JMeter thread groups should be renamed and reordered to provide sensible visual organisation within the plan.