WireMock JUnit5 extension throws NPE when no headers in request/response

Issue #811 new
James Navin created an issue

In WireMockRequestResponseUtil the call to loggedRequest.getHeaders() may return null if no headers were included in the stubbing. This throws an NPE when we try to do loggedRequest.getHeaders().all().forEach`

Comments (0)

  1. Log in to comment