Contributions
Re: Soapui - updating response xml file
Roa- Thanks for above. Note - I am testing response message generates from WSDL in SOAPUI (web service) Can you also guide on code for below steps in one groovy script 1) Groovy code for getting access to response XML which exist as part of WSDL response message 2) Add new nodes based on namespace in response XML using Groovy script 3) Using groovy script post the modified XML so that it gets executed after Groovy script modifies it Thanks in advance3.2KViews0likes2CommentsSoapui - updating response xml file
My requirements is mentioned below 1) I am able to ready multiple rows from excel file using groovy script 2) I want to add dynamic child nodes based on data from step 1 in response xml using groovy script 3) then execute the test case using groovy script Can I get code to achieve this?Solved3.2KViews0likes4CommentsRe: URGENT- SOAPUI- Dynamical XML for creating elements
Rao - Please advise the solution for my requirements. I need to read data from Excel and then create child XML nodes based on number of rows in Excel which will be dynamic6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes2CommentsRe: URGENT- SOAPUI- Dynamical XML for creating elements
Rao - Can you suggest right solution for my requirements I have data in Excel sheet. Rows can change for each call to the request. Sometimes I get 2 lines and sometimes I get 3 lines. I want to ready and pass data from Excel sheet and dynamically created nodes in XML in one message itself Message Example Header ...... Nodes < Item no = ? > < Batch number =?> Nodes elements should be dynamically added based on number of rows in Excel Please advise Thanks Sameer Kaushik6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes0CommentsRe: URGENT- SOAPUI- Dynamical XML for creating elements
Thanks for picking this up. As my number of lines may be different in each request for example it may be 3 or 4 or 6 etc so I am using Excel to pass data to request instead of creating XML elements based on data and hardcoding them with parameters. Thanks6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes6CommentsURGENT- SOAPUI- Dynamical XML for creating elements
Hi, I have a below structure in my Test case Note - I am using Soapui PRO 1) Data source - reading multiple rows from Excel file 2) Request method 3) Data source loop When I run the test case, data source takes multiple rows from the Excel file. It loops each row and generates separate XML file for each row. For example Message 1 for first row in Excel Header XML elements <......> Child XML elements Ship no 1 Qty 1 Batch number 001 Message 2 for second row in Excel Header XML elements Child XML elements Ship no 2 Qty 5 Batch number 002 _-----------++++++---------- What I want is Message Header XML elements Child XML elements Ship no 1 Qty 1 Batch number 001 Ship no 2 Qty 5 Batch number 002Solved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes8Comments