Roman Brühlmann02/13/2023, 10:07 AM
annotation right now. I could add `.withHeader(HttpHeaders.CONNECTION, "close")`to every single stub, but I guess there is a better more general solution. Thank you
@AutoConfigureWireMock(port = 0)
Tom02/13/2023, 10:26 AM
Roman Brühlmann02/13/2023, 4:52 PM
in the application.yml does the trick.
feign: client: config: default: # fix NoHttpResponseException on Jenkins <https://stackoverflow.com/questions/55624675/how-to-fix-nohttpresponseexception-when-running-wiremock-on-jenkins> defaultRequestHeaders: Connection: - close