[KongchangAI]
ProductAPIMock-AI

APIMock-AI

A production-grade API mocking tool for AI application development, providing an asynchronous mock server, contract testing, SSE streaming response simulation and chaos engineering capabilities. It is designed specifically for simulating LLM APIs, vector databases and third-party services.

Timeline (last 90 days)

Oct 12

At the core of APIMock-AI is a lightweight asynchronous Mock server with six built-in response strategies: static response, sequence response, template rendering, dynamic callback, proxy forwarding and chaos injection.

Unverified50%
Oct 12

APIMock-AI's Embedding Mock uses deterministic pseudo-vector generation based on input hashing, ensuring the same input always returns the same vector, and applies L2 normalization.

Unverified50%
Oct 12

APIMock-AI detects the Accept: text/event-stream header and pushes content chunk by chunk in SSE format, fully simulating the streaming protocol ending with data: [DONE].

Unverified50%
Oct 12

APIMock-AI's rate limit Mock is implemented based on client IP and a sliding window, returning the standard 429 status code and Retry-After header.

Unverified50%
Oct 12

APIMock-AI's contract testing uses a structured APIContract to describe each endpoint's parameters, request body Schema and response Schema, and can be exported directly as an OpenAPI 3.0 specification.

Unverified50%
Oct 12

APIMock-AI's ContractTester sends requests to real or Mock services, then uses JSON Schema to verify whether the request body and response body conform to the contract.

Unverified50%
Oct 12

APIMock-AI's ChaosEngine provides five fault injection capabilities: delay injection (with configurable min/max millisecond range and trigger probability), error injection (returning 500/502/503/504 proportionally), timeout simulation, response corruption (returning invalid JSON) and rate limit injection.

Unverified50%
Oct 12

APIMock-AI's ResilientLLMClient implements exponential backoff retry (with configurable max attempts, base delay, exponential factor, max delay cap and 50%-150% randomized jitter), a circuit breaker (opens after failures exceed a threshold, enters half-open state after a timeout window) and fallback (three strategies: cache fallback, static fallback and degraded fallback).

Unverified50%
Oct 12

APIMock-AI's MockRecorder supports recording real API interactions and replaying them as Mock rules; during recording it captures the request method, path, headers and body, as well as the response status code, headers and body; after stopping recording it groups by endpoint, generating static rules for a single interaction and sequence rules for multiple interactions.

Unverified50%
Oct 12

APIMock-AI's capabilities cover core Mock, contract testing (OpenAPI 3.0, request validation, response validation, Schema evolution detection, breaking change alerts), developer experience (zero-config startup, hot reload, request logging, validation API, VS Code extension, CLI tool), resilience testing, integrations (OpenAI, Anthropic, Gemini, Qdrant, Pinecone, Weaviate, Milvus, GraphQL, gRPC) and deployment (Docker, Kubernetes Operator, Helm Chart, GitHub Action, GitLab CI).

Unverified50%

1 more timeline events

All Facts (11)

Unverified

At the core of APIMock-AI is a lightweight asynchronous Mock server with six built-in response strategies: static response, sequence response, template rendering, dynamic callback, proxy forwarding and chaos injection.

50%
Unverified

APIMock-AI's Embedding Mock uses deterministic pseudo-vector generation based on input hashing, ensuring the same input always returns the same vector, and applies L2 normalization.

50%
Unverified

APIMock-AI detects the Accept: text/event-stream header and pushes content chunk by chunk in SSE format, fully simulating the streaming protocol ending with data: [DONE].

50%
Unverified

APIMock-AI's rate limit Mock is implemented based on client IP and a sliding window, returning the standard 429 status code and Retry-After header.

50%
Unverified

APIMock-AI's contract testing uses a structured APIContract to describe each endpoint's parameters, request body Schema and response Schema, and can be exported directly as an OpenAPI 3.0 specification.

50%
Unverified

APIMock-AI's ContractTester sends requests to real or Mock services, then uses JSON Schema to verify whether the request body and response body conform to the contract.

50%
Unverified

APIMock-AI's ChaosEngine provides five fault injection capabilities: delay injection (with configurable min/max millisecond range and trigger probability), error injection (returning 500/502/503/504 proportionally), timeout simulation, response corruption (returning invalid JSON) and rate limit injection.

50%
Unverified

APIMock-AI's ResilientLLMClient implements exponential backoff retry (with configurable max attempts, base delay, exponential factor, max delay cap and 50%-150% randomized jitter), a circuit breaker (opens after failures exceed a threshold, enters half-open state after a timeout window) and fallback (three strategies: cache fallback, static fallback and degraded fallback).

50%
Unverified

APIMock-AI's MockRecorder supports recording real API interactions and replaying them as Mock rules; during recording it captures the request method, path, headers and body, as well as the response status code, headers and body; after stopping recording it groups by endpoint, generating static rules for a single interaction and sequence rules for multiple interactions.

50%
Unverified

APIMock-AI's capabilities cover core Mock, contract testing (OpenAPI 3.0, request validation, response validation, Schema evolution detection, breaking change alerts), developer experience (zero-config startup, hot reload, request logging, validation API, VS Code extension, CLI tool), resilience testing, integrations (OpenAI, Anthropic, Gemini, Qdrant, Pinecone, Weaviate, Milvus, GraphQL, gRPC) and deployment (Docker, Kubernetes Operator, Helm Chart, GitHub Action, GitLab CI).

50%
Unverified

In APIMock-AI's OpenAI contract example, the Authorization header is defined as required, temperature's value range is 0-2, messages is of array type, and the response must contain the id/object/created/model/choices/usage fields.

50%

Source Articles