JSON Extractor | JMeter Forum
S
Shilpa Posted on 03/03/2020

I am unable to find the video on JSON Extractor. Can you point me to it?


A
Ashish Thakur Replied on 03/03/2020

You need to parse JSON from a response?


A
Abhishek Puri Replied on 04/03/2020

JSon post processor is not effective. Please use RegEx Extractor for extracting data.


S
Shilpa Replied on 05/03/2020

I was initially trying regex extractor but it is not fit for my project, thus looking at Json extractor

actions[{

"id":"123467",

"name":"create"

},{

"id":"1247833467",

"name":"update"}]

where the update can appear before create or vice versa


A
Abhishek Puri Replied on 09/03/2020

You can use the following regex

"id":"(.+)",

"name":"(.+)"

Depending on that you would want to extract.

If you want to extract id, then hardcode name value. 

If you want to extract name, then hardcode id value.