Answer the question
In order to leave comments, you need to log in
Jmeter distributed testing. How to connect to a server behind NAT?
When configuring distributed testing, I ran into a problem connecting remote servers located behind NAT.
The node with the jmeter client has an external ip, all servers (3 pieces) are in different networks behind NAT without the possibility of direct port forwarding.
Decided to try an SSH tunnel.
On server:
> jmeter-server -Djava.rmi.server.hostname=127.0.0.1
> ssh -N -f -R 55500:127.0.0.1:55500 -R 55501:127.0.0.1:55501 -L 60000:127.0.0.1:60000 [email protected]_node_ip -p 5000
> jmeter -n -t testcase.jmx -l testcase.jtl -Djava.rmi.server.hostname=127.0.0.1 -r
accept: Too many open files
open failed: administratively prohibited: open failed
Write Failed: broken pipe
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question