18 Jan 202108:54 PM - last edited on 13 Apr 202101:25 PM by MaciejNeumann
I need to create a Dynatrace Synthetic monitor to perform two requests, a POST and then a GET. Inside the POST "requestBody" I need to pass an INT value, maybe using the api.randomNextInt(). Then the GET request need to use the same INT value generated to validate the response, to pass if present, into validation - rules - value field. Is this possible? To use the variables into the POST requestbody, and on GET validation? Can someone help me to set up this script properly?