Forum Discussion

MoUddin's avatar
MoUddin
Contributor
6 years ago
Solved

Could the static xml forms be edited through groovy within the response script?

Based on the examples, posted here: https://community.smartbear.com/t5/SoapUI-Pro/Sharing-is-caring-how-to-modify-xml-files-using-ReadyApi/m-p/168661   Do you think this would be possible witho...
  • Lucian's avatar
    6 years ago
    Ok so first you definitely can edit xml strings using the same code I posted above. I think you need to use the method 'parseText()' instead of 'parse' though...

    As for the other question... you can save the edited xml into a property and then use that value. I also wrote some article about properties few days ago.

    I'm on the phone right now but let me know if you need more help!