Reputation: 438
I am trying to do a stress test to a localhost server. i have configured the HTTP Request Defaults correctly, image attached. The View Results tree panel shows that JMeter is trying to send the request to ${host}. I am using v 3, the current latest release. Please help.
Upvotes: 0
Views: 612
Reputation: 167992
HTTP Request Defaults are really defaults.
Server Name or IP
input for you "Home Page" request blank - the value will be picked up from the HTTP Request Defaults Server Name of IP
with something else - in your case with ${host}
- default value will be discarded. So all you need to do is go to your "Home Page" HTTP Request Sampler and delete ${host}
from the Server Name or IP
input.
Detailed information: Why It's SO Important To Use JMeter's HTTP Request Defaults
Upvotes: 1
Reputation: 443
Try replacing "${host} " with actual hostname.
If you are using ${host} then you have to provide the values to it using CSV Config File or some other means.
Go through the link http://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config
Upvotes: 0