{"action":"created","issue":{"url":"https://api.github.com/repos/jadler-mocking/jadler/issues/58","labels_url":"https://api.github.com/repos/jadler-mocking/jadler/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/jadler-mocking/jadler/issues/58/comments","events_url":"https://api.github.com/repos/jadler-mocking/jadler/issues/58/events","html_url":"https://github.com/jadler-mocking/jadler/issues/58","id":16748653,"number":58,"title":"Verification should somehow let user know why it failed","user":{"login":"lukas-krecan-gdc","id":834576,"avatar_url":"https://avatars.githubusercontent.com/u/834576?v=3","gravatar_id":"","url":"https://api.github.com/users/lukas-krecan-gdc","html_url":"https://github.com/lukas-krecan-gdc","followers_url":"https://api.github.com/users/lukas-krecan-gdc/followers","following_url":"https://api.github.com/users/lukas-krecan-gdc/following{/other_user}","gists_url":"https://api.github.com/users/lukas-krecan-gdc/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas-krecan-gdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas-krecan-gdc/subscriptions","organizations_url":"https://api.github.com/users/lukas-krecan-gdc/orgs","repos_url":"https://api.github.com/users/lukas-krecan-gdc/repos","events_url":"https://api.github.com/users/lukas-krecan-gdc/events{/privacy}","received_events_url":"https://api.github.com/users/lukas-krecan-gdc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jandudek","id":4403930,"avatar_url":"https://avatars.githubusercontent.com/u/4403930?v=3","gravatar_id":"","url":"https://api.github.com/users/jandudek","html_url":"https://github.com/jandudek","followers_url":"https://api.github.com/users/jandudek/followers","following_url":"https://api.github.com/users/jandudek/following{/other_user}","gists_url":"https://api.github.com/users/jandudek/gists{/gist_id}","starred_url":"https://api.github.com/users/jandudek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jandudek/subscriptions","organizations_url":"https://api.github.com/users/jandudek/orgs","repos_url":"https://api.github.com/users/jandudek/repos","events_url":"https://api.github.com/users/jandudek/events{/privacy}","received_events_url":"https://api.github.com/users/jandudek/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2013-07-15T10:59:28Z","updated_at":"2016-01-26T07:20:32Z","closed_at":null,"body":"Imagine I have the following verification\r\n\r\n    verifyThatRequest().havingBody(contains(\"Bla\")).receivedOnce();\r\n\r\nWhen it fails due to different body content, there is no way how to find out what went wrong apart from debugging. It would be nice to give some hint.\r\n\r\nI know that it's not easy but I am sure you will figure something out.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jadler-mocking/jadler/issues/comments/174868007","html_url":"https://github.com/jadler-mocking/jadler/issues/58#issuecomment-174868007","issue_url":"https://api.github.com/repos/jadler-mocking/jadler/issues/58","id":174868007,"user":{"login":"Kreinoee","id":851301,"avatar_url":"https://avatars.githubusercontent.com/u/851301?v=3","gravatar_id":"","url":"https://api.github.com/users/Kreinoee","html_url":"https://github.com/Kreinoee","followers_url":"https://api.github.com/users/Kreinoee/followers","following_url":"https://api.github.com/users/Kreinoee/following{/other_user}","gists_url":"https://api.github.com/users/Kreinoee/gists{/gist_id}","starred_url":"https://api.github.com/users/Kreinoee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kreinoee/subscriptions","organizations_url":"https://api.github.com/users/Kreinoee/orgs","repos_url":"https://api.github.com/users/Kreinoee/repos","events_url":"https://api.github.com/users/Kreinoee/events{/privacy}","received_events_url":"https://api.github.com/users/Kreinoee/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T07:20:32Z","updated_at":"2016-01-26T07:20:32Z","body":"A simple solution could just be to print all the request received, when a verification fails. Adding the following to test with failed expectations, is typically enough for me to save me a debug session:\r\n```\r\nonRequest()\r\n          .respondUsing(new Responder {\r\n            override def nextResponse(request: Request): StubResponse = {\r\n              println(\"--Got Request: \" + request)\r\n              StubResponse.builder().status(200).build()\r\n            }\r\n          })\r\n```\r\n"}}