Forum Discussion
wdowling
16 years agoOccasional Contributor
I have also looked at this and taken the approach of creating a script assertion that if it should fail the test step will return a formatted message including the REST request and response.
basically by testing the condition with an 'If' rather than the assert, if the condition is false I assert that the formatted response string is empty causing it to appear in the output in a way the Hudson/maven understand
basically by testing the condition with an 'If' rather than the assert, if the condition is false I assert that the formatted response string is empty causing it to appear in the output in a way the Hudson/maven understand
