JSON Extractor | JMeter Forum
20% Off Lockdown Learning Discount Avail now

JSON Extractor

S
Shilpa Post on 03/03/2020

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

S
Support Team Reply on 03/03/2020

You need to parse JSON from a response?

A

Instructor

Abhishek Puri Reply on 04/03/2020

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

S
Shilpa Reply 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

Instructor

Abhishek Puri Reply 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.

Related Post