GraphQL
Enhanced usage of this feature is available with Gatling Enterprise. Explore our plans to learn more.
GraphQL is a query language for APIs. Gatling supports:
- queries and mutations, sent over HTTP
- subscriptions, sent over WebSocket with the
graphql-transport-wsprotocol
The GraphQL SDK is available for Java, Kotlin and Scala. JavaScript and TypeScript are not supported yet.
Project Setup
Learn about how to set up your project to use the Gatling GraphQL protocol.
GraphQL Protocol
Learn how to configure the GraphQL protocol.
GraphQL Requests
Learn how to send GraphQL queries and mutations, and check their responses.
GraphQL Subscriptions
Learn how to run GraphQL subscriptions over WebSocket, and check the messages they push.