Highlighted
Absent Member.
Absent Member.
497 views

LoadRunner 12.02 Correlation

Jump to solution

Hi folks,

I am currently working on a script where I get a dynamic value from a redirected URL ( not captured in VuGen) which needs to be correlated.

For example :

Redirecting URL1

To Location URL2.

Now URL2 has a value that needs to be correlated.

Kindly someone help me resolve this.

 

Thanks,

Umesh

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: LoadRunner 12.02 Correlation

Jump to solution

I thought I replied here. I didn't notice that it gets queued to be approved or not...

Use a web_reg_save_param_ex before the web call and use Scope=Headers.

I don't have a site to test handy to get the exact LB & RB, but should be "Permanent-Redirect:" or something like that.
Run the script with full logging on and you will see the line in the headers of the page.

 

web_reg_save_param_ex(
        "ParamName=pPDF_name",
        "LB=filename=\"",
        "RB=\"\r\nContent-Type: application/pdf",
        "Notfound=Warning",
        SEARCH_FILTERS,
        "Scope=Headers",
        LAST);

View solution in original post

0 Likes
1 Reply
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: LoadRunner 12.02 Correlation

Jump to solution

I thought I replied here. I didn't notice that it gets queued to be approved or not...

Use a web_reg_save_param_ex before the web call and use Scope=Headers.

I don't have a site to test handy to get the exact LB & RB, but should be "Permanent-Redirect:" or something like that.
Run the script with full logging on and you will see the line in the headers of the page.

 

web_reg_save_param_ex(
        "ParamName=pPDF_name",
        "LB=filename=\"",
        "RB=\"\r\nContent-Type: application/pdf",
        "Notfound=Warning",
        SEARCH_FILTERS,
        "Scope=Headers",
        LAST);

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.