Advanced Alerting APIs
|
Provides access to the harchive and monitoring backend. More...
Public Member Functions | |
void | setError (boolean status) |
object | getHarFile (object args) |
string | getScreenShotUrl () |
boolean | isTrialAccount () |
Provides access to the harchive and monitoring backend.
object getHarFile | ( | object | args | ) |
Returns the har file
args | must contain the attribute timeout which determines how many seconds to wait before the har file is retrieved. {timeout:5} is the recommended setting. This function blocks until the har file has been retrieved or amount of time has exceeded the timeout. |
This function throws an exception if the arguments are incorrect, or there is a problem retrieving the har file.
string getScreenShotUrl | ( | ) |
boolean isTrialAccount | ( | ) |
Returns whether the account is a trial account.
void setError | ( | boolean | status | ) |
Set the status on the backend monitor. It can be updated to error status.
status |