I'm new to jmeter.
I'm trying to test a web app using proxy server.
I have gone through the jmeter docs and got the settings but I'm currently working under company proxy.
So how can I set the proxy server for jmeter from behind the current proxy?
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: -E.
Start JMeter. Add a Thread Group by right-clicking on Test Plan and navigating to Add | Threads (User) | Thread Group. Add the HTTP Proxy Server element by right-clicking on WorkBench and navigating to Add | Non-Test Elements | HTTP Proxy Server. Change the port to 7000 (under Global Settings).
Read :
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/jmeter file from a command line with the following parameters: - '-H' [proxy server hostname or ip address] - '-P' [proxy server port] - '-N' [nonproxy hosts] (e.g. *.apache.org|localhost) - '-u' [username for proxy authentication - if required] - '-a' [password for proxy authentication - if required]
Example :
jmeter -H my.proxy.server -P 8000 -u username -a password -N localhost
Alternatively, you can use --proxyHost, --proxyPort, --username, and --password
If you're looking to learn jmeter correctly, this book will help you.
Change Port and Proxy on JMeter 5.0
UI Mode
Non UI MODE
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With