web_set_sockets_option("SSL_VERSION", "TLS") required to run scripts
I'm trying to create a script and have ran into a problem. When I try to log into my application it simply redirects me to my log in page. I try to play this script back but I receive the error:
vuser_init.c(12): Error -27778: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "la.ac.local" failed:  Connection reset by peer [MsgId: MERR-27778]
vuser_init.c(12): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s) [MsgId: MWAR-26200]
When I place the command line web_set_sockets_option("SSL_VERSION", "TLS") at the top of my script and run it the script is able to log in. It would be useful to know a way to have this command line at the top of my script before I start recording and not be overwritten once I start recording.
I have already tried recording options > mapping and filtering > options > SSL Version TLS I have tried all of the TLS options and disabling auto SSL detection with Socket level and Wininet in many many different combinations but I still cannot log in or run the script doing so. It is only the command line that fixes my problem yet I cannot progress with my script without being logged into the application, which is only do-able by inserting the command line post recording.
Does anyone know a work around to prevent the manually inserted command line from being overwritten?
Re: web_set_sockets_option("SSL_VERSION", "TLS") required to run scripts
Keep the above command in vuser_init()..& always re-record anything in Action().
Or if you want this line at the top of your script while new recording, do below settings"
go to recording options -> Port mapping -> Select Socket Level Data option -> go to options -> check enable auto ssl detection.
This will add the above command line at the top of your script each time.