Methods
(async) interceptError(record) → {Promise.<Undefined>}
Allows for making changes to a result after it has an error
- Source:
Parameters:
Name | Type | Description |
---|---|---|
record |
Record
|
Returns:
- Type:
-
Promise.<Undefined>
Void promise
(async) interceptPostProcess(job) → {Promise.<Undefined>}
Allows for making changes to a result after it has been processed
- Source:
Parameters:
Name | Type | Description |
---|---|---|
job |
Job
|
Returns:
- Type:
-
Promise.<Undefined>
Void promise
(async) interceptPreProcess(job) → {Promise.<Undefined>}
Allows for calling custom code before the execution of the tests begin
- Source:
Parameters:
Name | Type | Description |
---|---|---|
job |
Job
|
Returns:
- Type:
-
Promise.<Undefined>
Void promise
(async) interceptRecord(record) → {Promise.<boolean>}
Allows for the input record to be manipulated before being processed
- Source:
Parameters:
Name | Type | Description |
---|---|---|
record |
Record
|
Returns:
- Type:
-
Promise.<boolean>
True to include the record, false to exclude it
(async) interceptRequest(the, request, the) → {Promise.<Undefined>}
Allows for making changes to a request payload
- Source:
Parameters:
Name | Type | Description |
---|---|---|
the |
Record
|
record associated with this request |
request |
Object
|
payload |
the |
Device
|
device making the request |
Returns:
- Type:
-
Promise.<Undefined>
Void promise