node-easymock
node-easymock copied to clipboard
Idea - implement different responses for the same request
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...