I have been struggling to get this thing correlated. I feel like I have read so many tutorials and followed so many guides across all versions of Loadrunner. If an expert could help me through this, I would be SO APPRECIATIVE, and not only that, it would be a valuable learning experience for users here! I need to work this through before the weekend. I know I can do this with your help!
1. So, I was told by our consultants when they were going over LoadRunner that LR handles all the cookies for me so I wouldn't need to correlate. For exmaple, this should be handled by LoadRunner, yes? (http://i.imgur.com/6CLeEXe.jpg):
Image may be NSFW.
Clik here to view.
2. That aside, here is the request that leads to the unique string I need to correlate using an ordinal I suppose. Here it is (http://i.imgur.com/n9mdOOd.jpg):
Image may be NSFW.
Clik here to view.
3. Here are the responses from the server, you should see the line I am trying to correlate is the 6th (http://i.imgur.com/ZnIi7QR.jpg).
Image may be NSFW.
Clik here to view.
4. This is the response I need correlated, I highlighted the pieces (http://i.imgur.com/pTQsHRs.jpg):
Image may be NSFW.
Clik here to view.
5. Here is the string broken down into separate lines (http://i.imgur.com/o6bu05e.jpg):
Image may be NSFW.
Clik here to view.
6. Here is the script I am trying to make work with the above string:
web_reg_save_param ("SMWLAuth",
"LB= /siteminderagent/forms/DynamicRetry.fcc?",
"RB=&"",
"Ord=All",
LAST);
// Get Matches
nCount = atoi(lr_eval_string("{SMWLAuth_count}"));
for (i = 1; i <= nCount; i++) {
// Create Parameter Name
sprintf(c_SMWLAuth, "{SMWLAuth_%d}", i);
// Show Captured Value
lr_output_message("Value of %s: %s",c_SMWLAuth,
lr_eval_string(c_SMWLAuth));}
Please help, thanks so much, I just can't seem to make it work!