Forum Discussion
olensmar_1
15 years agoContributor
Hi!
Good point! Actually this isn't possible for the built in assertions, exception being the Script Assertion which can return any error message it wants when it throws an Exception. So either you use a Script Assertion or validate your response with a separate Groovy Script Step that can do the same (ie throw an exception with a descriptive message).
hope this helps!
regards,
/Ole
eviware.com
Good point! Actually this isn't possible for the built in assertions, exception being the Script Assertion which can return any error message it wants when it throws an Exception. So either you use a Script Assertion or validate your response with a separate Groovy Script Step that can do the same (ie throw an exception with a descriptive message).
hope this helps!
regards,
/Ole
eviware.com