kralston
13 years agoOccasional Contributor
Multiple Property Transfer Question
I am using SoapUI 4.5.2
I have a ResponseXML that looks something like this
<Documents>
<Document>
<ID>1234</ID>
<Title>Sales Report</>
</Document>
<Document>
<ID>5678</ID>
<Title>Sales Report</>
</Document>
</Documents>
I'm trying to Transfer the IDs into properties DocId1 and DocId2.
I've added the Property transfers for each, selected the source from the dropdown and the property as ResponseAsXML. In the Xpath area I've placed //ID and it will return the first ID.
I have chosen the proper Target and the particular property from the dropdowns.
My problem is I want to qualify the //ID with [1] in the first transfer and [2] in the second transfer but the app does not seem to recognize the [].
Any suggestions would be greatly appreciated.
I have a ResponseXML that looks something like this
<Documents>
<Document>
<ID>1234</ID>
<Title>Sales Report</>
</Document>
<Document>
<ID>5678</ID>
<Title>Sales Report</>
</Document>
</Documents>
I'm trying to Transfer the IDs into properties DocId1 and DocId2.
I've added the Property transfers for each, selected the source from the dropdown and the property as ResponseAsXML. In the Xpath area I've placed //ID and it will return the first ID.
I have chosen the proper Target and the particular property from the dropdowns.
My problem is I want to qualify the //ID with [1] in the first transfer and [2] in the second transfer but the app does not seem to recognize the [].
Any suggestions would be greatly appreciated.