| || |
login in a website which ask for digital certifica
I am testing a website ,in webload 7.3,in which after entering the user id and password it ask for a digital certificate. i have already downloaded the required certificate in my desktop.
A popup window comes which shows me the list of certificates,among which i have to choose the required one.
After choosing the certificate only i can proceed forward.
The problem is webload is not recording this step, since i suppose its happening in client side.I have even tried using the function 'wlGlobals.sslClientCertificateFile'. But in playback on encountering this function it gives the error- 'error occured while negotiating..........SSL data not found....'
Please somebody help......
Note : attaching the script
Re: login in a website which ask for digital certifica
WebLOAD supports use of SSL client certificates by supplying the certificate filename and password to the SSL server. SSLClientCertificateFile and SSLClientCertificatePassword are the filename (optionally including a directory path) and password of a certificate, which WebLOAD makes available to SSL servers. When the Agenda issues an HTTPS Get, Post, or Head command, the server can request the certificate as part of the handshake procedure. In that case, WebLOAD sends the certificate to the server, and the server can use it to authenticate the client transmission.
You may set client certificate values using the wlGlobals properties.
please record from AAT and add this script
wlGlobals.SSLProperty = "TextString"
wlGlobals.SSLClientCertificateFile = "c:\\certs\\cert1.pem"wlGlobals.SSLClientCertifica tePassword = "topsecret"