As a test designer, I want to be able to create a new validation profile for checking the conformance of an HTTP message

Story status
Reviewed
Implementation status
Planned
Targetted user
Description

As a test designer, I shall be able to define a set of rules to verify the conformance of an HTTP message (request or response) in regard to a given specification, this is named as a validation profile.

When I create such a new validation profile, I want to give it a name, a version, a context (transaction, projet), a description, and status (draft/active/deprecated).

When I save the newly created validation profile,

  • it shall be assigned a unique identifier,
  • I shall be identified as the creator of the validation profile,
  • The date and time of the creation shall be stored as well.
Acceptance criteria

V0.1

The creation of a new validation profile is made possible through a REST API. The REST API offers a create method that allows me to post a JSON representation of the validation profile.

If the validation profile file is a valid JSON file and complies with the defined schema, the new validation profile is stored in the HTTP Validator and one can use it through the validation API.

If the validation profile file is not a valid JSON file or its name and/or identifier conflict with an existing validation profile, an error message shall be sent back, explaining the reason while the validation profile got rejected.

The REST API is proctected using an application API key.

VXX

As a test designer, I have an option in the GUI to create a new validation profile. When I create a new validation profile, there are placeholders to enter the following attributes:

  • Name of the validation profile (free text)
  • Version of the validation profile (free text ?)
  • A description
  • A Status (accepted values shall be draft, active, and deprecated)

In addition, there is a button to confirm the creation of the validation profile and the tool saves all the attributes as entered.

The following attributes of the validation profile are automatically filled:

  • Creator (use the username of the currently logged user),
  • Identifier of the validation profile,
  • Date and time of the creation operation.