Absent Member.
Absent Member.

Stuck in Gradual Exiting

As I am completing a scenario with 50 users, during the ramp down, things gets hairy. When it gets down to 20 "Gradual Exiting" It just hangs there and give me a timeout error. Seems like the first 30 stop fine. It is ALWAY the las 20. 


The Error:

LOAD.c(184): Error -27781: Timeout (1000 seconds) exceeded in state STATE_SSL_CONNECT for URL "https:/**************.com"

1 Reply
Honored Contributor.
Honored Contributor.


Please try the following workarounds:

1. Add the following statement to the beginning of the script:
    web_set_sockets_option("SSL_VERSION", "3");

This forces the connection to the server to a particular protocol rather than letting the server suggest one during the connection handshake.


2.Add web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1"); at the very beginning of the script. This forces a single connection to the server thus eliminating the possibility of the server prematurely shutting down an existing connection and causing errors when LoadRunner sends data using that connection.

It has been found that changing the number of open connections does not cause a significant change in performance. Performance issues are more likely to be caused by other factors such as network congestion at a router/switch/hub than by the number of maximum connections allowed.


3. Disable webpage breakdown if HTTPS protocol (SSL) is being used and there is a proxy server in-between the client (LoadRunner) and the server under test. To disable webpage breakdown from the Controller:
   a. Go to Diagnostics->Configuration.    

   b. Select "Disable" tab for "Web Page Diagnostics"   

   c. Click "OK" to close the dialogue to complete the setup

4. If none of the above helps, use the WinInet Replay engine. To do so, go to Run-Time Settings -> Preferences -> Select "WinInet Replay Engine instead of Sockets (Windows Only)."



The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.