I’ve searched for this issue and seems to be discussed a couple of times but with no real resolution.
I’m trying to upload an XML file using a POST request and form-data, but I get the following error response:
{
"error":"The results file is required."
}
The error shows using ObjectRepository and also by code using with withMultipartFormDataBodyContent()
If I use curl it works fine. Also works fine with Postman.
Can someone please help me with this?
Thanks.
After a looooooooooooong time of searching and trying different things I already found the solution (that works for me). It uses Okhttp library so you will need to import it. If anyone else need it, there it is:
I've opened a ticket to support because with the built in functionality in Katalon, it is currently (or I don't know how to do it) not possible.