01 Nov 202308:02 PM - last edited on 07 Nov 202311:36 AM by MaciejNeumann
So if I understand correctly, you can use the API to push 3rd Party Synthetic monitors to the API. Cool. However, the documentation is extremely lacking in explaining how it works.
For example, why is there a location list at the top of the payload if we have to then supply the locations per test in the test objects? So my script will have to get a list of all the locations from the various tests being sent in the payload and summarize those at the top? That makes no sense...
Also, how is the testResults element optional if the whole point of sending the payload is to send test results to Dynatrace? Is it because you can send the payload without the TestResults object to just build the Synthetic tests in Dynatrace and then send future payloads with the results to update those with the latest metrics from the runs?
They really need to add more explanation in general in their API documentation because they tend to almost never explain what, why, and how their API works. They give the bare minimum information it seems like. Less than minimum really.