shamis / mockserver

Erlang mock server with elli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Erlang mock server with elli


Languages

Language:Erlang 98.8%Language:Shell 1.2%