Closed tMaxx closed 6 years ago
Due to how stubFor static method works, it is currently difficult to set up more than one Wiremock server instance.
stubFor
With https://github.com/tomakehurst/wiremock/issues/18 in mind, modify WiremockExtension so it will be able to automatically manage additional Wiremock instances.
Some option should also be present allowing for configuration injection (in JSON perhaps), so that most of the cases (simple HTTP server, mock repository/data source) could be configured other way than programatically.
Fixed by #10, further improvements for configuration are deemed unnecessary for now.
Due to how
stubFor
static method works, it is currently difficult to set up more than one Wiremock server instance.With https://github.com/tomakehurst/wiremock/issues/18 in mind, modify WiremockExtension so it will be able to automatically manage additional Wiremock instances.
Some option should also be present allowing for configuration injection (in JSON perhaps), so that most of the cases (simple HTTP server, mock repository/data source) could be configured other way than programatically.