cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Synthetic script is failing sometimes

AK
Advisor

Hi,

We have seen in one newly configured synthetic test where it is failing for sometime and showing error like "1603 - Test marked as fail by user".

What is the meaning of this error. Tried to find out on web but nothing related to this.

Can somebody explain about this error?

Thanks...


1 REPLY 1

HannahM
Dynatrace Pro
Dynatrace Pro

Hi Akshay, this error means that you have some code in your monitor that has forced the monitor to fail.

For instance, you may have added a JavaScript event which checks something on the page and if it is not there it forces the script to fail. You will need to look at the script to see what caused this. You can also add extra information in if it was through Javascript that you failed it by adding a message in i.e. api.fail("Wrong page shown"); This message will then be shown when you look at the Synthetic execution details. You can find more information on JavaScript events here

Best wishes, Hannah