Skip to main content

How to add transaction names in Service Suite

Below is a code snippet that can be used for adding a transaction name to see in reports.

addGlobalHeader("user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36");
addGlobalHeader("cache-control", "no-cache");
startStep("Open web page API simulation");
var resp = open("https://www.apple.com");

Last updated: March 21, 2023

If you have any feedback on this topic, please contact us at documentation@appvance.ai