The Test Bed offers support for projects using GraphQL through the GraphQL validator that can be used to validate queries against their target schemas. The validator is based on the GraphQL reference implementation and expects as input the query to validate as well as the schema to validate against. Both can be provided directly or as remote URI references, with the schema also being able to be pre-configured to provide a fixed validator for a specific project’s API.
The validator is accessible via the following channels:
- REST API, allowing machine-to-machine use and well as use via the web user interface offered by the API’s Swagger documentation.
- SOAP web service API, allowing SOAP-based machine-to-machine integration but also use by the Test Bed in conformance test scenarios implemented as GITB TDL test cases.


The GraphQL validator offers a powerful tool for the developers of API clients that can validate their queries against their target API’s schema. It also provides a conformance testing building block through its integration with the Test Bed, as it allows query validation to be made as part of any messaging workflow. Moreover, including scenario-specific schemas in test cases makes it possible to validate ad-hoc business rules by providing them to validator alongside the queries to validate.
For more information on the Test Bed check its Joinup space with its value proposition being a good starting point for newcomers.