Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Rest API - Multipart request and response
Comments
-
You could use a Text Data Bank to extract the body of the part that you want to validate. You could then set up a JSON Assertor (assuming the content is in JSON format) that uses the extracted value as input to the assertor.
1 -
Thanks for your reply. i have tried that option earlier. But it dint store any content on that. I am getting empty response there
0 -
It sounds like the text boundaries that you are using in the Text Data Bank are not finding the right content. Do the MIME boundaries in your message change every time? If so, that might be why.
0 -