Yes it does Nitin, however, I have bumped into this problem as well and I think 
that Jmeter has not yet solved this problem... 

Br, 

Erez 

-----Original Message-----
From: Nitin Rastogi [mailto:[email protected]] 
Sent: Tuesday, July 07, 2015 3:27 PM
To: JMeter Users List
Subject: Re: Saving View Result Tree from WorkBench

Hi Erez,

I guess there is some confusion, let me explain it again.

When we record a script using HTTP(S) proxy recorder, all the requests and 
corresponding responses are saved in the "View Result Tree" under WorkBench. At 
the same time, requests are stored in "Recording Controller"
under Test Plan. Now, while customising the script we need to refer back to 
server response time and again to put assertions, pre/post processors, reg ex 
etc.

The problem is that when we save the script, it does not save the 
request/response available in "View Results Tree" under WorkBench section.
Therefore, in case we close Jmeter for some reason, we will lose all these 
requests/responses which is a problem if we have not completely customised the 
script and need to work on it again after some time. We have to end up 
recording the scenario again to see for some particular server responses so as 
we can put post processor.

Hope it clarifies.

Thanks,
Nitin Rastogi

On Tue, Jul 7, 2015 at 4:49 PM, Erez Naim <[email protected]> wrote:

> Niraj what exactly do u want to save ? the response from the server? 
> Other things?
>
> In case you want to save response from the server please use this method:
>
> 1. add "BeanShell PostProcessor" to your "http request" sampler.
> 2. write this line of code: String respone = 
> prev.getResponseDataAsString(); (this will save your response into the 
> response variable).
> 3. you can manipulate this variable as you like.
>
>
> Let me know what you want to do exactly and I will try to help you out.
>
> Br,
>
> Erez
>
> -----Original Message-----
> From: Nitin Rastogi [mailto:[email protected]]
> Sent: Tuesday, July 07, 2015 1:00 PM
> To: JMeter Users List
> Subject: Re: Saving View Result Tree from WorkBench
>
> @Felix,
>
> Thanks for your response.
> Recording controller saves only the http requests, not the response. 
> How can I save response as well?
>
> Thanks,
> Nitin Rastogi
>
> On Mon, Jul 6, 2015 at 4:35 PM, Felix Schumacher < 
> [email protected]> wrote:
>
> >
> >
> > Am 6. Juli 2015 12:01:20 MESZ, schrieb Nitin Rastogi 
> > <[email protected]
> > >:
> > >Hello,
> > >
> > >All the requests/response during a web recording are saved in 
> > >WorkBench under View Result Tree.
> > >
> > >Is there any way to save "View Result Tree" from WorkBench area?
> >
> > You can use a Recording Controller, which you could place inside a 
> > Thread Group.
> >
> > Regards,
> > Felix
> >
> > >
> > >Re-opening Jmeter script results in losing all the request/response 
> > >captured during recording which would still be required in case I 
> > >would like to continue work on the pending script next day.
> > >
> > >Any thoughts?
> > >
> > >Thanks,
> > >Nitin Rastogi
> >
> >
> > --------------------------------------------------------------------
> > - 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]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to