Hello Bob, I'm not sure how to pass header Host using HTTP Request Defaults. Can you share the example? In my HTTP Request Defaults I have <stringProp name="HTTPSampler.domain">127.0.0.1</stringProp> <stringProp name="HTTPSampler.port">9443</stringProp>
-- Best regards, Aliaksei mailto:[email protected] Friday, July 31, 2015, 7:10:21 AM, you wrote: > Is it mandatory to use "HTTP Header Manager"? Why don't you use "HTTP > Request" sampler or "HTTP Request Defaults"? > On 31/07/15 16:47, Aliaksei Ilkiu wrote: >> It seams to me that overwriting Host header by adding it into HTTP Header >> Manager works only partially: port gets overwritten to actual port. >> So how can I pass my value for port portion of Host header? >> >> Example: >> In HTTP Header Manager I added >> <stringProp name="Header.name">Host</stringProp> >> <stringProp name="Header.value">myhost.com:443</stringProp> >> >> But I see in View Results Tree >> >> GET https://127.0.0.1:9443/test.html >> >> [no cookies] >> >> Request Headers: >> Connection: keep-alive >> Host: myhost.com:9443 >> >> Tested with JMeter 2.13 r1665067 >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
