Loadrunner сопоставляет идентификаторы, которые встречаются в разделе EXTRAES в web_URL

570
Anna

Я работаю над loadrunner для записи веб-приложения по протоколу web http \ html.

«WindowID», который используется в запросе транзакции, встречается в предыдущем разделе web_url - Extraes. Как мы можем захватить «Идентификатор окна», который появляется в разделе EXTRAES.

«Идентификатор окна» происходит в запросе GET

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

Ниже приведен запрос: web_submit_form ("ca", "Snapshot = t6.inf", ITEMDATA, EXTRARES, "Url = транзакция / shipment / actionevent / ShipmentListActionEvents.js", "Referer = https: // -X.lb.com/manh/index.html ", ENDITEM," Url = / services / rest / lps / ComponentService / config / 305? _Dc = 1457259096313 & windowId = wt-dae4-91cd-676d & scrnCompId = 62 ", "Referer = https: // -qa.lb.com/manh/index.html", ENDITEM,
LAST);

0

1 ответ на вопрос

0
James Pulley

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.

Похожие вопросы