Imposter: A scriptable, multipurpose mock server.
500K+
Reliable, scriptable and extensible mock server for general REST APIs, OpenAPI (aka Swagger) specifications, Salesforce and HBase APIs.
Scripting support for both JavaScript or Groovy/Java.
Use Imposter to:
Provide mock responses using static files or customise behaviour using JavaScript or Java/Groovy. Power users can write their own plugins in a JVM language of their choice.
Imposter uses plugins to control its behaviour and provide specialised mocks:
You can also create your own plugins, using a JVM language of your choice.
Let's assume your configuration is in a folder named config.
Docker example:
docker run -ti -p 8443:8443 \
-v $(pwd)/config:/opt/imposter/config \
outofcoffee/imposter-rest
Your mock server is now running!
This example starts a mock server using the simple
REST plugin, serving responses based on the configuration files
inside the config folder. You can hit the URL
http://localhost:8443/example to see the mock response.
Pull requests are welcome at https://github.com/outofcoffee/imposter
Content type
Image
Digest
sha256:3b2f3508c…
Size
268 MB
Last updated
4 months ago
docker pull outofcoffee/imposter