Hi, I've just started using Wiremock to proxy requ...
# general
a
Hi, I've just started using Wiremock to proxy requests to other services and record mappings for playback and I noticed that insertionIndex is in reverse order. For example there are 5 requests. Request 1 has index 5 and Request 5 has index 1. Is it by design? Can I save mappings by myself with reserved index without breaking playback? What I want to achieve is to have mappings files' names starting with request number to intuitively go through history from file 1 not for example 15. Of course I set
.filenameTemplate("{{{insertionIndex}}}.json")
wiremock 3.0.3
I've also noticed there is a possibility to set metadata to stubs, maybe this way I could achieve that if index ordering works as it should.
b
At first glance it sounds like that may be related to this: https://github.com/wiremock/wiremock/issues/2364
a
There is no repeated requests in my case for now.
b
Yeah I didn’t mean it’s the same issue but rather that they may have the same root cause
👍 1
a
I've added my comment there. Thanks for reporting.