Forum Discussion

shabar's avatar
shabar
Contributor
13 years ago

[Resolved] Assign Response XML to a Property

Hi All,

I just wondering how can assign response xml to a property in SoapUI.



Cheers

5 Replies

  • SiKing's avatar
    SiKing
    Community Hero
    Using property transfer step, just specify ${step_name#Response#} as the source and parameter name as the destination.
  • SiKing wrote:
    Using property transfer step, just specify ${step_name#Response#} as the source and parameter name as the destination.


    Hi SiKing,

    Thanks for your response.

    Is there a default property in SoapUI where the request/response automatically get assigned?


    Cheers
  • SiKing's avatar
    SiKing
    Community Hero
    Yes: ${step_name#Request#} and ${step_name#Response#}
  • SiKing's avatar
    SiKing
    Community Hero
    You might also be interested in two variants: ${step_name#RawRequest#} and ${step_name#ResponseAsXml#}.