Ask a Question

Parse a multipart/data-form response

Smartian
Regular Visitor

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.

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: