Forum Discussion

DaveyBoy's avatar
DaveyBoy
New Contributor
3 years ago
Solved

ReadyAPI XML Creation (for Radar Live) to ignore empty Elements without Values

Hi, I'm a newbie to ReadyAPI but with lots of experience around XML and Dev. We use ReadyAPI to create XML's from Excel to fire at Radar Live. Whilst designing the 'Soap Request' XML, is there a way ...
  • richie's avatar
    3 years ago
    Hey DaveyBoy,

    How are you creating your SOAP services in ReadyAPI, are you creating a project directly from the .wsdl?

    This wont stop empty elements being generated, but it will completely minimise the effort of creating the payloads as the test steps in ReadyAPI are child records linked from the APIs you create.

    If you dont want empty elements you could use the datasource functionality (and hard code all your payloads in either one or multiple external files), but this seems like a lot of effort you dont need to bother with if importing the .wsdl first

    Cheers

    Rich