You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Erez Naim <er...@theneura.com> on 2015/03/24 16:10:17 UTC
JSON Path Extractor
Hi,
I got a JSON array with multiple items inside this array, how can I retrieve
from each item certain information? For example I want to retrieve certain
name from each item?
Thanks!
Erez Naim | QA Lead |
<http://www.linkedin.com/profile/view?id=34323263>
<http://www.theneura.com/vCards/gilad.vcf>
<http://twitter.com/#!/giladmeiri/>
EL AL 2 Street | Herzliya
mobile (+972) 50 9 555 686 | fax (408) 689.1366 | skype erez.neura
<http://www.theneura.com/> website | <http://www.startupbitz.com/> blog
| <https://twitter.com/intent/user?screen_name=theneura> twitter |
<http://goo.gl/maps/ZRkg5> map
Re: JSON Path Extractor
Posted by Deepak Shetty <sh...@gmail.com>.
Hi
Its probably a little difficult to do with the JSON plugin . Since it
extracts out each element of Array into a variable - You could loop (using
for-each) and either run a regex just for name or parse each variable
Alternative is process the JSON yourself instead of the plugin
http://theworkaholic.blogspot.com/2012/05/json-in-jmeter.html
On Tue, Mar 24, 2015 at 8:10 AM, Erez Naim <er...@theneura.com> wrote:
> Hi,
>
>
>
> I got a JSON array with multiple items inside this array, how can I
> retrieve from each item certain information? For example I want to retrieve
> certain name from each item?
>
>
>
> Thanks!
>
>
>
> Erez Naim | QA Lead | [image: LinkedIn]
> <http://www.linkedin.com/profile/view?id=34323263> [image: vCard]
> <http://www.theneura.com/vCards/gilad.vcf> [image: Twitter]
> <http://twitter.com/#!/giladmeiri/>
>
> [image: cid:image004.png@01D01E1B.5F153500]
>
> EL AL 2 Street | Herzliya
> mobile (+972) 50 9 555 686 | fax (408) 689.1366 | skype erez.neura
>
>
>
> website <http://www.theneura.com/> | blog <http://www.startupbitz.com/>
> | twitter <https://twitter.com/intent/user?screen_name=theneura> | map
> <http://goo.gl/maps/ZRkg5>
>
>
>
>
>