Contributions
Re: Update an xml tag in an xml file that has been loaded via Directory loading
Richie, Thank you so much! I got it working :) Your post saved me many many hours of googling it and hacking it together :) Thanks again, Delia5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes0CommentsUpdate an xml tag in an xml file that has been loaded via Directory loading
Hi all, So, my project continues. I now have 20 xmls in a directory, which I am able to load via a DataSource step, SOAP request, Data loop. I have realised that I have a fundamental issue with my xml in that the data needs to be relevant for todays date. Each xml has a field <ScheduleDate v="2019-09-06T20:00Z"/> How the devil do I load each file, and then change the field to be today's date. I had hoped I could do it via adding another datasource step and selecting xml as the file format and passing the FileContent from the first step to it, and then parameterize it, and then update the date, and the pass it to the SOAP Request. But when I load the file at the datasource step, it appears as a single line of xml and does not let me split out the properties. This, I think, then stops me having an ability to manipulate the xml date field in the XML datasource step. Sorry, I appreciate I've probably not explained myself very well :( Thanks in advance, DeliaSolved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes2CommentsRe: ReadyAPI - inserting entire xml body in to SOAP post
Hi Rich, Thanks for the reply, it's much appreciated. After a good nights sleep I managed to work out I was being a berk and was missing the obvious. I'll post what I was missing tomorrow, when i'm back home and can get on my laptop. Thanks, Delia5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes1CommentReadyAPI - inserting entire xml body in to SOAP post
Hi, I've just started using SOAP UI / ReadyAPI and have a question. I've written an excel app to help me generate lots of different test xmls for a project (it current produces 90 different types) These xml can then be submitted manually to a test website. I have a wsdl avialable to submit the xml via a post... However to use post, I need a standard header/Footer for each file (that are not requried for the manual load). What I'm struggling with, is how do I insert the entire xml file in to the body of the post, so it looks like Header Contents of file footer I can get it work if Insert the header and footer directly in to the xml files and then just parse the directory, but I would rather not update the xml file each time to include the header and footer as it then stops them working via the manul load. I know it must be something simple, but I've spent hours on this and keep going round in circles :( thanks in advance, DeliaSolved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes3Comments