13 years ago
SoapUi: read my input request data from txt file
request:
<urn1:req_insert_held_receipts>
<urn1:din_pin>2243797</urn1:din_pin>
</urn1:req_insert_held_receipts>
On the request I want to made the node din_pin as variable.
What i did is define a properties ( properties.jpg). Then change the request.
New request after adding properties
<urn1:req_insert_held_receipts>
<urn1:din_pin>${Properties#dinpin}</urn1:din_pin>
</urn1:req_insert_held_receipts>
My question is: I want to make the node DIN_PIN to read from a text file. Eg. dinpin.txt
content of dinpin.txt
2243797
2243798
2243799
Please help on how to make read an input to my request to read from dinpin.txt
thank you.
<urn1:req_insert_held_receipts>
<urn1:din_pin>2243797</urn1:din_pin>
</urn1:req_insert_held_receipts>
On the request I want to made the node din_pin as variable.
What i did is define a properties ( properties.jpg). Then change the request.
New request after adding properties
<urn1:req_insert_held_receipts>
<urn1:din_pin>${Properties#dinpin}</urn1:din_pin>
</urn1:req_insert_held_receipts>
My question is: I want to make the node DIN_PIN to read from a text file. Eg. dinpin.txt
content of dinpin.txt
2243797
2243798
2243799
Please help on how to make read an input to my request to read from dinpin.txt
thank you.