You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by moon <mo...@yahoo.co.in> on 2007/10/25 14:46:25 UTC

How to attach and send a binary file in HTTP request in jmeter

Hi,


I have the latest version of jmeter downloaded.( Version 2.2.3)
I am new to jmeter.

I need to send a binary file with the HTTP Request Post .
When i tried this i get the following error : Response Code 500 ( my request
is not successful.):confused:

I filled the HTTP Request form of jmeter as below:


http://www.nabble.com/file/p13406051/ScreenHunter_003.gif 


When I captured the response in wireshark i get the following response:


http://www.nabble.com/file/p13406051/ScreenHunter_004.gif 


Can anyone help me in this regard. 




-- 
View this message in context: http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13406051
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: How to attach and send a binary file in HTTP request in jmeter

Posted by moon <mo...@yahoo.co.in>.
Sorry I dono abt binary files so please explain it how....


sebb-2 wrote:
> 
> How do you upload binary files when not using JMeter?
> 
> On 25/10/2007, moon <mo...@yahoo.co.in> wrote:
>>
>> Thanks for your suggestion.
>> can i know how to post a file in a browser?
>>
>>
>> -------------------------------------------------------------------
>>
>>
>>
>>
>>
>> sebb-2 wrote:
>> >
>> > On 25/10/2007, moon <mo...@yahoo.co.in> wrote:
>> >>
>> >> Hi,
>> >>
>> >>
>> >> I have the latest version of jmeter downloaded.( Version 2.2.3)
>> >
>> > There is no such version - did you mean 2.3?
>> >
>> >> I am new to jmeter.
>> >>
>> >> I need to send a binary file with the HTTP Request Post .
>> >> When i tried this i get the following error : Response Code 500 ( my
>> >> request
>> >> is not successful.):confused:
>> >>
>> >> I filled the HTTP Request form of jmeter as below:
>> >>
>> >>
>> >> http://www.nabble.com/file/p13406051/ScreenHunter_003.gif
>> >
>> > Looks mostly OK but are you sure about the value of jsessionid?
>> >
>> > Also, perhaps jsessionid should be a parameter rather than in the URL
>> >
>> >>
>> >> When I captured the response in wireshark i get the following
>> response:
>> >>
>> >>
>> >> http://www.nabble.com/file/p13406051/ScreenHunter_004.gif
>> >>
>> >>
>> >> Can anyone help me in this regard.
>> >>
>> >
>> > Try posting the file using a browser, and compare the wireshark trace
>> >
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13406051
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13406538
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13420365
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: How to attach and send a binary file in HTTP request in jmeter

Posted by sebb <se...@gmail.com>.
How do you upload binary files when not using JMeter?

On 25/10/2007, moon <mo...@yahoo.co.in> wrote:
>
> Thanks for your suggestion.
> can i know how to post a file in a browser?
>
>
> -------------------------------------------------------------------
>
>
>
>
>
> sebb-2 wrote:
> >
> > On 25/10/2007, moon <mo...@yahoo.co.in> wrote:
> >>
> >> Hi,
> >>
> >>
> >> I have the latest version of jmeter downloaded.( Version 2.2.3)
> >
> > There is no such version - did you mean 2.3?
> >
> >> I am new to jmeter.
> >>
> >> I need to send a binary file with the HTTP Request Post .
> >> When i tried this i get the following error : Response Code 500 ( my
> >> request
> >> is not successful.):confused:
> >>
> >> I filled the HTTP Request form of jmeter as below:
> >>
> >>
> >> http://www.nabble.com/file/p13406051/ScreenHunter_003.gif
> >
> > Looks mostly OK but are you sure about the value of jsessionid?
> >
> > Also, perhaps jsessionid should be a parameter rather than in the URL
> >
> >>
> >> When I captured the response in wireshark i get the following response:
> >>
> >>
> >> http://www.nabble.com/file/p13406051/ScreenHunter_004.gif
> >>
> >>
> >> Can anyone help me in this regard.
> >>
> >
> > Try posting the file using a browser, and compare the wireshark trace
> >
> >>
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13406051
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13406538
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: How to attach and send a binary file in HTTP request in jmeter

Posted by moon <mo...@yahoo.co.in>.
Thanks for your suggestion.
can i know how to post a file in a browser?


-------------------------------------------------------------------





sebb-2 wrote:
> 
> On 25/10/2007, moon <mo...@yahoo.co.in> wrote:
>>
>> Hi,
>>
>>
>> I have the latest version of jmeter downloaded.( Version 2.2.3)
> 
> There is no such version - did you mean 2.3?
> 
>> I am new to jmeter.
>>
>> I need to send a binary file with the HTTP Request Post .
>> When i tried this i get the following error : Response Code 500 ( my
>> request
>> is not successful.):confused:
>>
>> I filled the HTTP Request form of jmeter as below:
>>
>>
>> http://www.nabble.com/file/p13406051/ScreenHunter_003.gif
> 
> Looks mostly OK but are you sure about the value of jsessionid?
> 
> Also, perhaps jsessionid should be a parameter rather than in the URL
> 
>>
>> When I captured the response in wireshark i get the following response:
>>
>>
>> http://www.nabble.com/file/p13406051/ScreenHunter_004.gif
>>
>>
>> Can anyone help me in this regard.
>>
> 
> Try posting the file using a browser, and compare the wireshark trace
> 
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13406051
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13406538
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: How to attach and send a binary file in HTTP request in jmeter

Posted by sebb <se...@gmail.com>.
On 25/10/2007, moon <mo...@yahoo.co.in> wrote:
>
> Hi,
>
>
> I have the latest version of jmeter downloaded.( Version 2.2.3)

There is no such version - did you mean 2.3?

> I am new to jmeter.
>
> I need to send a binary file with the HTTP Request Post .
> When i tried this i get the following error : Response Code 500 ( my request
> is not successful.):confused:
>
> I filled the HTTP Request form of jmeter as below:
>
>
> http://www.nabble.com/file/p13406051/ScreenHunter_003.gif

Looks mostly OK but are you sure about the value of jsessionid?

Also, perhaps jsessionid should be a parameter rather than in the URL

>
> When I captured the response in wireshark i get the following response:
>
>
> http://www.nabble.com/file/p13406051/ScreenHunter_004.gif
>
>
> Can anyone help me in this regard.
>

Try posting the file using a browser, and compare the wireshark trace

>
>
> --
> View this message in context: http://www.nabble.com/How-to-attach-and-send-a-binary-file-in-HTTP-request-in-jmeter-tf4690631.html#a13406051
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org