Need help setting up incremental value in Soap Request Body

Hi,

I need help with the below request. <stan>123456</stan> field needs to be update incrementally before posting the request to server for each API operations in my collections.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v3="http://mobiliser.sybase365.com/custom/project/services/contract/v3_0">
    <soapenv:Header/>
    <soapenv:Body>
        <v3:AccountClosureRequest callback="?" origin="?" traceNo="123123" repeat="false" >
            <!--Optional:-->
            <stan>123456</stan>
            <!--Optional:-->
            <accountNumber>4540150597168</accountNumber>
            <!--Optional:-->
            <requestDateTime>17022022084500</requestDateTime>
            <!--Optional:-->
            <transactionType>1088</transactionType>
            <!--Optional:-->
            <transactionChannel>AMA</transactionChannel>
        </v3:AccountClosureRequest>
    </soapenv:Body>
</soapenv:Envelope>

Many thanks in advance.

Hi @muhammadfarooq91 welcome to the community! :wave:

If you are just starting with Postman, I would recommend you to check-out some tutorials at Postman’s Youtube channel: https://youtube.com/postman

For your specific query, refer to the following doc on how to parse Test script examples | Postman Learning Center response.

Once you are able to parse and read data from API responses, learn how you can store it in variables Store and reuse values using variables | Postman Learning Center

Finally checkout how you can run your Postman collection Test your API functionality | Postman Learning Center


If you are instead facing an issue, do provide further context along with how the requests in your collection are structured and existing scripts that are not running as intended.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.