Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

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 <argument>
            Set a proxy server for JMeter to use
    -P, --proxyPort <argument>
            Set proxy server port for JMeter to use
    -N, --nonProxyHosts <argument>
            Set nonproxy host list (e.g. *.apache.org|localhost)
    -u, --username <argument>
            Set username for proxy server that JMeter is to use
    -a, --password <argument>
            Set password for proxy server that JMeter is to use
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.