aspose file tools
The moose likes Testing and the fly likes How to send a file with jmeter and jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Testing
Reply Bookmark "How to send a file with jmeter and jsf" Watch "How to send a file with jmeter and jsf" New topic
Author

How to send a file with jmeter and jsf

Edward Herrera
Greenhorn

Joined: Apr 06, 2008
Posts: 7
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
Can you tell whether the application receives an HTTP request with the image attachment?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Edward Herrera
Greenhorn

Joined: Apr 06, 2008
Posts: 7
Hi,
Effectively, the application receives a request with the photo attachment.
Thanks
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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

Joined: Apr 06, 2008
Posts: 7
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to send a file with jmeter and jsf
 
Similar Threads
Junit and Jmeter testing issue
Test Web Services
About JMeter session
Stress testing using JMeter
JMeter and JSF