Standard Identifiers¶
These are identifiers to use to match conditions on when
and refer to as a subject
. See the specification on how and where to use these identifiers.
A Standard Identifier is an array of strings that reference a standard or part of a standard.
HTTP¶
[http, transaction]
- generally refers to a transaction where there is a request and a response
Request¶
Used for defining requirements around HTTP responses.
[http, request, method]
- generally refers to HTTP methods-
[http, request, method, METHOD_NAME]
- refers to specific HTTP methodsVariables
METHOD_NAME
- valid HTTP method
-
[http, request, header]
- generally refers to HTTP request headers -
[http, request, header, HEADER_NAME]
- refers to specific HTTP request headersVariables
HEADER_NAME
- valid HTTP header
-
[http, request, body]
- generally refers to the HTTP request body
Response¶
Used for defining requirements around HTTP responses.
-
[http, response, header, HEADER_NAME]
- refers to a specific HTTP response headerVariables
HEADER_NAME
- valid HTTP header
-
[http, response, status_code]
- generally refers to the HTTP status code -
[http, response, status_code, STATUS_CODE]
- refers to a specific HTTP status codeVariables
-
STATUS_CODE
Values
success
- any 2xx HTTP status coderedirect
- any 3xx HTTP status codeclient_error
- any 4xx HTTP status codeserver_error
- any 5xx HTTP status code- Valid HTTP status code - refer to HTTP specification for valid HTTP status codes
-
-
[http, response, body]
- generally refers to the HTTP response body
Message¶
A message
is a way to reference either a request or response. Instead of writing two different requirements around a request or response header, you can use this to write one.
[http, message, header, HEADER_NAME]
- refers to a specific HTTP message header[http, message, body]