As a test designer, I want to check the conformance of the Request-Line in a HTTP header

Story status
Reviewed
Implementation status
Planned
Targetted user
Description

As a test designer, I want to check the conformance of the Request-Line included in the HTTP header of the HTTP message in regard to RFC2616 and a given specification. In particular, I want to verify that the Request-Line is formatted as: Method SP Request-URI SP HTTP-Version CRLF.

The HTTP Validator shall verify that

  • the value of the Method is equal to a certain value I have defined (fixed value)
  • the value of the HTTP-Version is equal to a certain value I have defined (fixed value)
  • the Request-URI is a valid URI in regard to RFC3986 (https://www.rfc-editor.org/rfc/rfc3986).
Acceptance criteria

As a test designer, when I create a validation profile, I shall be able to defined:

  • A fixed value for the Method part of the Request-URI
  • A fixed value for the HTTP-Version part of the Request-URI

When the validation profile is applied. The HTTP validator shall verify that

  • the Method and HTTP-Version comply with the defined values;
  • the Request-URI is a valid URI.