RawFileBodyPart

File name is optional as there are some use cases for multipart that don’t send a Content-Disposition header.
So basically, you want the withFileName to take an Expression[String] instead of a String. Please open an issue.

Cheers,

Stéphane

I thought it might be something like that :slight_smile:

I opened an issue for this!

Thanks.

done: https://github.com/excilys/gatling/issues/1299