/mockserver

Erlang mock server with elli

Primary LanguageErlang

mockserver

Erlang mockserver to test rest client side code.

Can configure the responses and type of the request for each path and test it.

Requirements

  • Erlang Insatlled

Setup

Execute the following command insided the mockserver folder

./rebar g-d co

Once that is done execute

./start.sh

Edit the rules.config file for the tests you require to run

In the Erlang console execute the following command

mockserver:start(3000).

you can use any port number instead of 3000.