• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

GroovyUtils removeDomNodes says no error, but do not see the request being updated

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am very new to groovy , and I have a input request that is one of the test step of a test suite/Test case in soap UI 4.5.1, the requirement is to remove a node based on some conditional check and write back to the test step, here is the XML:


And I want to remove the node <Cover key="2"> So I wrote this groovy script in soapUIPro 4.5.1:



It prints done,but I don't see anything happening, so obviously I need to set the context or request? but did not find the right API docs for that, please kindly help anyone.
 
Sindhu Kodoor
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Never mind. removeNodes do not work for some reason. So, I switched to XmlParser.
 
reply
    Bookmark Topic Watch Topic
  • New Topic