Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 517 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 517 Bytes

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.