HOw to send the raw http request in gatling?
I have following request in which i need to send two attachments as raw body , http body request is like below :
–))))))))))))))
Content-Disposition: form-data; name=“docMetadata”
Content-Type: application/json
{“id”:"${docIDs}",“docType”:“asd:document”,“siteId”:“36589”,“modifiedBy”:“Perf Team-Ashish Kumar”,“cssUpdateDescription”:“test”,“attachments”:[{“attachmentStatus”:“Added new”,“attachmentPriority”:“1”,“attachment_name”:“Devaaaops-a.ppaatx”,“portalLabel”:“aaaaa.txt”,“attachmentType”:“asd:attachment”}]}
–))))))))))))))
Content-Disposition: form-data; name=“file”; filename=“aaaaa.txt”
Content-Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
${__FileToString(add-PerformanceTesing.pptx)}
–))))))))))))))
How to send this in gatling body request