SUT Operator verifies the conformance of the HTTP header
IHE defines a lot of profiles that relies on HTTP protocol for the transport. However, Gazelle does not cover the conformance verification of the HTTP header.
Gazelle currently offers:
- SOAP body verification, for the SOAP webservice based transactions;
- FHIR resource / URL verification, for the FHIR-based transactions.
Although most of the profiles do not specify additional requirements on the HTTP header, some other do and its content might influence the behaviour of the targetted system under test.
As a test designer, I want to make sure that a system under test use appropriate content in the HTTP header when communicating with peers.
As a SUT operator, when I verify the conformance of a message sent over HTTP (or HTTPS), I want the verification to include checks on the HTTP headers. In particular, I want to know:
- Whether all the expected HTTP headers are present in the message issued by the system under test;
- Whether the values of the HTTP headers are correct regarding the specification requirements
- Whether no forbidden HTTP header is present in the message.
- Optionaly and if it applies, whether the content of the message is correctly reflected in the HTTP headers.
As a developer of a conformance checker tool, I want to be able to implement the requirements on the HTTP headers in a specific context (IHE Transaction or derivative).
Offer a way to verify the conformance of the HTTP headers for HTTP based transactions.
Improve the level of confidence in our conformance checker tools by including the verification of the HTTP header.
Make sure the systems under test fully implement the specifications.
Such a validator can be used in a broader scope that only healthcare (smart city ?)
Header Field Definitions on W3C website: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html