Michael_McDonal
16 years agoOccasional Contributor
Test step to wrap an arbitrary resource as a Request
I currently have a need to verify DB contents after submitting a request.
I know this can be done with Groovy script, but I think it would be useful to have a test step that could wrap a resource like a JDBC connection as if it was a Request and allow the standard Request assertions to be applied to the result.
I've thought about implementing in the OnRequest script of a mock service, but this would be a global resource rather than an isolated component in a script.
I know this can be done with Groovy script, but I think it would be useful to have a test step that could wrap a resource like a JDBC connection as if it was a Request and allow the standard Request assertions to be applied to the result.
I've thought about implementing in the OnRequest script of a mock service, but this would be a global resource rather than an isolated component in a script.