samedi 21 février 2015

wiremock: Does wiremock playback when in record?

I've been playing around Wiremock (Standalone) recently and think it's great. Today I noticed behaviour which, as far as I can see, suggests that Wiremock plays back already-saved responses, when in record mode.


I think I could be mistaken because this is pretty important to know, yet I can't see it in the documention, except for this:



Note


The recorder will ignore any request matching one it has already captured.



It's not clear if that means :



  1. The request will be routed to the 3rd party service and a live response will be returned. Or,

  2. The saved response will be returned and the 3rd party service will not be bothered in that case.


I hope it is the latter. It basically means that in small apps, playback may never be required.


Can anyone confirm this for me?


Aucun commentaire:

Enregistrer un commentaire