Readonly
bodyThe name of the local file containing the body content (needed since the name is dynamic)
Optional
Readonly
creationTimestamp when the payload was created.
Optional
Readonly
headersRecorded headers to be served back, without the ignored ones.
Optional
Readonly
httpHttp version of the server when the mock was recorded. Will most likely be '1.1' or perhaps '1.0'. It is not used when replaying responses.
Optional
Readonly
ignoredIgnored headers, which are recorded headers that should not be served back.
In practice, this is mainly the content-length
header (because the content-length
header that is
actually served back is computed based on the actual data to send).
Readonly
statusHTTP status.
Readonly
timeTime used by the server to process the request.
It is used to simulate the real processing time when mocking the server if the delay is set to recorded
.
Optional
Readonly
timingsDetailed timings recorded during the request.
The data representing the mock, which is persisted and used for serving the mock