api-testing - API Testing with Playwright
Test REST and GraphQL APIs using Playwright with mocking and validation support
Tags
Updated: 2026-05-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- send GET request
- send POST request
- send PUT request
- send PATCH request
- send DELETE request
- execute GraphQL query
- execute GraphQL mutation
- validate response
- mock endpoint
- upload file
- authenticate request
Inputs
- API endpoint
- HTTP method
- request data
- authentication token
- test files
- base URL
Outputs
- response status
- response data
- validation results
- test report
Requirements
- Node.js environment
- @playwright/test package
