25.8.0
This website uses cookies to ensure you get the best experience on our website. Learn more

API Contract & Automation Testing with Postman: Working with GraphQL APIs

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. GraphQL is a query language and runtime for application programming interfaces (APIs), offering a flexible and efficient approach to data fetching. Unlike traditional REST APIs, which require multiple requests to retrieve specific data, GraphQL allows you to request exactly what you need in a single request. You will begin this course by exploring a test GraphQL API hosted by the Hasura.io platform. You will discover how to use the GraphQL interface to query the API server to retrieve data and to perform modifications. Next, you will structure request documents with clauses and conditions to retrieve exactly the information you want from the API server. You will use filters to specify conditional predicates for the data you want to retrieve. Additionally, you will explore using query variables to modify filter values. Following queries, you will delve into mutations, commands to modify server resources. Finally, you will use Postman to send GraphQL requests. You will send requests, execute pre-request and test scripts, and confirm successful query execution by examining the response body.