Unanswered question

Usage of Ports between controller and Load Generator

Dears,

I request clarity on below log details seen in LOGS TAB of Neolaod results post a test completion.

2019/11/19 21:00:11 INFO - neoload.LG_INFO: Starting LoadGenerator Version 7.0.2 ;build=20190924-58
2019/11/19 21:00:11 INFO - neoload.LG_INFO: OS Version: amd64 - Windows 10 - 10.0
2019/11/19 21:00:11 INFO - neoload.LG_INFO: JVM Version: Oracle Corporation - 1.8.0_112 - Java HotSpot(TM) 64-Bit Server VM - Xmx= 1431830528 bytes
2019/11/19 21:00:11 INFO - neoload.LG_INFO: Sockets Tuning information: MaxUserPort registry key not found;TcpTimedWaitDelay registry key not found;
2019/11/19 21:00:11 INFO - neoload.LG_INFO: ALPN boot status: present
2019/11/19 21:00:12 INFO - neoload.LG: Registered to Agent. Port 53312
2019/11/19 21:00:12 INFO - neoload.LG: Launching inbound connection listener on port:58471
2019/11/19 21:00:12 INFO - neoload.LG: Connection established with the Controller localhost:7100:58471
2019/11/19 21:00:12 INFO - neoload.LG_INFO: WAN Emulation: enabled
2019/11/19 21:00:13 INFO - neoload.LG: Connection established with the Controller localhost:7100:58471
2019/11/19 21:00:13 INFO - neoload.LG_INFO: Jetty ThreadPool configuration: MinThread=20; MaxThread=20000; IdleTimeoutMs=10000; QueueSize=6000

As I understand the port 7100 is used to connect to the load generator agent. However I see ports 53312 and 58471. What are they? How they are used here? What is the port that controller uses and what is the one that Load generator uses.
Please clarify. Thanks in advance,

Harish N.
Harish N.

Harish N.

Level
1
111 / 750
points

Answers

These two ports 53312 and 58471 are random local port used between agent and load generator processes. they do not matter.

What matters is the communication between controller and LG using port 7100 on LG side.

Harish N.
Harish N.

Harish N.

Level
1
111 / 750
points

Ok; thanks for the clarification. From these log details,how to confirm if this connection is established between the controller and load generator? I understand that the user path has executed and is not failing stating that load generator localhost:7100 is unavailable. However , till want to confirm from the log info.

I'm not sure to understand your concern. If you see that logs with the last information "Connection established with the Controller localhost:7100:58471" that means that the LG started and the controller/LG communication worked.

If you get sometimes the "localhost:7100 is unavailable" when you start a test or a checkvu then it probably means that your LG process is taking too much time to start. Usually it happens when an antivirus is slowing down the starting of the LG process (java.exe). The controller waits only 20s and they raised such error.