Closed
Description
Elnur Abdurrakhimov opened SPR-12230 and commented
Currently, when making an unexpected request to the mock server, I get an exception java.lang.AssertionError: No further requests expected
.
It's a real pain to find out which request is at fault, because there is not enough information in that exception's stacktrace.
It would be really helpful to have all the expected requests, that were already done, to be displayed. It should also display which request was expected next and which one came instead and caused the expectations to fail.
Affects: 3.2 GA
Issue Links:
- MockRestServiceServer should allow more verification options [SPR-12408] #17016 MockRestServiceServer should allow more verification options