I tried creating a test plan as explained here. But the only problem I am facing is each HTTP request recording the ServerName or IP, so if I change the server name from "HTTP Request Defaults", all HTTP request is not getting modified. Are there any ways to over come this issue?
The Test Script Recorder in JMeter is designed to record such scenarios. So, your JMeter works like a proxy with the help of the HTTP(S) Test Script Recorder. A Proxy is a component which inserts between you and the remote server. It is similar to a man-in-the-middle attack but in this case, you are spying on yourself.
Recording Controller: JMeter can record your Testing steps; a recording controller is a placeholder to store these recording steps.
In the future, create the "HTTP REQUEST DEFAULT" item BEFORE RECORDING, and fill in your server name and protocol into the Default Request. This will keep the domain from being populated in every recorded request.
When you add each HTTP Request Sampler
to the Thread Group, you can leave the Server Name or IP
and Port
fields blank. It will take these from the HTTP Request Defaults
If these were filled from recording, then the only way is to delete them from each sampler screen of the recorded jmx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With