Proxy setting for JMeter simply shows error page



  • When I set the proxy setting in a browser as 127.0.0.1:8080 then I am able to run the JMeter recorder for the project I am running using JBoss server from my system only that is ok and doing enough.

    Now, when I try to use google or some other site it simply shows error page even for other web app. I am attaching proxy set image, please tell me how to use JMeter using proxy setting form application whose server is on some other address or location (in short, not from my system/JBoss)enter image description here



  • I believe that you need to remove localhost and 127.0.0.1 from "No Proxy For" input in your Firefox configuration.

    As per HTTP Proxy Server guide the idea of recording is pointing your browser to hit application under test through JMeter Proxy.

    By default JMeter proxy is running on localhost on port 8080. Your configuration assumes not using proxy for localhost/127.0.0.1 and 100.8.125.84 address.

    If your organization uses proxy for internet access - you'll need to tell JMeter to use this proxy as well in order to be able to access the Internet.

    It can be done via command line arguments as follows:

       -H, --proxyHost 
                Set a proxy server for JMeter to use
        -P, --proxyPort 
                Set proxy server port for JMeter to use
        -N, --nonProxyHosts 
                Set nonproxy host list (e.g. *.apache.org|localhost)
        -u, --username 
                Set username for proxy server that JMeter is to use
        -a, --password 
                Set password for proxy server that JMeter is to use
    


Suggested Topics

  • 2
  • 2
  • 3
  • 2
  • 2
  • 2
  • 2
  • 2