GraphQL schema overview

HCL OneTest API supports the use of either the built-in GraphQL schemas or the GraphQL schemas that you import into HCL OneTest API when you want to test a GraphQL endpoint.

When you want to test a GraphQL endpoint in HCL OneTest API, you must have set up the GraphQL endpoint and configured an operation with a physical transport that connects to the application on which the GraphQL endpoint runs.

See the following tasks that you must perform before you can use the GraphQL schema in the messages in your tests:

Supported GraphQL operation types

The following GraphQL operation types are supported:
  • Mutation
  • Query
Restriction: The Subscription operation type of GraphQL is not supported in HCL OneTest API