api-testing - REST and GraphQL API Testing with Playwright
Test REST and GraphQL APIs using Playwright for mocking endpoints, validating responses, and integrating with E2E flows
Tags
Updated: 2026-05-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- send GET request
- send POST request
- send PUT request
- send DELETE request
- mock API endpoint
- validate response
- authenticate request
- query GraphQL
- execute GraphQL mutation
- upload file
- validate JSON schema
Inputs
- API endpoint URL
- request data
- authentication token
- GraphQL query
- file buffer
- response schema
Outputs
- HTTP response
- response status code
- response headers
- test results
- validation errors
- mocked API response
Requirements
- Playwright Test
- Node.js environment
