Can I use RawFileBodypart without the first parameter, name?
. exec(
http(“CreatedocwithSource”)
.post(“https://financialdocument-prf.platform.intuit.net/v2/documents”)
.headers(ICNheaders)
.bodyPart(RawFileBodyPart(,"/Users/sarchak/Desktop/work/FDP.xml").contentType(“application/xml”))
.bodyPart(RawFileBodyPart(“image”,"/Users/sarchak/Desktop/work/DataLoginIdToCreate/1MbImage1.jpg").contentType(“image/jpeg”)))
my requiremnet is I need to upload an xml file as the first body part without filename and the second body part is a image with filename “image”.
How can I implement this in gatling?
Srinivas