Response from a remote write operation.
This extends the standard k6 HTTP response with information about the remote write request. Use the status field to check if the write was successful (typically 200 or 204).
status
import { check } from 'k6';const res = client.store([...]);check(res, { 'is status 200': (r) => r.status === 200,}); Copy
import { check } from 'k6';const res = client.store([...]);check(res, { 'is status 200': (r) => r.status === 200,});
Optional
Response body (if any).
Whether the request was successful (status 2xx).
Response headers.
HTTP status code of the response.
Response from a remote write operation.
This extends the standard k6 HTTP response with information about the remote write request. Use the
statusfield to check if the write was successful (typically 200 or 204).Example: Check response status