Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

QUery about parmeterzation

Simrit
Simrit Posts: 5
edited March 2018 in Virtualize

Hi Team,
I have doubt regarding parameterization of part of an xml file

i have used a Data Source ( Read Contents from File) to save a chunk of xml
this chunk is then used in my response.
PFB an eg:

File name =Chunk.txt
has the below content



Pool
TID_DSL_V4_SA

in the response Xml i have parameterized it as

<?xml version="1.0" encoding="UTF-8"?>
    <com:allocateIPAddress>

        <com:customer>TID</com:customer>
        <com:service>TID DSL</com:service>
        <com:resourceType>IPV4</com:resourceType>
        <com:filterCriteria>
            ${Chunk.txt}
        <com:allocationSize>1</com:allocationSize>
        <com:status>Active</com:status>
    </com:allocateIPAddress>

But in response the Chunk.txt remains parameterized
Could you please help us with this

Best Answer

Answers