AnsweredAssumed Answered

Multi and modified response for single request

Question asked by praneeth.d55 on Apr 24, 2017
Latest reply on May 2, 2017 by Rick.Brown

Hi Team,

I have a unique requirement where I send a single request to vsm this should then retrieve response from LISA where first response should be modified with some field values and need to get back original + modified response for single test I do. Also I have requirement to set the records for example 1000 then 1000 response should be returned with each responses unique. Below sample example of this requirement for 10 records.

 

Example parameters and the response should respond with 10 records of the same structure with a field value changed in appended response to original. The response should have the same structure with field value change for name, age for 10 records in the response. Data returned back from append response is not a concern here.

 

Protocol used Rest.

 

Ex:

Request:

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2001/12/soap-envelope" SOAP-ENV:encodingStyle="http://www.w3.org/2001/12/soap-encoding" >

<SOAP-ENV:Body xmlns:m="http://www.xyz.org/quotations" >
<m:GetQuotation>
<m:QuotationsName>MiscroSoft</m:QuotationsName>
</m:GetQuotation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2001/12/soap-envelope" SOAP-ENV:encodingStyle="http://www.w3.org/2001/12/soap-encoding" >

<SOAP-ENV:Body xmlns:m="http://www.xyz.org/quotation" >
<m:GetQuotationResponse>
<m:name>Here is the name</m:name>

<m:age>Here is the age</age>

<m:***>Here is the ***</m:***>

</m:GetQuotationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Outcomes