com.github.tomakehurst.wiremock.client.VerificationException: Expected status 200 for http://localhost:8080/__admin/near-misses/request-pattern but was 500

GitHub | zhao-li | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Trouble Getting Started

    GitHub | 8 months ago | zhao-li
    com.github.tomakehurst.wiremock.client.VerificationException: Expected status 200 for http://localhost:8080/__admin/near-misses/request-pattern but was 500
  2. 0

    Trouble Getting Started

    Google Groups | 8 months ago | A L
    com.github.tomakehurst.wiremock.client.VerificationException: Expected status 200 for http://localhost:8080/__admin/near-misses/request-pattern but was 500

    Root Cause Analysis

    1. com.github.tomakehurst.wiremock.client.VerificationException

      Expected status 200 for http://localhost:8080/__admin/near-misses/request-pattern but was 500

      at com.github.tomakehurst.wiremock.client.HttpAdminClient.safelyExecuteRequest()
    2. WireMock
      WireMockServer.verify
      1. com.github.tomakehurst.wiremock.client.HttpAdminClient.safelyExecuteRequest(HttpAdminClient.java:269)
      2. com.github.tomakehurst.wiremock.client.HttpAdminClient.postJsonAssertOkAndReturnBody(HttpAdminClient.java:249)
      3. com.github.tomakehurst.wiremock.client.HttpAdminClient.findTopNearMissesFor(HttpAdminClient.java:217)
      4. com.github.tomakehurst.wiremock.client.WireMock.findAllNearMissesFor(WireMock.java:523)
      5. com.github.tomakehurst.wiremock.client.WireMock.findNearMissesFor(WireMock.java:519)
      6. com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:387)
      7. com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:367)
      8. com.github.tomakehurst.wiremock.WireMockServer.verify(WireMockServer.java:279)
      8 frames
    3. rsae.adapter
      HttpSinkTest.testHttpSink
      1. rsae.adapter.HttpSinkTest.testHttpSink(HttpSinkTest.java:82)
      1 frame