06 Sep 2023 08:48 AM - last edited on 02 Oct 2023 03:40 PM by AgataWlodarczyk
I'm new to Dynatrace, and have a bunch of questions of Synthetic Monitoring..
Question 1:
I use this in pre script,
const formData = new FormData();
formData.append("type", 1);
formData.append("name", "apimonitor_add_group1");
request.setBody(formData);
but got SCRIPT_EXECUTION_FAILED
How should I set the body correctly?
Question 2:
Is there any place to check the specific error place of SCRIPT_EXECUTION_FAILED ?
Now I can only know the test failed, but don't know where's the wrong place. The only way I can use to debug is using api.info("xxx") everywhere in my scripts to print information and use an on-demand trigger to test it.
Is there an easier way to validate the script?
Question 3:
Is there any way to pass variables between different synthetic monitors?
I've checked the document and Community, but not found the answer.
Would be very grateful for a help.
14 Nov 2023 10:33 PM
Did you find an solution? I'm in the same boat.