http-test
HTTP API testing with assertions and validations
SKILL.mdskills/http_test/SKILL.md
GitHubHTTP Test Skill
Perform HTTP API testing with request building and response assertions:
- Send HTTP requests (GET, POST, PUT, DELETE, PATCH)
- Set headers, query params, body
- Assert response status code, headers, body
- Validate JSON response structure and values
- Support authentication (Bearer, Basic, API Key)
- Chain requests (login → API calls)
Use builtin_http_test tool with fields:
operation: "request" | "assert"method: HTTP method (GET, POST, PUT, DELETE, PATCH)url: Target endpoint URLheaders: (optional) Request headers as JSONbody: (optional) Request body (JSON string)assertions: (optional) Array of assertions:type: "status" | "header" | "body" | "json_path"expected: Expected value
Examples:
- Assert status: {"type": "status", "expected": 200}
- Assert body contains: {"type": "body", "expected": "success"}
- Assert JSON path: {"type": "json_path", "path": "$.data.id", "expected": "123"}
Note: All operations are read-only testing, no data modification.