I've been testing Mountebank and I stumble with some things I've already seen implemented in other software of the same nature. For instance, let's take a look at this imposter:
At that point, all I'm interested is in grabbing the URI that was used (from the request), generate some data on the fly (a UUID) and send the response back.
Is it possible to accomplish that in the way I'm describing it, or is it required to use behaviors.decorate / inject?
I've been testing
Mountebank
and I stumble with some things I've already seen implemented in other software of the same nature. For instance, let's take a look at this imposter:At that point, all I'm interested is in grabbing the URI that was used (from the
request
), generate some data on the fly (a UUID) and send the response back.Is it possible to accomplish that in the way I'm describing it, or is it required to use
behaviors.decorate
/inject
?