Forum Discussion

tom_13's avatar
tom_13
Contributor
17 years ago

to equal tags in request

Hi,
In XML of my soap request I have two equal tags like . I need to insert there values using Property Transfer. When I use it, value inserts only in the first tag. How I can insert first value in first tag, and second value in second tag?

1 Reply

  • masterkeedu's avatar
    masterkeedu
    Occasional Contributor
    Tom:

    Use property expansion instead. It skips the need to add additional test steps.

    In my example I have a response that feeds a unique ID into a following request.
    SessionID="${OrderCLUEAuto#Response#//soapenv:Envelope/soapenv:Body/p879:Acknowledgement/@SessionID}"


    Just use that in both tags of your request. (of course alterning the xpath query for your needs.)

    http://www.soapui.org/userguide/propert ... _in_soapUI