Reputation: 11
I am trying to send the http request using our proxy server (hitting requests to access some content that should go through our proxy server) through JMeter for which I'm using HTTP Recording Controller, but I'm unable to get the response code 200
I have tried the test script recorder in Jmeter, but couldn't get a proper response code(200)
Upvotes: 0
Views: 189
Reputation: 168002
If you're trying to record the test script and your organization is using a proxy server which is required to access the system under test - you need to make JMeter aware of this proxy server by either providing proxy details as command-line arguments:
jmeter -H your-proxy-host -P your-proxy-port -u username -a password
or via corresponding JMeter system properties
http.proxyHost=your-proxy-host
http.proxyPort=your-proxy-port
https.proxyHost=your-proxy-host
https.proxyPort=your-proxy-port
additionally you might need to specify http.proxyDomain
property in case of domain authentication
Upvotes: 0