apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
7.97k stars 2.02k forks source link

Confusing instruction in jmeter.properties file #6226

Open matswiderski opened 4 months ago

matswiderski commented 4 months ago

The documentation URL

https://jmeter.apache.org/usermanual/remote-test.html#tips

Feedback

The documentation says: These ports can be controlled by jmeter property called client.rmi.localport in jmeter.properties. If this is non-zero, it will be used as the base for local port numbers for the client engine. At the moment JMeter will open up to three ports beginning with the port defined in client.rmi.localport.

And instruction in jmeter.properties file says: If you specify a base port, JMeter will (at the moment) use the ports that start one after the given base. You may need to open Firewall port on the Controller machine client.rmi.localport=0

Let's say I set the client.rmi.localport to 20012, then according to the instruction the port that should be correct is 20013. Unfortunately, it is not. After running the tests and checking the ports in Resource Monitor, it turned out that Java uses ports 20013 and 20014. So it seems to me that it is rather as written in the documentation.

I also have questions: