I am using Azure Dev Ops to create a pipeline that triggers a test in Load Runner Enterprise. My task is to parse the RunID (circled in red) out of the raw log to use for another process. The script I have created successfully parses out the RunID but the issue I am having is I can not find the raw log to reference in my Powershell script. How would I go about finding the information shown and referencing it in my Powershell script?
2
Answers
What do you mean by, "raw log?" Most of the time the output log is disables during tests as constantly writing to the disk acts like a drag anchor behind a speedboat
As per the
LoadRunner Enterprise Test
task doc, it will generate the report to your agent machine. It’s Report.zip and Report.html from your log screenshot.You can add a new task after test task, extract the
RunID
value from report, set it as varibale and invoke it in next powershell task.How to set variable, please refer to official doc here.
You can use
Extract files
task to extract content from zip and then you can parse the value of ‘RunID’.BTW, it’s recommended to add variable "system.debug" as
true
in your pipeline, check ifRunID
is set as environment value, if it is, you can directly invoke it in next powershell task.