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" },
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" },