jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: save pdf responses to file
Date Tue, 11 Nov 2008 18:55:47 GMT
On 11/11/2008, arina <ada_kostko@yahoo.com> 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: 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


Mime
View raw message