How to parameterize an encrypted value in a LoadRunner script

How to parameterize a value that was recorded into a VuGen script encrypted.


lr_connect("value1", "value2", lr_decrypt("sadbasrjoqwrbqwrlqwrw"); where "sadbasrjoqwrbqwrlqwrw" is an encrypted value.

How can the user parameterize this value?

Parameterizing an encrypted value

To parameterize the value:
1. Create a parameter to store all the encrypted values.
2. Use lr_eval_string to abstract the value of the parameter.

lr_connect("value1", "value2", lr_decrypt( lr_eval_string("{EncryptedString_param}")));



  1. Simple but a pit fall as ….this is often overlooked…. Thanks!
    Thanks for all the articles in the blog….They are indeed very helpful…!!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s