[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: Text File error-message.patch    

 Description   

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



 Comments   
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?

Cheers,

Arjen

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Tue Dec 12 18:06:14 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.