Posts

Showing posts with the label loadrunner

how can i put a variable in the middle of the string in loadrunner?

how can i put a variable in the middle of the string in loadrunner? I have a small difficulty with a script that I am setting in loadrunner in c, I need to put a variable in the middle of a text, how can I do? Thank you. Could you please add your code the the question? – Koby Douek Jun 8 '17 at 3:48 3 Answers 3 LoadRunner virtual users are standard C language items for most virtual users. This is where you leverage your foundation skills in the language of your tool to construct the proper string that you need to use. There are many paths to your solution here. abce{Variable AsAParameter}efgh and may be use lr_eval_string() for conversion You can use the standard C function sprintf() . sprintf() You first need to declare a variable with sufficient ...