• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to send a file with jmeter and jsf

 
Edward Herrera
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a jsf application that uploads a photo for any user registered. I�m trying to re create the HTTP Request using JMeter. Apparently JMeter executes the request without a problem but when I look at the result, the photo has not be sent.

thanks in advance.

Edward
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you tell whether the application receives an HTTP request with the image attachment?
 
Edward Herrera
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Effectively, the application receives a request with the photo attachment.
Thanks
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. So you're able to "see" the incoming request. Can you compare the incoming data to that of a successful request (e.g. coming from a web browser)?
 
Edward Herrera
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally I do it, along the file to attach the three parameters according to: http://wiki.apache.org/myfaces/PerformanceTestingWithJMeter have to be added.

Thanks
 
sugan san
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Send it with Request.
Visit the below URL: you might get the solution
http://www.technix.in/jmeter-problems-and-solutions/
 
Dmitri Tikhanski
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just in case if anyone will face similar problem again, there is a guide on Upload and Download Scenarios with Apache JMeter testing, it covers the peculiarities of file upload and download performance testing using Apache JMeter.

Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic