Functional Testing of GraphQL APIs: Simple Checks That Catch Real Bugs
summary
Shows concrete checks and tools: uses Altair/Postman for manual checks, Rest Assured for automation, and a harness that auto-generates tests from Jira plus schema (AI-assisted). Covers positive checks (schema compliance, variable ranges), negative checks (missing required fields, syntax errors), datatype and nullable validation, and query-complexity guards like cost (example max 100) and depth limits (example depth 3). Describes CI/CD integration, asserting stable error payloads despite 200 status, and adding tracing via Apollo Studio/DataDog for root-cause visibility.
AI-written summary · about
chapters (8)
- 0:00GraphQL API testing intro
- 1:36GraphQL vs REST comparison
- 4:50Positive testing for GraphQL
- 6:35Negative testing scenarios
- 8:44Cost and depth testing
- 10:29Best practices for automation
- 13:43Key testing concepts recap
- 14:51Q&A on automation tools
related talks
32mTesting GraphQL APIs
52mBasics of GraphQL and Testing GraphQL APIs
38mPerformance Testing sucks! How to get started testing RESTful APIs and GraphQL
08mModern GraphQL API Security Testing
41mTesting GraphQL: From Zero To Hundred Percent
08mFast 'End-to-End' Testing with GraphQL
24mBrute Force Correctness
44mAPI Testing following the Test Pyramid
