Type References
The following object types are used in config for running a test in hypertest cli.
Request Object
### requestObj
Describes the components of a recorded http request.
#### Properties
| Property Name | Type | Non-Opitonal | Description
|------------------------|---------------------|--------------|-------------------------------------------|
| `i_bodyType` | `BodyType` | Yes | Body type of the http request.
| `i_clusterPath` | `string` | Yes | Cluster path for the http request.
| `i_headers` | `object` | Yes | Headers for the request.
| `i_method ` | `string` | Yes | Verb of the request.
| `i_path` | `string` | Yes | Actual path of the request.
| `i_query` | `object` | Yes | Query of the request.
| `id` | `bigint` | Yes | Id of the recorded request.
| `i_host` | `string` | Yes | Host of the request.
| `i_jsonBody` | `object` | Yes | Request body.
| `requestType` | `RequestType` | Yes | Server type.
| `o_jsonBody` | `string` | Yes | Response body.
| `o_headers` | `object` | Yes | Response headers.
| `o_statusCode` | `number` | Yes | Response status code.
| `OutputStatus` | `OutputStatus` | Yes | Status of the request.
#### Enum: BodyType
Possible values for BodyType.
- `JSON`
- `MULTIPART`
- `RAW` and more.
#### RequestType
Possible values for RequestType
- `HTTP`
- `GRAPHQL`
- `GRPC`
- `KAFKA`
- `AMQP`
#### Enum: OutputStatus
Possible values for OutputStatus.
- `ERROR`
- `OKAY`
Last updated