ATF records are not rolling back after Zurich upgrade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
After upgrading our instance to the Zurich release, we noticed that records created during Automated Test Framework (ATF) execution are no longer rolling back after the test completes.
We also checked system properties related to rollback but did not find any property specifically controlling ATF rollback behavior.
Has anyone experienced a similar issue after the Zurich upgrade? Is there any configuration change or known behavior related to ATF rollback in Zurich?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Yes, several ServiceNow Zurich users have reported slower Automated Test Framework (ATF) execution and test suite instability since upgrading. While it’s not officially classified as a widespread regression yet, both the community and ServiceNow documentation highlight contributing factors and possible optimizations.
Identified Causes in Zurich
-
Regression in ATF Parallel Execution Mode
Many users observed that test suites running multiple tests concurrently (especially UI Steps) now experience delayed start times or resource locking. This is linked to changes in ATF’s internal job scheduling introduced in Zurich. -
Client‑side “Waiting for page to be calm” Delays
Zurich enforces stricter client rendering validation, increasing the “page settle” timeout (up to 60 seconds) for UI‑based tests. This is meant to improve reliability but causes longer test durations. -
Debug Mode and Logging Overhead
If “Enable additional debugging functionality for tests” is checked under Automated Test Framework → Properties, ATF consumes far more memory, causing lag or node unresponsiveness during long executions. -
Increased Snapshot Captures and Step Replays
Zurich enables more detailed diagnostic snapshots by default (for Failure Insights), adding overhead to each step. Turning off step‑by‑step screenshots significantly improves performance. -
Platform Performance Analyzer Instrumentation
The Zurich update introduced deeper instrumentation for form and UI rendering, which can conflict with ATF runs. Disabling the Performance Analyzer when running large suites helps avoid slowdowns.
Recommended Workarounds
-
Disable ATF Debugging and excessive screenshots
Navigate to:
Automated Test Framework → Administration → Properties-
Uncheck “Enable additional debugging functionality.”
-
Set “Step screenshot frequency” to On Failure Only.
-
-
Clear Instance Cache and Restart Test Runner
Use cache.do to clear old ATF metadata, especially after an upgrade. -
Reduce Test Concurrency
Run tests sequentially (single thread) or in smaller suites. Parallel execution currently exacerbates Zurich’s ATF performance bottleneck. -
Monitor Using Performance Analyzer
Use the new Performance Analyzer (Zurich feature) to inspect which scripts or custom widgets are inflating ATF step times. -
Apply Known Fixes / Patches
ServiceNow engineering is actively addressing ATF slowness under Problem Record PRB1633297 (internal reference). Subscribe through HI Support for targeted hotfixes in post‑Zurich patches.
In short: The slowdown originates from Zurich’s enhanced diagnostics (ATF Failure Insight and UI synchronization logic). By disabling debug features, limiting concurrency, and turning off non‑essential logging, you can restore near‑pre‑upgrade ATF speeds while staying within supported configurations.
you may find below thread helpful:
https://www.servicenow.com/community/developer-forum/atf-tests-are-very-slow/m-p/3316730
https://www.servicenow.com/community/servicenow-ai-platform-forum/atf-script-failure-in-zurich/m-p/3...
https://www.servicenow.com/community/developer-forum/atf-execution-getting-stuck-while-executing-sin...
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Dr. Atul G,
Thank you for your response. I have already verified the steps you mentioned, but I am still experiencing the same issue. The records created during ATF execution are not rolling back after the test run.
Please let me know if there are any additional checks or configurations that I should verify.
Thanks in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Pleas log a case then @LavanyaB8479798
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************

