Skip to content

Using the mock index page

Lazarus Lazaridis edited this page Nov 17, 2017 · 3 revisions

The mock index page displays your defined mocks.

DuckRails index page

Actions

Use the buttons of the Actions column to edit, delete or activate/deactivate a mock.

Mock order

The mock order does not affect the behavior of the endpoints unless you have mocks with the same http method and route path as shown in the picture above. As you can see, both mocks are supposed to serve get requests to /mocks.

Let's see what happens: DuckRails first mock request

Clone this wiki locally