Forum Discussion

JHoreczky's avatar
JHoreczky
Contributor
14 years ago

Parsing application/x-java-serialized-object response

We are trying to use SoapUI Pro 4.5 for testing of a servlet. Submitting the request through SoapUI works well. The problem is the reading of the response. The servlet returns a response as an application/x-java-serialized-object. Is there any example available about how to parse this type of response? I understand that SoapUI is primarily for web services testing and it would be quite straightforward to write our test using Apache's HTTPClient in combination with Junit, however we are trying to leverage the data driven testing capabilities in SoapUI for the servlet testing.


Thanks,

Joseph H.

11 Replies

  • Hi Ole,

    Please disregard the last message. I had to use classpathHacker.addFile( myfile ) and then the import worked.

    I am still working on a number of details, so it's too early yet for me to consider the sharing of the end to end solution, as I need to finish it first. If you are still interested - as you mentioned earlier in this thread - we can certainly discuss it.


    Thanks,

    Joseph H.