Introduction
Welcome
Imposter is a mock server for REST APIs, OpenAPI (and Swagger) specifications, SOAP web services (and WSDL files), Salesforce and HBase APIs.
- Run standalone mock servers in Docker, Kubernetes, AWS Lambda or on the JVM.
- Embed mocks within your tests (JVM or Node.js) to remove external dependencies.
- Script dynamic responses using JavaScript, Groovy or Java.
- Capture data from requests, then store it or return a templated response.
- Proxy an existing endpoint to replay its responses as a mock.
Getting started
To begin, check out the Getting started guide. See the User documentation section below, or read a product summary.
User documentation
Data capture and storage
Advanced
- Advanced request matching
- OpenAPI validation
- Template queries
- Performance simulation
- Metrics, logs and telemetry
- Proxy an endpoint
- Scaffolding configuration
- Fake data
- CORS
- Performance tuning
- Plugins
- Usage (arguments and environment variables)
- Features
- Groovy scripting tips
Other
Mock types
Imposter provides specialised mocks for the following scenarios:
- OpenAPI - Support for OpenAPI (and Swagger) API specifications.
- REST - Mocks RESTful or plain HTTP APIs.
- SOAP - Support for SOAP web services (and WSDL files).
- HBase - Basic HBase mock implementation.
- SFDC (Salesforce) - Basic Salesforce mock implementation.
- WireMock - Support for WireMock mappings files.
Learn more about plugins.