jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niraj <niraj.khatm...@gmail.com>
Subject Re: Need specific data from response message
Date Mon, 06 Nov 2017 16:01:58 GMT
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 <praveentiwari5@gmail.com>
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" <ra0077@gmail.com>
> 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 <praveentiwari5@gmail.com>:
> >
> > > 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.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message