LoadRunner Support Forum
Showing results for 
Search instead for 
Do you mean 

VUGen Script & Password Encoder

Frequent Advisor

VUGen Script & Password Encoder

[ Edited ]

I have created VUGen script and it is running fine. But I need to encrypt the password. Any help on this would be appreciated.

The script is an HTTP/HTML and the section of the code with the password looks like this:

web_submit_data("pkmslogin.form",
"Action=https://MySite.com/pkmslogin.form",
"Method=POST",
"RecContentType=text/html",
"Referer=https://MySite.com/jct05/Security/Logon",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value=UserName", ENDITEM,
"Name=login-form-type", "Value=pwd", ENDITEM,
"Name=password", "Value=Password", ENDITEM,
LAST);


How do I get the password to be encrypted?

 

P.S. This thread has been moved from Performance Center Support and News Forum to  LoadRunner Support Forum. -HP Forum Moderator

2 REPLIES
Frequent Advisor

Re: VUGen Script & Password Encoder

I found out what I was doing wrong. Hope this helps others.

If you take the line

"Name=password", "Value=Passwor", ENDITEM,

as an example. I was only highlighting the Password. This did not give me the option of encrypting. I found that I needed to highlight Value=test1234 then right click and select Encrypt string. In doing so I was able to encrypt and the script ran fine.
Highlighted
Frequent Advisor

Re: VUGen Script & Password Encoder

Closing