I have a request with three input parameters.
These three values will return my expected response. I have 9 different scenarios that will each return a different response. I have a test step already created that will call the mockservice, but I need to be able to branch on the request coming and provide the associated response.
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:ust="
http://www.test.com"> <soapenv:Header/>
<soapenv:Body>
<ust:Cre>
<ust:A>A</ust:A>
<ust:C>X</ust:C>
<ust:F>B</ust:F>
</ust:Cre>
</soapenv:Body>
</soapenv:Envelope>
Expected Return
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:ust="
http://www.test.com"> <soapenv:Header/>
<soapenv:Body>
<ust:CreResponse>
<ust:CreList>
<!--0 to 100 repetitions:-->
<ust:Cre>
<ust:CreKey>${guidVal}</ust:CreKey>
<ust:CreType>A</ust:CrwType>
<ust:CreReqQty>4</ust:CreReqQty>
<ust:FDay>
<!--Optional:-->
<ust:FDayPeriod>Basic</ust:FDayPeriod>
<!--Optional:-->
<ust:FPeriodCode>B</ust:FPeriodCode>
<!--Optional:-->
<ust:DLength>1080</ust:DLength>
<!--Optional:-->
<ust:MaxPeriod>16</ust:MaxPeriod>
<!--Optional:-->
<ust:MinPeriod>12</ust:MinPeriod>
</ust:FDay>
<!--1 or more repetitions:-->
<ust:DPosition>
<ust:ACode>TEST</ust:ACode>
<ust:CCode>M</ust:CCode>
<ust:Cert>qualified</ust:Cert>
<ust:CCode>P</ust:CeCode>
<ust:CePosition>P</ust:CPosition>
<!--Optional:-->
<ust:CreReqQty>1</ust:CreReqQty>
</ust:DPosition>
</ust:Cre>
</ust:CreList>
</ust:CreResponse>
</soapenv:Body>
</soapenv:Envelope>