Forum Discussion
Hi Mous,
Thank you for your post. If you need to send the attachment content in the message payload instead of sending attachments as MIME parts of the Multipart message, please see the following article: How to send binary data in the request payload?
- mbarua7 years agoNew Contributor
Thank you Nastya.
How to apply the below . I did not get chunking threshold under preferences.
File -> Preferences -> Сhunking threshold
And applying the below code the file did not attach even and did not go to server storage
import org.apache.http.entity.FileEntity
FileEntity fe = new FileEntity(new File("C:\\temp.xls"),"application/octet-stream") // specify the file location
//fe.setChunked(true) // to send a file in chunks
context.getProperty("httpMethod").setEntity(fe)Please help.
- Nastya_Khovrina7 years agoSmartBear Alumni (Retired)
Hi Mous,
Can you provide me with an expected raw request and the request which you get in ReadyAPI?
Related Content
- 5 years agoodesmaele
- 5 years agoSandro2020
- 8 months agoMW_Didata