Dear all!
may be somebody helps me.
I try to store all responses to a file.
In my java Servlet I have the following code:
.....
response.setContentType("application/pdf");
OutputStream out = response.getOutputStream();
try{
   for(...){
       ......
       generate pdf and put it into out
       ......
       out.flush();
   }
}catch(Exception e){...}


In jMeter test plan I have one thread and use "Save Responses to a file" to
store responses from this servlet. My servlet generates several pdf and put
them one by one into OutputStream (using out.flush()). I want to have one
pdf file consisting of several generated pdf files and store it as
Result.pdf So I use "Save Responses to a file" where Filename prefix=
Result.
But unfortunately only the latest pdf is saving into Result.pdf. Others pdf
are shown in "Response data" of "View Results Tree", but not in Result.pdf 
How could I store all responses in one file? 


-- 
View this message in context: 
http://www.nabble.com/save-pdf-responses-to-file-tp20442307p20442307.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to