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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by A L, 10 months ago
Expected status 200 for http://localhost:8080/__admin/near-misses/request-pattern but was 500
via GitHub by zhao-li
, 1 year ago
Expected status 200 for http://localhost:8080/__admin/near-misses/request-pattern but was 500
via Google Groups by Unknown author, 10 months ago
Expected status 201 for http://localhost:8080/__admin/mappings/new but was 500
via GitHub by popkutty
, 2 months ago
Expected status 201 for http://localhost:8080/__admin/mappings but was 404
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(HttpAdminClient.java:269)
at com.github.tomakehurst.wiremock.client.HttpAdminClient.postJsonAssertOkAndReturnBody(HttpAdminClient.java:249)
at com.github.tomakehurst.wiremock.client.HttpAdminClient.findTopNearMissesFor(HttpAdminClient.java:217)
at com.github.tomakehurst.wiremock.client.WireMock.findAllNearMissesFor(WireMock.java:523)
at com.github.tomakehurst.wiremock.client.WireMock.findNearMissesFor(WireMock.java:519)
at com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:387)
at com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:367)
at rsae.adapter.HttpSinkTest.testHttpSink(HttpSinkTest.java:82)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.