Quantcast
Viewing all articles
Browse latest Browse all 12134

Winsock Protocol Script Issue

Hi All, 

 

We have a Client Server Application from Oracle called RPAS. We need to do the performance testing of the application. Winsock protocol identifed for the scripting. 

 

I was able to record the script successfully and was also able to run it successfully couple of times but  later on i started getting the below failure. 

 

vuser_init.c(37): lrs_create_socket(socket2, TCP, ...)
vuser_init.c(37): Error : callConnect - Connection refused. Error code : 10061.
vuser_init.c(37): Error : Timeout expired while trying to connect. Error code : 9017.

 

 

On the further analysis i understood, after authenticating the user, applications opens a connection to database on a specific port number. This port number is dynamic value which can range between 1025 to 50000. This port value is hard coded in the script. I looked at all the response before this step but couldn't find port value coming as a response from the server so that i can correlate it. 

 

Have you ever faced this situation? Could you please help me with the issue? 

 

 

Please find attached the Action.c, data.ws and replay log where it has successfully completed. In this log, application makes connection to DB using 1025 port. When the 1025 port is not available, application allocates another dynamic IP and at this point script fails.

 

 

Regards,

 

Ashutosh

 

 


Viewing all articles
Browse latest Browse all 12134

Trending Articles