M_McDonald
16 years agoSuper Contributor
Rewriting HTTP RequestStep response
I'd like to know if it would be possible to rewrite the response for an HTTP RequestStep with a script in the RequestFilter.afterRequest event.
I want to be able to apply assertions to an XML that I would construct via Groovy SQL from a database without needing to have a Mock Service.
If this is possible a small example would be appreciated.
(What I am really missing is some kind of generic Assertion step which could be applied to any request, data source, property, script result, etc. with the appropriate assertion types.)
Thanks.
I want to be able to apply assertions to an XML that I would construct via Groovy SQL from a database without needing to have a Mock Service.
If this is possible a small example would be appreciated.
(What I am really missing is some kind of generic Assertion step which could be applied to any request, data source, property, script result, etc. with the appropriate assertion types.)
Thanks.