Mule 4 MUnit multipart/form-data Payload

The following article gives an example of posting a multipart/form-data payload in MUnit. 

  • Mule version: 4.2.2
  • MUnit version: 2.2.2

This article assumes that you have already built a RAML and have a POST method accepting multipart/form-data content and asserting it can be done as per your requirements.