mdasberg / ng-apimock

Node plugin that provides the ability to use scenario based api mocking: for local development for protractor testing
MIT License
99 stars 26 forks source link

Runtime: Programmatically select response/selection from mock #53

Open lnaie opened 6 years ago

lnaie commented 6 years ago

Hi,

I have a mock file defining a set of responses. I would like to be able to select programmatically, when I implement my own middleware/interceptor, based on the request signature, a certain response from the mock definition.

It's not clear whether that is possible.

Regards, Lucian