Forum Discussion

smadji's avatar
smadji
Contributor
11 years ago

[Res]outline and overview tab showing part of the response

I have increased the amount of viewable lines in the outline tab.
I have updated my request to return less lines

the outline tab is showing
data
@contentType
@content length

the results are not showing on the outline/overview tabs

not seeing any errors in the error log

8 Replies

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

    You have increased the size of the editor by going in Preferences > SoapUI Pro > Click OK. Close and open SoapUI Pro and check if the content is displayed. This should work. Can you attach the screenshots?

    Thanks,
    Jeshtha
  • I have increased the output viewable lines for the outline tab through the preference tab.
    I closed soapUI pro and reopened.
    My problem is still there.
    Please see attached
  • I have downloaded the latest snapshot and installed. This did not fix my problem.
    I am going to open a ticket, thanks
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Remove the CDATA in the response tab follow this link,
    http://www.soapui.org/Functional-Testin ... the-rescue

    This link will remove CDATA and update the response,
    Open the Project window, select the "Events" tab and add a RequestFilter.afterRequest handler. Set its content to:

    //Script if( request.response == null )
    return

    def content = context.httpResponse.responseContent
    content = content.replaceAll( "<!\\[CDATA\\[", "" )
    content = content.replaceAll( "]]>", "" )

    //log.info( content )

    context.httpResponse.responseContent = content

    This will fix the issue.

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

    Make sure CDATA contents are XML or you need to convert it to XML by adding a query parameter at Resource level and set it to XML so it will work.

    Thanks,
    Jeshtha
  • problem happens because my requests were coming in as json. When I converted each request to xml all the data was showing and available for assertion.