AI API Response Mock Generator
Automatically generate Mock API response data from OpenAPI/Swagger docs, supports custom data rules, latency simulation, error injection
Generator Interface
Interactive generator will be available soon
Features
- ✓ Supports OpenAPI 3.0, Swagger 2.0 document auto-parsing
- ✓ Smart Mock data generation conforming to Schema, custom data rules support
- ✓ Simulate API latency, error codes, pagination and other real scenarios
- ✓ One-click Mock server generation, supports local and cloud deployment
- ✓ Provides REST API interface, integratable into automated testing workflows
How to Use
- Upload OpenAPI/Swagger document or paste JSON Schema
- Configure Mock data rules (optional)
- Set latency, error rate and other simulation parameters
- Start Mock server or export Mock data
FAQ
Which API document formats are supported?
Supports OpenAPI 3.0, Swagger 2.0, JSON Schema, RAML and other mainstream API document formats. Can directly upload files or paste document content.
Can I customize Mock data?
Custom data rules supported, can set field types, ranges, formats, regex patterns. Supports Faker.js syntax for realistic data generation.
How to simulate API errors?
Supports error rate configuration, randomly returns 4xx/5xx error codes. Custom error response content, simulates network timeout, server errors and other scenarios.
What's the Mock server performance?
Based on high-performance Node.js engine, supports concurrent requests. Local deployment response time <10ms, cloud deployment supports CDN acceleration, suitable for stress testing.
Can it integrate with CI/CD?
Yes. Provides REST API interface and CLI tools, integratable into Jenkins, GitHub Actions, GitLab CI and other automation workflows.