Regarding waits in synthetic testing

Hi Team,

I’m created on scripted moniter. I need to wait 10mins(600secs) with that script, when we using with “$browser.sleep(600000)” getting the error as “JobTimeoutError: Job timeout after 180’s”
So can you please tell me. is it possible to wait till 10mins.

  1. If yes , how will wait 10mins
  2. If no, then what need do to wait 10mins.

Please help me out

Hi @mytest.091216 - Synthetic scripts are hard limited to 180 seconds to execute as set by New Relic. One option would be to break the script into smaller scripts to achieve the same result.

2 Likes

Hi @mytest.091216, how does Stefan’s suggestion suit?