jpr
16 years agoOccasional Contributor
MockResponse step invoke multiple times
Hi,
I have a soapUI test case where a MockResponse teststep should be invoked multiple times (5x). I want to assert that a certain field in the received mock requests is 'X' for the first 4 invocations, and 'Y' for the 5th invocation.
But I can't seem to figure out how to do this.
If I add a groovy script assertion it is apparently only invoked for the first mock request?
I have a soapUI test case where a MockResponse teststep should be invoked multiple times (5x). I want to assert that a certain field in the received mock requests is 'X' for the first 4 invocations, and 'Y' for the 5th invocation.
But I can't seem to figure out how to do this.
If I add a groovy script assertion it is apparently only invoked for the first mock request?