Tag: LoadRunner Tips

LoadRunner - How to cut the string to the last x digit

LoadRunner – How to cut the string to the last x digits

In LoadRunner, getting the first n characters is an easy task by just using strncpy(). But what about when you want to get the number of character from the last (right side). So, there is no direct C or LoadRunner function which you can use to cut the string to the last x digits. For…
Read more

LoadRunner Tip - String Splitting

String Splitting in Loadrunner

String Splitting in Loadrunner

LoadRunner Tips - Automater Parameterization

Automate Parameterization in LoadRunner

As we are in the Agile/DevOps world, re-generating the scripts after every build and bring in all the customization from the previously working scripts to the newly created scripts is one of the major challenges faced by Performance Testers. In this article, we are going to see how we can automate or partially automate the…
Read more

LoadRunner Parameter Setting Cheat Sheet

LoadRunner Tips

Random Date Generator in LoadRunner

Random Date Generation in LoadRunner

Problem: How to simulate random date generation scenario in LoadRunner? Explanation: A webpage with the date field(s) requires current, past or future date inputs. The Date/Time parameter can easily generate value in the required date format and by using an offset, LoadRunner can generate past and future dates too. But in the case of date…
Read more

Last Value from Correlation Parameter in LoadRunner

Select last value from correction parameter list in LoadRunner

There are 2 methods to select the last value from correlation parameter list in LoadRunner. When last value is needed from any no of items appeared on page