tags:

views:

38

answers:

2

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?

+1  A: 

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

JoseK
You can also open the JMX file in a text editor and do a "find replace all" to clean up your script if you have a lot of requests. Create a back up file first.
BlackGaff
+1  A: 

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.

BlackGaff