Forum Discussion

Naveen87's avatar
Naveen87
Occasional Contributor
10 years ago

how to read a single request from multiple requests in a xml file

Hi All, 

 

I am using SOAP 5.1.2 and below is my requirement

I have an property file, where data will be dynamically changed and XML file with multiple requests

 

Here, I have an property file as below

<email.id>xyz@gmail.com</email>

<pwd.pd>xyzadf</pwd>

 

and xml with multiple requests as below

<tc1>

    <payload>email=${email.id}&pwd=${pwd.pd}</payload>

</tc1>

 

<tc2>

       <payload>email=${email.id}&pwd=${pwd.pd}</payload>

</tc2>

 

the email and pwd filed in xml file will changed based the value assigned in property file which will be manually given.

 

can anyone help me on how to read the value in property file(which will be a local file) and set in xml file and how to access the request from multiple request. I have to access a particular request like tc1 and tc2 for teststep

 

 

 

 

 

 

 

4 Replies