Forum Discussion

SumitM's avatar
SumitM
Occasional Contributor
6 years ago
Solved

how to add / remove xml nodes from soap request with groovy test step.

Hi,   Can anyone please suggest me how to move forward for below issue.   Issue : I need to add / delete xml nodes from my base soap request as per my scenarios during run time.   Descrip...
  • nmrao's avatar
    nmrao
    6 years ago
    Instead, you could replace the whole request instead of editing the nodes.

    May be store the exact request xmls into file per test and specify those file names in your excel data.
    While processing the datasource, read column value which is xml request file name, read that file and replace the request - which is more simple than what you are trying to do.