[SWS-694] Print SOAP message if validation fails Created: 18/Feb/11  Updated: 04/May/12  Resolved: 21/Mar/11

Status: Closed
Project: Spring Web Services
Component/s: Test
Affects Version/s: 2.0 GA
Fix Version/s: 2.0.1

Type: Improvement Priority: Minor
Reporter: Lukas Krecan Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1h 22m
Original Estimate: Not Specified

Attachments: File error-message.patch    


When a validation in a RequestMatcher or ResponseMatcher fails, it's sometimes hard to find out what went wrong. If the AssertionError contained the message, it would have been easier to detect the issue.

Patch attached

Comment by Arjen Poutsma [ 21/Mar/11 ]

Hi Lukas,

I've committed the patch with some minor changes, including the capability to add a label, indicating what the source is actually supposed to be. I've also made the AssertionError subclass a top-level class, so that people can specifically test for it.

Could you please take a look at the current SVN and see if everything is in order?



Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Sun Nov 18 14:11:58 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.