Problem Statement: Now as most of the sites are
migrating to HTTPS; during replay of these application(s) / sites you might see
some errors as mentioned below; you can follow the solutions given to resolve
the same.
Solution:
Solution:
Below are a list of
Errors encountered and their resolutions for the same:
Error: "--27776: Server
"[server_name]" shut connection during attempt to negotiate SSL
session"
To resolve this issue, you can reduce the amount of
connections simultaneously opened to a Web server by using the following
statement in the script:
web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1");
Also, make sure that Keep-Alive is set to
"No." This setting can be found via Run-Time Settings ->
Preferences -> Options -> Keep-Alive HTTP Connections.
Error: "Error -27781 Timeout in state
STATE_SSL_CONNECT "
Error: -27778 : SSL protocol error when attempting
to read with host
There are some possible work-around for the above 2
errors, you need to check which one (or combination) works for you:
1. Add the following statement to the beginning of
the script:
web_set_sockets_option("SSL_VERSION",
"3");
You can check the SSL Version in your recording log
of the script, it can be TLSv1.1 / 1.2 or SSL3; accordingly you can change the
command mentioned above.
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.
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
diaglogue to complete the setup
4. If you have generated your script using WinInet
options then use the WinInet Replay engine. To do so, go to Run-Time Settings
-> Preferences -> Select "WinInet Replay Engine instead of Sockets
(Windows Only)."
Error: "SSL State: error in SSLv3 write client
certificate B..." while replaying in Socket mode
Error: "SSL protocol error when attempting to
connect with host" while replaying a Web protocol script
Add all of the certificates in the certificate
hierarchy for the SSL certificate to a .pem file (e.g. certFile.pem) and
include this .pem file by adding the following line at the beginning of the
script:
web_set_certificate_ex(
"CertFilePath=certFile.pem", "CertFormat=PEM", ...LAST);
web_set_sockets_option("LOAD_VERIFY_FILE",
"certFile.pem");
Error -27791 : "server name" has shut
down the connection prematurely
To Resolve this, you can try adding the below
command:
web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1"); at the very beginning of the script.
If you still get the same error then you can try
the below command (add it after the previous one):
web_set_sockets_option("IGNORE_PREMATURE_SHUTDOWN",
"1")
Error: SSL protocol error when attempting to
connect with host "xxx"
Try to check the certificate and connection using
openssl with this sentence from CMD:
openssl s_client -connect :2443
or
openssl s_client -connect :443
This will show the certificate information. If not,
application has a certificate problem and need to check with application owners
/ server admins.
Best selenium online training institute `
ReplyDeleteGreat post. Needed to write simple word that Thanks for suggestions. Keep it up! best sap simple finance online training institute in hyderabad
ReplyDeleteI just stumbled over this page and have to say - wow. The site is really good and kept up to date. Continue like
ReplyDeleteRDVV BCOM TimeTable 2020
UOK BCOM TimeTable 2020
Hey! Mind-blowing blog. Keep writing such beautiful blogs. In case you are struggling with issues on QuickBooks software, dial QuickBooks Support (877)603-0806. The team, on the other end, will assist you with the best technical services.
ReplyDeleteHey! Nice Blog, I have been using QuickBooks for a long time. One day, I encountered QuickBooks Support Number in my software, then I called QuickBooks Support Number They resolved my error in the least possible time.
ReplyDeleteHey! Well-written blog. It is the best thing that I have read on the internet today. Moreover, if you are looking for the solution of QuickBooks Customer Service, visit at QuickBooks Phone Number to get your issues resolved quickly.
ReplyDelete
ReplyDeleteThis Blog have relevant information’s and reference links which not get bored to the readers.
What is Digital PR?
PR in Digital Marketing
Hey! Lovely blog. Your blog contains all the details and information related to the topic. In case you are a QuickBooks user, here is good news for you. You may encounter any error like QuickBooks Error, visit at QuickBooks Customer Service Number for quick help.
ReplyDeleteGreat work! It is the best thing that I have read on the internet today. Moreover, If you encounter any error while working on QuickBooks software , do contact this QuickBooks Customer Service Number (855)963-5959 number for quick assistance.
ReplyDeleteHey! Mind-blowing blog. Keep writing such beautiful blogs. In case you are struggling with issues on QuickBooks for MAC Support , dial QuickBooks Support Phone Number (602)325-1557. The team, on the other end, will assist you with the best technical services.
ReplyDeletenice blog.We provide best quickbooks customer service you can reach us at.+1 888-210-4052
ReplyDeleteAwesome bolg.if you looking for a best quickbook customer service you can contact us on phone call.+1 888-272-4881
ReplyDeleteNice & Informative Blog !
ReplyDeleteIn case you face any technical issue in QuickBooks, call us at QuickBooks Customer Service Phone Number +1 346-414-8256and get feasible solutions for QuickBooks problems.
This comment has been removed by the author.
ReplyDeletegood contant!! we provide bestest service and you are looking for QUICKBOOKS SUPPORT SERVICE SUPPORT. you can contact us at.+18555484814
ReplyDeleteGood content!!
ReplyDeleteif you want to a best service so go to Quickbook support serviceyou can contact us at.+1 888-210-4052
Good blog. Here is mastery about yoga yoga , yogainfo , meditational basics , yoga benefits , types of yoga , - theyogainfo.com you reach us at
ReplyDeleteAwesome bolg. Keep calm your Mind anwith peaceful Yoga and regulate it with peaceful yoga Suryanamaskar. meditation basics yoga , yoga benefits , types of yoga , yoga history , health benefit yoga , yoga pose , yoga asanas - theyogainfo.com you reach us at
ReplyDeleteIt`s a very good blog. Start your day from Suryanamaskar to make day Energetic. meditation basics yoga , yogainfo, theyogainfo.com you reach us at
ReplyDeleteI find it useful is the ability to call Quickbooks phone numbers for help. This can be done by dialing Quickbooks Support Phone Number +1 8555644161. When you do, you will reach the customer service team, who will be able to provide assistance with any question or issue that you may have.
ReplyDeleteThanks for sharing Nice blog. blog. Here is mastery about yoga Yoga, yogainfo , Female fitness,you reach us at
ReplyDeleteWhen you you are using Quickbooks Software then many type error may occurs at this time so you should call at quickbooks support phone number
ReplyDelete