ワンクリックで
api-tester
Tests API endpoints with configurable requests, assertions, and response validation
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Tests API endpoints with configurable requests, assertions, and response validation
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | api-tester |
| description | Tests API endpoints with configurable requests, assertions, and response validation |
| version | 1.0.0 |
| author | go-on-team |
| tags | ["api","testing","http","validation","integration","quality"] |
| min_go_on_version | 1.0.0 |
Tests API endpoints by sending configurable HTTP requests and validating responses against expected schemas, status codes, headers, and body content. Supports chained test sequences, environment variables, and generates structured test reports.
| Parameter | Type | Description |
|---|---|---|
endpoint | string | The API endpoint URL |
method | string | HTTP method (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS) |
headers | object | Optional HTTP headers as key-value pairs |
body | string | Optional request body (JSON string) |
query | object | Optional query parameters as key-value pairs |
expected_status | integer | Expected HTTP status code (default: 200) |
expected_body_contains | array | Optional list of strings that must appear in response body |
expected_json_schema | object | Optional JSON Schema to validate the response body against |
timeout_ms | integer | Request timeout in milliseconds (default: 15000) |
auth | object | Optional authentication: {"bearer": "token"} or {"basic": {"username": "...", "password": "..."}} |
{
"endpoint": "https://api.example.com/users",
"method": "GET",
"headers": {
"Accept": "application/json"
},
"expected_status": 200,
"expected_body_contains": ["users", "total"],
"expected_json_schema": {
"type": "object",
"properties": {
"users": {"type": "array"},
"total": {"type": "integer"}
},
"required": ["users", "total"]
},
"timeout_ms": 10000
}
Example output:
{
"success": true,
"status": 200,
"assertions": {
"status_match": {"passed": true, "expected": 200, "actual": 200},
"body_contains": {"passed": true, "checks": ["users": true, "total": true]},
"schema_valid": {"passed": true}
},
"response_time_ms": 234,
"response_size_bytes": 15420
}
Analyzes project structure, module dependencies, imports, and entry points to generate architecture diagrams in Mermaid format
Analyzes ETL and data pipeline code for optimization opportunities across Python (Pandas, PySpark), Rust (polars, datafusion), SQL, and general pipeline descriptions
Validates environment variable configurations and config files (YAML, TOML, JSON, .env) for missing required variables, type mismatches, deprecated keys, naming convention violations, secret exposure risks, and invalid value ranges
Analyzes code for performance bottlenecks including N+1 queries, O(n^2) or worse algorithms, unnecessary allocations, sync I/O in async contexts, excessive cloning, missing caching opportunities, and large payload transfers. Supports Rust, Python, TypeScript, and Go.
Analyzes, improves, and restructures LLM prompts for clarity, efficiency, and reliability
Analyzes source code for common security vulnerabilities including SQL injection, XSS, command injection, hardcoded secrets, insecure deserialization, path traversal, and SSRF