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

GitHub | zhao-li | 4 months ago
  1. 0

    Trouble Getting Started

    GitHub | 4 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 | 4 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
  3. 0

    Failed to communicate with "admin/reset" endpoint

    GitHub | 1 year ago | pavetok
    com.github.tomakehurst.wiremock.client.VerificationException: Expected status 200 for http://localhost:8080/__admin/reset but was 500
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Wiremock misleadingly tells it failed to communicate with admin endpoint

    GitHub | 1 year ago | kmejka
    com.github.tomakehurst.wiremock.client.VerificationException: Expected status 200 for http://localhost:8090/__admin/requests/count but was 500
  6. 0

    com.github.tomakehurst.wiremock.client.VerificationException: Expected status 201 for http://localhost:8080/__admin/mappings/new but was 404

    Stack Overflow | 6 months ago | Sathish Kumar
    com.github.tomakehurst.wiremock.client.VerificationException: Expected status 201 for http://localhost:8080/__admin/mappings/new but was 404

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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