14 Aug 2020 04:50 PM - last edited on 13 Apr 2021 02:11 PM by MaciejNeumann
I have the below queries.
1. Does dynatrace allow us to schedule monitors in a sequence. For execute monitor2 after monitor1. I have two monitors which needs to be executed one after another. I don't want these two in a single monitor.
2. In a dynatrace Browser monitor if a step fails the remaining steps are skipped or not executed. I want the remaining steps to be executed and not stop abruptly.
Please help.
Solved! Go to Solution.
14 Aug 2020 05:17 PM
Hi Sanjeev,
1) No, we do not allow monitors to be linked/ run in sequence. Also, the cache is cleared between executions.So they would be treated as completely separate visits.
2) If a step fails, the monitor stops executing at that point. If you want to continue in certain situations, you can add in conditional code using a JavaScript event so you could check for a certain outcome and decide which events to move to from there.
02 Mar 2023 03:14 PM
Is it still not possible to link/run different synthetic monitors in sequence?
02 Mar 2023 03:59 PM
You cannot configure Synthetic monitors to run in sequence. Also, each execution is run in a clean Browser instance, so you cannot have 1 monitor that logs in and then another that does something after login. Each monitor needs to be a discrete test.
That said, you can use on-demand executions and could use the API to trigger monitors in sequence. So if you had one monitor that created a new account, you could then have a second monitor that checked the details of that account.