Currently Iam facing the below error when Dynatrace is doing a playback.(Browser Monitor)
The errors are random and there is no specific pattern. Can someone please provide their inputs to fix this problem.
Not sure if a specific page where it loads is taking some time.
Iam using "Wait for background Network activity to get completed" option.
How to fix these random errors.(When some pages load slowly)
Solved! Go to Solution.
perhaps try using a different wait. If your page has videos or lots of background activity it is possible that the background activity will never stop. Possibly Wait for a specific element for the next event.
Best wishes, Hannah
yes, exactly that. The Hard timeout for a Browser Monitor is 5 minutes. Can you change some of your waits? Usually that helps. I find 'Wait for Next' event particularly helpful in these cases as the monitor can move on a little quicker.
If after you have tried other options, blocking slow requests that you are not interested in, updating the wait strategies etc, then it might be worth considering increasing the script timeout. I would definitely only do this as a last resort. You can find the documentation on this here.
bmMonitorTimeout - browser monitor execution timeout (ms)
maximum: 3600000 minimum: 60000
bmStepTimeout - browser monitor single step execution timeout (ms)
maximum: 180000 minimum: 10000