We were recently given a requirement to generate an obfuscated OTP value which gets generated by using a SHA1 hashing algorithm progmatically in Java code.
Upon googling we came across a free and opensource implementation which was tested and verified.
Follow following steps to generate hash...
This resource is a tutorial on how can you define modular code blocks in your loadrunner script. This can have multiple uses like
Writing common code blocks into functions which can be easily mananged
Placing file writing code into a function, which can be called throughout the test script...
Example 1: Breaking the string into multiple parts as specified by a delimiter. See the following example where we are breaking the string by a delimiter ":"
Action()
{
char str[80] = "We love: SPEForums.com";
const char s[2] = ":";
char *token;
/* get the first...