Forum Discussion

omensio's avatar
omensio
Contributor
16 years ago

Unecessary empy elements

Is there a smart way to take away all unesassary optional, empty elements from the request. Our problem is that when creating a typical request manually the size is about 4 kb and creating it with SOUPUI it will be about 345 kb, so most of it unnesessary overhead.

Olli

4 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Olli,

    there is an "Remove Empty Elements" property on the request level (select a request and check the bottom left properties table), is that what you meant?

    regards!

    /Ole
    eviware.com
  • Hi,
    it does not affect xml tab's request (either does strip whitespaces property), only to raw view (what actually has been send). Is that right?
    Olli
  • ? is not empty!
    -> to get rid of those u should meka find-repace operation - right?
    Olli
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Yes, you would need to do a find and replace for ?, followed by the cleanup of empty elements.

    The XML view is designed to be humanly readable, while the Raw view is what actually gets sent to the server.

    Good Luck!
    /Nenad
    http://eviware.com