Forum Discussion

Smartian's avatar
Regular Visitor
2 years ago

Parse a multipart/data-form response

Hello all,

In my project, I want to assert the content of the reply from my server. I send a POST request containing only a xml file, and I get a multipart/form-data containing  2 parts as a response, as expected.

How do I parse those 2 parts of the response in a grovvy script ?

The problem is that the "response" property of my Request only contain the first part. The 2nd seems to be lost.

Thank you for your support.

No RepliesBe the first to reply