how to overwrite xml data on the request
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2017
09:54 AM
01-07-2017
09:54 AM
how to overwrite xml data on the request
Hi All,
I have a requirement where i have to read external xml data from a notepad and overwrite on the request and run the request using Groovy and read the response and save into a notepad file.
I would request you please help me on how to overwrite the external xml data on the request soap xml.
Thanks,
Raj
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2017
05:40 PM
01-08-2017
05:40 PM
What is your use case?
Regards,
Rao.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2017
04:20 AM
01-15-2017
04:20 AM
yes, this is my usecase.
I have got all .xml files in a folder. Let's there are 20 .xml files in a folder.
These 20 .xml files are request files. So my objective is to read all 20 .xml files one after another request file and store all 20 response files in another folder.
Please let me know better solution.
Thanks,
Raj
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2017
09:07 PM
01-15-2017
09:07 PM
You mean say that you want to use data driven approach?
You get some hints from below thread:
http://stackoverflow.com/questions/40471259/groovy-script-to-read-an-xml-file-and-update-next-step-r...
http://stackoverflow.com/questions/41351962/how-to-write-all-soap-request-available-in-project-using...
Regards,
Rao.
You get some hints from below thread:
http://stackoverflow.com/questions/40471259/groovy-script-to-read-an-xml-file-and-update-next-step-r...
http://stackoverflow.com/questions/41351962/how-to-write-all-soap-request-available-in-project-using...
Regards,
Rao.
