Venkat Sadasivam
Venkat Sadasivam

Reputation: 1464

How to avoid JMeter recording server name or IP in each HTTP Request node?

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?

Upvotes: 5

Views: 2835

Answers (2)

BlackGaff
BlackGaff

Reputation: 7707

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.

Upvotes: 6

JoseK
JoseK

Reputation: 31371

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

Upvotes: 1

Related Questions