On 11/11/2008, arina <[EMAIL PROTECTED]> wrote:
>
> 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
That does not make sense. The Save Response element only writes what
is in the Response Data, so they will be identical.
> How could I store all responses in one file?
>
That's how it works currently.
> --
> 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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]