Trying to execute test from Automated Test Framework however getting error everytime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2017 06:26 AM
I am trying to Run a test "Basic UI test" from Automated Test Framework, However getting "The test timed out because the max execution time (600 seconds) was reached while executing step 2 - 4". Is there any property setting that needs to be enabled which i have missed.
I have tried the same on both Chome as well as IE however no luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2017 09:20 AM
That timeout is a default hardcoded value. You can try adding this property with a higher value:
sn_atf.batch.timeout = 1200 //1200s rather than 600s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2017 07:59 AM
Hi Sergiu, where do we add this property. Could you help to find exact location?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2017 06:41 AM
It should be in System Properties table (sys_properties).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2019 04:51 PM
Although this is an old question, users can still run into this issue for various reasons.
Dawn Jurek compiled an excellent post about this here https://community.servicenow.com/community?id=community_blog&sys_id=84dc2665dbd0dbc01dcaf3231f96190f
I recommend refraining from altering the sys_properties for the Client Test Runner batch timeout - this may be attempting to hide a likely preventable performance issue at test runtime. Addressing it appropriately will make your tests run much faster.