When running 1 Vuser on the Controller against localhost, the following error occurs even though the script replays fine in VuGen:
Error: -27778 : Action1.c(xx): Error: SSL protocol error when attempting to read with host "abcd.com"
Action1.c(xx): t=82568ms : error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac
Consider the following possible workarounds to this intermittent SSL error when replaying a LoadRunner scenario:
1. Add the following statement to the beginning of the script:
This forces the SSL connection to the server to use version 3 of the SSL protocol rather than letting the server suggest a version during the connection handshake.
2. Add the following statement to the beginning of the script:
This forces a single TCP connection from the Load Generator to the server under test, 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 the LoadRunner Controller Web Page Diagnostics if there is a proxy server located between the Load Generator and the server under test. To disable Web Page Diagnostics from the LoadRunner Controller:
a. In the LoadRunner Controller Design tab go to Diagnostics->Configuration
b. Select "Disable" tab for "Web Page Diagnostics"
c. Click "OK" to close the diaglogue to complete the setup
d Save the scenario and run it
Note, this workaround removes the Web Page Component Breakdown data from a subsequent Analysis session using Graph -> Add New Graph -> Web Page Diagnostics.
4. If none of the above helps, then use the WinInet Replay engine. To do so, go to Run-Time Settings -> Preferences -> Select "WinInet Replay Engine instead of Sockets (Windows Only)."