LoadRunner - Support Tip: Clear Ports

 

When we talk about LoadRunner ports, sockets and web servers are involved as part of the environment settings and details.

Is important to grant that ports 443, 50500, 54345 and if the situation is associated with Web Tours it will require the ports 80 or 8080 and all of them need to be free.

In order to freeing the ports is possible to execute the next lines from the command line and after that run Web Tours sever or test using and reserving the mentioned ports in with the LoadRunner testing dynamic.

 

open cmd

 

type in netstat -a -n -o

 

find TCP [the IP address]:[port number] .... #[target_PID]# (ditto for UDP)

 

(Btw, kill [target_PID] didn't work for me)

 

CTRL ALT DELETE and choose "start task manager"

 

Click on "Processes" tab

 

Enable "PID" column by going to: View > Select Columns > Check the box for PID

 

Find the PID of interest and "END PROCESS"

 

Now you can rerun the server on [the IP address]:[port number] without a problem

Tags: