Skip to content

jthomazinho/fake-wiremock

Repository files navigation

fakes

This project uses WireMock to mock responses faking some of the external dependencies of the Bot:

  • Plural (FX quote)
  • Bitstamp (order entry)
  • Binance (order entry)

Running

The easiest way to run the project is to use docker-compose:

docker-compose up

# or to run as a daemon
# docker-compose up -d
# prepare to use graphql

Adding mocks

WireMock accepts JSON files to configure stubbed responses, called mappings. Create a new file in the mappings folder with the configuration.

See Stubbing - WireMock for the format, and Response Templating - WireMock for using templates in the response, which gives a lot of flexibility.

It can also serve files from the __files folder, either statically or from a mapping.

About

Wiremock implementation dockerized

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published