MockServer icon indicating copy to clipboard operation
MockServer copied to clipboard

Option to fetch different data from same url, based on call order.

Open smdremedy opened this issue 8 years ago • 0 comments

When I have an endpoint with some time dependent data I would like to be able to specify e.g. index in request description and get different responses each time: "requests": [ { "method": "GET", "index":0, "path": "/latest_books", "response file": "books1.json" }, { "method": "GET", "index": 1, "path": "/latest_books", "response file": "books2.json" }, { //default - every other call "method": "GET", "path": "/books", "response file": "books3.json" },

smdremedy avatar Sep 19 '16 11:09 smdremedy