30 Nov 2023 02:47 PM
Hello,
I have a question about Synthetic browser monitors and screenshots captured :
we test one url in a browser monitor.
One day, the screenshot displayed in summary in the middle of the Synthetic Detail page, showed that the css was not loaded: text was displayed but not the layout.
When I check the detail of all the runs which occured during the day, I didn't found any run in error, and I didn't find the same screenshot.
It's in our test environment : we run it only each 4 hours.
One run had the status Re-run. Is it possible that the screenshot displayed in summary was linked to the 1st run, and the 2nd is displayed in the detail of the run?
Can you confirm that, when a css is not loaded, the script will finish in error?
Thank you,
Sabine
Solved! Go to Solution.
01 Dec 2023 06:46 AM
The reference (Actual) screenshots are taken every 24 hours, and as soon as possible after the monitor is started. So yes, it is likely that the reference screenshots were taken in the earlier executions. If the monitor has been failing for over 24 hours, and we have been unable to take screenshot recently, then the reference screenshot will be older.
https://docs.dynatrace.com/docs/shortlink/synthetic-details#screenshots
Where an execution is a re-run,
When a css is not loaded, the script will finish in error only if you have something in the script to request that. So if that css prevents the wait from being completed it will fail for that reason. But if the page gets a 200 and the wait successfully completes, and you have no content validation on your page, then the execution will be successful.