0

Most of articles about HP Load Runner parametrization recommend to use {param_name} structure inside a string or lr_eval_string("{param_name}").

Actually in Java protocol the first one still remains the string with param name but not with param value and the second one throws an error "cannot find symbol ... symbol: method lr_eval_string(String)"

What is the correct way to parametrize HP LR script created with Java Record Replay protocol?

0

Function eval_string(String) of lr object should be used, e.g.:

_hashtable1.put("java.naming.security.principal", lr.eval_string("{login}"));

BTW: there are lots of useful functions in object lr

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.