I would suggest you Regex may be to extract required data then use
Beanshell Postporcessor where you can define File name and location. Then
call extraced variable in Beanshell and write into file.

On Mon, 6 Nov 2017 at 9:15 PM, praveen tiwari <[email protected]>
wrote:

> Hi,
>
> But where I can define the filename where I need to save data in JSON path
> post-processor?
>
> On 06-Nov-2017 8:46 pm, "Antonio Gomes Rodrigues" <[email protected]>
> wrote:
>
> > Hi,
> >
> > You can use an Extractor (for example an JSON Extractor) and save it in a
> > file
> >
> > Antonio
> >
> > 2017-11-06 15:55 GMT+01:00 praveen tiwari <[email protected]>:
> >
> > > Hi All,
> > >
> > > I am getting response for a API request and able to save it in JSON
> file
> > > using save response to a file listener.
> > > I need to fetch only specific records from response message. E.g. in
> > > response their are 10 parameters but I need to save only 4 parameters
> in
> > > file.
> > > Any help would be highly appreciated.
> > >
> >
>

Reply via email to