This is what i had done
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:sch=“http://www.tibco.com/schemas/SharedResources/Schemas/Schema.xsd”>
<sch:ServiceRequest>
<sch:Header>
<sch:RequestRefId>1</sch:RequestRefId>
<sch:SourceSystem>App</sch:SourceSystem>
<sch:OperationName>GetOffers</sch:OperationName>
<sch:OperationVersion>1</sch:OperationVersion>
<sch:UserID>userid</sch:UserID>
</sch:Header>
<sch:Body>
<sch:GetOffersRequest>
<sch:MSISDN>${Param1}</sch:MSISDN>
</sch:GetOffersRequest>
</sch:Body>
</sch:ServiceRequest>
</soapenv:Body>
But on logging the request the Param1 passed in the testcase as
def response = WS.sendRequest(findTestObject( 'GetOfferRequest' , [( 'Param1' ) : '070000000 ' ]))
|
The Param isn’t passed.