Contributions
XML and Form data out of sync
Is there a way to tell SoapUI to write out what's current in the form into the XML tab? I have a situation where the XML does not match what's populated in the form and other than recreating the test step from scratch, I can't seem to find a way to repopulate the XML based on the form data. Recreating from scratch is certainly not ideal as there are in excess of over 65 fields in this request. I'd also be curious as to how the XML and the form data could ever get out of sync. Any thoughts? Thanks, MWF15 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes2CommentsSoapUI Pro Forums
Perhaps today is just not my day but I cannot figure out for the life of me how to access the SoapUI Pro forums. Anyone want to toss up a link to the registration page for the Pro forums? I'd like to create a login for our team. Thanks and my apologies if I missed something obvious.15 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews0likes1CommentNot sure why this XPath conditional GoTo is failing
Here is the response I'm attempting to test: <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns3:searchContactResponse xmlns:ns6="http://pat.att.com/webService/Folder" xmlns:ns5="http://pat.att.com/webService/Group" xmlns:ns4="http://pat.att.com/webService/Subscriber" xmlns:ns3="http://pat.att.com/webService/Contact" xmlns:ns2="http://pat.att.com/webService/Common"> <ns3:quickContactItems> <ns2:currentPageIndex>1</ns2:currentPageIndex> <ns2:totalRecords>1</ns2:totalRecords> <ns2:totalPages>1</ns2:totalPages> <ns2:previousPage>0</ns2:previousPage> <ns2:nextPage>0</ns2:nextPage> <ns3:items> <ns3:id>12444</ns3:id> <ns3:firstName>Quality</ns3:firstName> <ns3:lastName>Assurance</ns3:lastName> </ns3:items> </ns3:quickContactItems> </ns3:searchContactResponse> </S:Body> </S:Envelope> This is the statment I'm attempting to run against the response: declare namespace ns3='http://pat.att.com/webService/Contact'; declare namespace ns2='http://pat.att.com/webService/Common'; contains(/ns3:quickContactItems/ns2:totalRecords, "1") However, the test always indicates: No condition true for current response in [searchContact - Request 1] Based on what I understand, that statement should evaluate to true.1.9KViews0likes1Comment