0

I am accessing some external sites using company proxy server.

In order to record this using Jmeter, I have to change proxy settings to local host.

Due to this, I am unable to record those sites with Jmeter.

Can anyone help me resolve this issue?

IAmMilinPatel
7,7667 gold badges44 silver badges68 bronze badges
asked Aug 2, 2019 at 10:33

2 Answers 2

1

You point jMeter proxy settings to your company proxy and your browser proxy to the local jMeter instance.

Gets you a flow like: Browser -> jMeter -> Company Proxy -> Internet

If you are testing from behind a firewall/proxy server, you may need to provide JMeter with the firewall/proxy server hostname and port number. To do so, run the jmeter[.bat] file from a command line with the following parameters:

jmeter -E https -H my.proxy.server -P 8000 -u username -a password -N localhost

Read more at https://jmeter.apache.org/usermanual/get-started.html#proxy_server

Also see: https://stackoverflow.com/questions/16669947/how-to-set-proxy-for-jmeter-from-behind-another-proxy

answered Aug 2, 2019 at 13:46
0

Niels van Reijmersdal has already given a very good suggestion.

Apart from that if you wish to record the requests you make via your browser, a good option is to use Blazemeter (It is an extension of Google Chrome browser).

With Blazemeter you can record all the websites/links you surf in your chrome browser. Each HTTP(S) request made from your browser and your actions performed are recorded in a test plan.

You can save this test plan and also download it as a JMX file (this is the file format of a Jmeter Test Plan).

You can then open this JMX file in Jmeter to edit and also run your tests.

answered Jun 18, 2022 at 6:16

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.