HI Andreas Grabner,
This is a wonderful article,
as this can be doen using fiddler,
I want to use my Load runner scripts and do the DT Tagging in such a way that i get all the information like VU, NA, PC, Also the TEST USER that i am using , The load generator from where the load is generated for example
I am runninga request ” Login”, with a user id as “test123″,
i need all the above mentioned attributes in Dynatrace,
let me give u a sample request with the DT tagging. Please suggest a way of tagging where i can get all these details
lr_start_transaction(“TC03_NGW_DealsQuotes_02_Login”);
addDynaTraceHeader_PC(“TC03_NGW_DealsQuotes_02_Login”,”iframeurls.json”);//this is the DT tagging what i have done.
web_url(“iframeurls.json”,
“URL=https://sso-nprd.cisco.com/autho/iframeurls.json?_=1407497151770″,
“TargetFrame=”,
“Resource=0″,
“RecContentType=text/html”,
“Referer=https://sso-nprd.cisco.com/autho/forms/CDClogin.html”,
“Snapshot=t3.inf”,
“Mode=HTML”,
EXTRARES,
“Url=../favicon.ico”, “Referer=”, ENDITEM,
LAST);
Answer by Andreas G. ·
Just to give some context to where this question comes from: http://apmblog.compuware.com/2009/08/04/get-more-out-of-functional-web-testing-how-to-correlate-test-reports-with-server-side-log-information/
It seems like you are already using the addDynaTraceHeader method which adds the HTTP Header to the LR script. This should already work. But - if you want to add additional context information I suggest you build your own little addDynaTraceHeader function that adds the additional fields that we support for Tagged WEb Requests. Check out the documentation for all possible fields: Integration with Web Load Testing and Monitoring Tools. Also check out the doc on LoadRunner Integration
Andi
JANUARY 15, 3:00 PM GMT / 10:00 AM ET