Forum Discussion

tt's avatar
tt
New Contributor
10 years ago

Re: selectively forward request from mock service

Thanks for the quick reply Rupert.  In concept, I understand your approach. 

can you please explain this line:

def callBackRequest = (WsdlTestRequestStep) callBackTestCase.getTestStepsOfType(WsdlTestReques​tStep.class).get(0)

 

I'm pretty new to groovy and I am not familiar with the syntax of the class name in parens in "callBackRequest = (WsdlTestRequestStep) . . . "

 

Also, at some point, I need to package this mock into a war.  I am hoping that the extra test suite I added can be included.

 

Thanks!!

Tim

No RepliesBe the first to reply