Skip to main content
Pair with getRecordedRequests to retrieve the recorded list later. Unlike registerRequestListener, multiple matches are kept.

Parameters

ParameterTypeRequiredDescription
substringstringNoMatch URLs that contain this substring.
globstringNoMatch URLs against a glob pattern.
regexstringNoMatch URLs against a regular expression.
domainstringNoMatch all URLs under the given domain.
keystringYesIdentifier used by getRecordedRequests.
methodstringNoRestrict the recorder to a specific HTTP method.
saveAsstringNoName of the variable to write this step’s return value to.
retriesnumberNoNumber of times to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.

Examples

- recordRequests:
    key: todos
    regex: .*/todos.*
- recordRequests:
    key: requests
    regex: .+jsonplaceholder.+