Re: VUGen Script & Password Encoder (399 Views)
Reply
Frequent Advisor
Andre L.
Posts: 66
Registered: ‎12-28-2006
Message 1 of 3 (399 Views)

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

Frequent Advisor
Andre L.
Posts: 66
Registered: ‎12-28-2006
Message 2 of 3 (399 Views)

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.
Frequent Advisor
Andre L.
Posts: 66
Registered: ‎12-28-2006
Message 3 of 3 (399 Views)

Re: VUGen Script & Password Encoder

Closing
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.