HttpExchangeIn
Fields
One HTTP request/response a test made. Lenient on purpose: a bad exchange is DROPPED by the list pre-filter (IngestTestResult / LiveHttpExchangesIn), never a 422 that costs the batch its results.
12 fields
duration_ms- integer or null
endpoint- string or null
error- string or null
method· required- string
redaction_counts- object
request- HttpMessageIn
response- HttpMessageIn
response_schema- object or null
response_schema_state- string
started_at- string (date-time) or null
status- integer or null
url· required- string
Raw schema (JSON)
{
"description": "One HTTP request/response a test made (AGT-14). Lenient on purpose: a bad exchange is DROPPED by the\nlist pre-filter (IngestTestResult / LiveHttpExchangesIn), never a 422 that costs the batch its results.",
"properties": {
"duration_ms": {
"anyOf": [
{
"maximum": 86400000,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"title": "Duration Ms"
},
"endpoint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Endpoint"
},
"error": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
},
"method": {
"title": "Method",
"type": "string"
},
"redaction_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Redaction Counts",
"type": "object"
},
"request": {
"$ref": "#/components/schemas/HttpMessageIn"
},
"response": {
"$ref": "#/components/schemas/HttpMessageIn"
},
"response_schema": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Response Schema"
},
"response_schema_state": {
"default": "empty",
"title": "Response Schema State",
"type": "string"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Started At"
},
"status": {
"anyOf": [
{
"maximum": 599,
"minimum": 100,
"type": "integer"
},
{
"type": "null"
}
],
"title": "Status"
},
"url": {
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"method",
"url"
],
"title": "HttpExchangeIn",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
POST/api/v1/ingest— Ingest test results (JSON batch)POST/api/v1/stream/http-exchanges— Ingest Http Exchanges
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON