node-easymock icon indicating copy to clipboard operation
node-easymock copied to clipboard

Idea - implement different responses for the same request

Open erikrenaud opened this issue 7 years ago • 0 comments

It could be percentage wise : i.e. items_get_10%.json, items_get_30%.json response is chosen randomly to respect percentages named in file name

Items_get_1.json, items_get_2.json, items_get_3.json first response tu route returns _1, then _2, then _3, then _1

I have a rest api called "getNextAction" that I would like to mock...

erikrenaud avatar Oct 06 '17 19:10 erikrenaud