What is Postman? Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
Powering the Full API Lifecycle Producer Lifecycle Consumer Lifecycle Deploy Observe Distribute Define Design Develop Test Secure Evaluate Integrate Test Deploy Observe Discover
You can test GraphQL using Postman query GetAllAlbums ($genre: Genre) { albums (genre: $genre) { title artist { name } tracks { title number } genre } } Artist Service Tracks Service Genre Service Aggregated Response Request
Postman HTTP Request Interface Postman’s built-in HTTP request interface that also support for sending GraphQL queries in the request body, using GraphQL variables Using GraphQL with the HTTP request interface https://learning.postman.com/docs/sending-requests/graphql/graphql-http/ Query editor Automatic schema fetch GraphQL variables URL bar
Postman GraphQL Client more focus on GraphQL that help you debug and document your GraphQL API effectively and efficiently. Postman GraphQL Client Schema explorer Query editor Query variables You can also use the Query button dropdown to browse and select queries to execute Query buttonDropdown URL bar
Postman GraphQL client allows you to - Explore your schema easily and quickly - Automatically introspect or manually import your schema - Quickly build a query, mutation, or subscription to get the data Postman GraphQL Client
Introspection and manual importing GraphQL Schema To enable auto-completion and Query explorer, your request needs a GraphQL schema. Postman support GraphQL introspection and manual importing GraphQL schemas. Automatic fetch (introspection) Manual Import You can manually import GraphQL schema in APIs in the sidebar Postman will automatically fetch a schema based on the request URL, using GraphQL introspection
Use JavaScript code / scripts to write API tests You can add JavaScript code to execute during two events in the flow: Pre-request (Before Query) Test (After response) Request Response Scripts in Pre-request stage (Before Query) Scripts in Tests stage (After response)
Download and start for free! https://www.postman.com/downloads/ Desktop Application ● Windows ● Mac ● Linux Web Application ● You can also use the same functions in your browser by registering for an account.