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 (here's an example of this using Postman: https://www.getpostman.com/docs/v6/postman/sending_api_requests/proxy)
- Launch HTTP(S) Test Script Recorder
- Run the test script
- Finalize the script saved in JMeter
BlazeMeter Chrome Extension
If the preceding solution does not suit you, you can use the BlazeMeter Chrome extension (https://chrome.google.com/webstore/detail/blazemeter...