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

Is it possible to have 2 different wait times in Dyantrace SaaS Synthetic tests?

Geoffrey_Barlow
Participant

HI All,

In the old synthetic system, there is the option to have multiple wait times on a synthetic action. ie you could wait for Network activity to finish and then wait a further defined time period (3 sec for example) This allowed us to give time for the heavy ajax applications to request additional data etc etc.

Is it possible to have multiple wait times like this in the new system? I can't do it in the GUI from what I can see and I get errors when I try to put multiple wait times in the json script (I fully admit to not being a json expert so could just be my way of doing it)

Many thanks


2 REPLIES 2

HannahM
Dynatrace Leader
Dynatrace Leader

Hi Geoff,


yes, we can chain waits in Dynatrace Synthetic also. There are 2 ways to do this:

1) Add a JavaScript event
don't put any code in, just set the wait that you want.

2) Add a click event

Set the wait to the type you would like. You can then set the locator for the click event to be

CSS body


Best wishes, Hannah


Synthetic SME and community advocate.

Thanks Hannah, that's great!


Featured Posts