The e2e_appmon probe returns a minus 4 return code after the script has been run. Another KB Article mentions that this means "Browser Lost" but the underlying issue is not clear.
The e2e_appmon script 'Default run interval' under the Setup Tab (seconds), defines the time interval BETWEEN each NimRecorder script execution process.
Default max. run time (Seconds): defines the TIME LIMIT for NimRecorder script execution. The probe can generate an alarm when this limit is breached, for example:
<script_name>: Did not complete on time and had to be killed.
Under the Status Tab, script 'Profile properties-> Run properties, check to make sure that the 'Run Interval' is at least 5 seconds greater than the 'Max. Run Time' of ANY scripts.
Then one or more scripts which are run sequentially by design, cannot get bogged down/interfere with each other nor breach its configured max. run time, otherwise it will be killed and generate the alarm mentioned above.
Select the script name and double-click to open the profile.
The Max. run time can be set at the script level under 'Profile Properties.'