Thanks all.
I was able to make it work by removing the "Content-Type" header and adding
MIME type as an application/binary.
On Tue, Apr 23, 2024 at 12:43 AM Dmitri T wrote:
> Nuwan Mudalige wrote:
> > Hi,
> >
> > I have a file upload API call which is working fine on Postman.
> >
> > While I
Nuwan Mudalige wrote:
Hi,
I have a file upload API call which is working fine on Postman.
While I am recording that Postman request by Jmeter it is throwing "415
Unsupported Media Type" error.
I manually built a Jmeter test following the Postman but still failed with
the same issue.
Just tried again, no luck.
Here are the additional details about body contents
Postman request body type is form-data with following contents.
Key: file, Value=attachment (a file), Content-type:
multipart/form-data (these parameters are recorded under Files upload tab
in Jmeter)
Try with Content-Type value as
“application/xml“ or “application/json” depending upon your response type.
Adi
On Tue, 23 Apr 2024 at 6:50 AM, Nuwan Mudalige
wrote:
> multipart/form-data; boundary=bzfW
>
>
>
> On Mon, Apr 22, 2024 at 8:48 PM Aditya Singh
> wrote:
>
> > What is
multipart/form-data; boundary=bzfW
On Mon, Apr 22, 2024 at 8:48 PM Aditya Singh wrote:
> What is the content-type header value?
>
>
> Adi
>
> On Tue, 23 Apr 2024 at 5:41 AM, Nuwan Mudalige
> wrote:
>
> > Yes, Adi. Tried that but still the same result in Jmeter.
> >
> > On
What is the content-type header value?
Adi
On Tue, 23 Apr 2024 at 5:41 AM, Nuwan Mudalige
wrote:
> Yes, Adi. Tried that but still the same result in Jmeter.
>
> On Mon, Apr 22, 2024 at 8:01 PM Aditya Singh
> wrote:
>
> > Hi,
> > Try checking the header that’s being passed in JMeter.
> > Is
Yes, Adi. Tried that but still the same result in Jmeter.
On Mon, Apr 22, 2024 at 8:01 PM Aditya Singh wrote:
> Hi,
> Try checking the header that’s being passed in JMeter.
> Is it similar to what you have in Postman?If not, make it similar and give
> it a try.
>
> Regards
> Adi
>
> On Tue, 23
Hi,
Try checking the header that’s being passed in JMeter.
Is it similar to what you have in Postman?If not, make it similar and give
it a try.
Regards
Adi
On Tue, 23 Apr 2024 at 4:21 AM, Nuwan Mudalige
wrote:
> Hi,
>
> I have a file upload API call which is working fine on Postman.
>
> While
Hi,
I have a file upload API call which is working fine on Postman.
While I am recording that Postman request by Jmeter it is throwing "415
Unsupported Media Type" error.
I manually built a Jmeter test following the Postman but still failed with
the same issue.
Appreciate your expertise