Hello Team,
On replay of a user path, its found that load generator is not available. During the script generation itself, upon scanning for dynamic parameters, same error is seen.
1. A java process is seen in TaskManager when user path is started
2. set | find "JAVA" returns Nothing
3. port 7100 is in Listening mode
Please help with a resolution
How long does it take to get that error? Is it immediate or it takes around 20s?
Does it happen all the time whatever the project used or is it a sporadic issue?
Hi Nouredine, Many thanks for coming back.
It takes around 20 seconds to get the error.
One java process get started as soon user path is started for replay; but then it automatically gets stopped after a while and I see the error in Neoload that localhost:7100 is unavailable.
Before increasing the delay time from 20 seconds (in agent.properties) file, I would like to seek help from you to verify if the program is getting blocked from Windows defender firewall or not. Please assist.
You can download port query and check the port is reachable on the LG, or do a telnet <LG IP> 7100.
If you want to check the agent has started, on the LG, do a netstat -ano | find “7100”
If you see the JAVA process started then it means that the LG is not blocked. But it may be slow down by antivirus. Check the CPU usage of all processes when starting the checkvu espcially the antivirus processes if any. Do you see CPU activities for the LG java.exe process?
Try to increase the delay to 60s to see if finally it is able to complete the starting or not.
Hi Neil and Nouredine, Thank you for coming back.
I have tried to analyse that you two have suggested and attached these observations.
I don't have write permissions in the installation directory and hence the I cant delay the lg.start to 60 seconds and verify.
Please clarify if it's absolutely necessary that user has full write permission on the tool installation folder?
Please help as this is very critical for us to proceed.
I didn’t see any attached observations. Try copying the file to your desktop, make the changes there and the copy it back to the original location, replacing the original file
Hi, Sorry here is attachment. Please go through it.
I have tried copying the agent.properties file to another location and copy it back to the installaed folder. It is not possible as I don't have the write permissions on that directory.
Please clarify if below 2 are pre-requisites for Neoload to execute a user path
1. Windows firewall and anti virus to be turned off
2. To edit the properties file, read - write access is required. Hence there will be circumstances when this would be required
I'm not seeing the attachment, it may be the format, try zipping it? port 7100 needs the be open between the controller and load generator machine but as you see the java process starting on the LG and your earlier checks were successful I assume this is done. The changes to files in program files are needed only when you need to tweak certain settings. Most of the time no changes are needed.
Thank you for being on top of my requests.
I have tried adding attachments in zip format. The website is not accepting the types.(zip and 7z).
Please clarify how to check if something is blocking the program
windows defender firewall, anti virus software?
Also t]he command netstat -ano | find "7100" shows that Neoload process is using 7100 ports with 59219 and 59220 with "established" status
Did you run this on the LG machine? if so I'm surprised to see 2 different PID numbers (don't worry about the port, I'm just using 7170)
The output from command prompt is below
C:\Users\n8deej2>netstat -ano | find "7100"
TCP 0.0.0.0:7100 0.0.0.0:0 LISTENING 11824
TCP XYZ:7100 XYZ:59219 ESTABLISHED 11824
TCP XYZ:7100 XYZ:59220 ESTABLISHED 11824
TCP XYZ:59219 XYZ:7100 ESTABLISHED 11824
TCP XYZ:59220 XYZ:7100 ESTABLISHED 11824
TCP 127.0.0.1:7100 127.0.0.1:59228 ESTABLISHED 11824
TCP 127.0.0.1:59228 127.0.0.1:7100 ESTABLISHED 11824
TCP [::]:7100 [::]:0 LISTENING 11824
Also I don't see any process LoadGeneratorAgent in Task Manager when I start the vuser path. Only 2 java process is seen out of which 1 gets stopped after some time