mohbubur_rahman
16 years agoContributor
Capturing actual Soap Request sent
Hi,
Can you help me with the syntax required to capture the actual soap request sent. If I use the following code where I have used PropertyExpansion, the request does not contain the actual values sent but the PropertyExpansion (${DataSource#ID})
// get the request object
def request = testRunner.testCase.testSteps["Request_1"].testRequest
// get the actual messages
def SOAPrequestContent = request.requestContent
Thanks,
Moks
Can you help me with the syntax required to capture the actual soap request sent. If I use the following code where I have used PropertyExpansion, the request does not contain the actual values sent but the PropertyExpansion (${DataSource#ID})
// get the request object
def request = testRunner.testCase.testSteps["Request_1"].testRequest
// get the actual messages
def SOAPrequestContent = request.requestContent
Thanks,
Moks