문제

I am trying to send HTTP request through HTTP sampler to linux server (Red Hat), in local intranet environment.

HTTP SAMPLER REQUEST

I am getting this exception in Response Data

RESPONSE DATA

Please guide me. Regards

도움이 되었습니까?

해결책

It looks like that your JMeter isn't capable for establishing connection. If you can access this site with a browser you're behind a proxy.

There are 2 options on how to record scripts from behind a proxy:

  • Run JMeter specifying proxy host, port, username and password as follows:

    jmeter -H (IP address or hostname of your proxy server) -P (port of your proxy server) -u (username, if required) -a (password, if required)
    

Example: jmeter -H 10.10.10.1 -P 3128

  • Use JMeter Extension for Google Chrome. In this case you won't need to care about proxies, certificates, headers, etc. and will be able to record tests to .jmx files right from browser.

다른 팁

First ping the host; you are trying to connect. If ping working try telnet <80> ... It is a network issue.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top