Wednesday, 2 September 2015

How to resolve "Server xxxx has shut down the connection prematurely" issue??

 Server xxxx has shut down the connection prematurely


Recently I was working on an application where I did load testing with around 350 Vuser and with 3 LGs. During the test I observed "Server xxxx has shut down the connection prematurely".
Note: XXXX refer the server name here
To fine tune the issue I found that this issue could be due to so may factors and we can take certain measures to resolve this issue out.
1. Over burdened LGs can cause the issue, so use more LGs.
2. Make sure all the users are not ramping up simultaneously and the rendezvous point not holding too many users.
3. Clear the temp directory from all the LGs and servers where loadrunner or It's components are Installed.
4. Make a note that there is no network blockage
5. Restart all the LGs, Controller machine and  the server, this may reduce the error.
6. You can use web_set_sockets_option("IGNORE_PREMATURE_SHUTDOWN", "1");
Use this function in your script and put in Vuser_Init section, This will not allow this error to come in the test.


LoadRunner Training in Bangalore
LoadRunner Training in Hyderabad
LoadRunner Online Training
LoadRunner Training in BTM
LoadRunner Training in Marathahalli
Best LoadRunner Training Institutes in Bangalore 
Best LoadRunner Training Institutes in India
Training Institutes in Bangalore

CONTACT:
8050148265
techvision.lr@gmail.com

No comments:

Post a Comment