Hello Bob,

Thanks for you feedback. It is already done: my server runs on IP 127.0.0.1 and 
port 9443.
These values are set in HTTP Request Defaults (in HTTP Request these values are 
empty)
Externally my server is available via https://myhost.com
I'm running JMeter internally and want to keep it this way.
In order to emulate external traffic I need to pass Host header with value 
'myhost.com:443'.
If I define such header in HTTP Header Manager the value gets replaced to 
'myhost.com:9443'.
I'm asking how can I configure Host header correctly.
It was an old discussion about this 
http://jmeter.512774.n5.nabble.com/How-to-override-Host-header-td4295391.html 
but it was only about customizing hostname and that is works, what does not 
work is port customization.

-- 
Best regards,
 Aliaksei                            mailto:[email protected]

Friday, July 31, 2015, 7:30:01 AM, you wrote:

> Add "HTTP Request" and define any host, port you want. Here is 
> documentation 
> http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request

> On 31/07/15 17:15, Aliaksei Ilkiu wrote:
>> 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>
>>


> ---------------------------------------------------------------------
> 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]

Reply via email to