Forum Discussion

Jan_Novak's avatar
16 years ago

New action in XML editor?

Hi,

I would like to add new item at pop-up menu in xml editor (response). Some receive data (XML structure) are base64 encoded and I need something simple to decode them. I found some information about "actions", but XML editor looks like "hard coded" (it is not use soapui-action.xml). Do you have any idea how to do this?

Regards
  JAN

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello!

    Sorry, this isn't possible for the time being. What you could do is create a RequestFilter that gets called after each request. This could be used to modify the response before it is displayed, for instance, by adding the decoded base64 values as XML comments. A simpler approach could be to use a Groovy Script to get the response content, find the base64 values, and log the decoded values to the Groovy log.

    Regards,
    Dain
    eviware.com