Being Productive with JMeter
Introduction
We have seen how to prepare environments and choose the correct use cases to load test. Now it's time to move on to scripting.
The scripting process can take a lot of time without:
- Good preparation
- Knowledge of best practices (recording and debugging)
- An understanding of the JMeter ecosystem
Good Practices When Recording a Script
Use the HTTP(S) Test Script Recorder Element
We saw in Chapter 1, Quick start with Jmeter, the use of HTTP(S) Test Script Recorder for the recording of our script by navigating on the target application. But we can go even further if a test script (whether it be for integration or functional) has already been created with tools such as:
- Postman (https://www.getpostman.com/)
- SoapUI (https://www.soapui.org/)
- Selenium (https://www.seleniumhq.org/)
- Swagger (https://swagger.io/)
All you need to do is:
- Configure the test tool to use a JMeter proxy ...