Forum Discussion

sirishap's avatar
10 years ago

Need Groovy script to undo changes in Request

Hi All,

This is Sirisha. I have created a soap suite for my project.
In the first iteration I am deleting a DomNode from the request and hitting it.
For next iteration I want to undo the changes in the request.
Is there any possibility of writing a groovy script to undo changes in Request.
Please help me out.

Thanks,
Sirisha.

1 Reply

  • kondasamy's avatar
    kondasamy
    Regular Contributor
    You could add the DomNode in the second iteration...If you think you have missed the node deleted, you could save the deleted node in a Project - Property...and could be fetched and added in second iteration...

    Thanks,
    Samy