Loadrunner correlate IDs that occur in EXTRAES section in web_URL

0

I am working on loadrunner to record a web application using web http\html protocol.

The "WindowID" that is used in a transaction request occurs in the previous web_url - Extraes section. How can we capture the "Window ID" that occurs in the EXTRAES section.

The "Window ID" occurs in the GET Request

GET /services/rest/lps/ComponentService/config/305?_dc=1457259096313&windowId=wt-dae4-91cd-676d&scrnCompId=62 HTTP/1.1

Below is the request: web_submit_form("ca", "Snapshot=t6.inf", ITEMDATA, EXTRARES, "Url={test}transactional/shipment/actionevent/ShipmentListActionEvents.js", "Referer=https://{test}-X.lb.com/manh/index.html", ENDITEM, "Url={test}/services/rest/lps/ComponentService/config/305?_dc=1457259096313&windowId=wt-dae4-91cd-676d&scrnCompId=62", "Referer=https://{test}-qa.lb.com/manh/index.html", ENDITEM,
LAST);

Anna

Posted 2016-03-06T16:21:23.400

Reputation: 3

Answers

0

Correlate your source for the Window ID.

There are easier ways of handling this issue however. When you run in HTML mode, versus URL mode, the page is brought into memory and parsed for the resources to request downstream. You can effectively comment out the extra resources noted in the script (EXTRARES) and run your HTML mode script, have the virtual user parse the page and load the extra resources based upon both the browser emulation settings as well as the cache headers for the resources.

Don't take my word for it. Comment out the extra resources and then run with full logs for a couple of pages. You should see in your logs the evidence of the page being parsed and the resource files being requested as needed.

James Pulley

Posted 2016-03-06T16:21:23.400

Reputation: 221