Usage
Importing Services & APIs
Load artifacts by one-off upload (UI or CLI) or with scheduled Importer jobs.
Setting custom dispatcher
Control which example Microcks returns by setting the dispatcher and rules of an operation.
Applying constraints to mocks
Require, echo back or regex-check query and header parameters on mock operations.
Defining delays for mocks
Simulate backend latency with delays set per operation or per request header.
Configuring stateful mocks
Store, retrieve and remove state across mock calls with scripts and templates.
Simulating OpenAPI Callbacks
Have Microcks fire the OpenAPI v3 callbacks of a mocked operation, and test them.
Generating Direct API
Generate a ready-to-use REST or event-driven mock without writing any spec first.
Simulating OpenAPI Webhooks
Simulate and test OpenAPI 3.1 webhooks, and see how they differ from callbacks.
Developing with Testcontainers
Embed Microcks in your unit tests with Testcontainers for Java, Node, Go and .NET.
Async Protocols
Mock and test events on Kafka/Avro, MQTT, RabbitMQ, NATS, Pub/Sub and SQS/SNS.
- Kafka, Avro & Schema Registry
- MQTT Mocking & Testing
- RabbitMQ Mocking & Testing
- NATS Mocking & Testing
- Pub/Sub Mocking & Testing
- SQS/SNS Mocking & Testing