How to extract json data in JMeter / How to use json extractor and debug sampler to get json data

preview_player
Показать описание
How to extract json data in JMeter / How to use json extractor and debug sampler to get json data

Steps:
1. Create a thread group
2. Create a HTTP Request to get response for
3. Add Json Extractor inside HTTP Request
4. Add components inside JSON Extractor
a. Names of created variables : User
b. JSON Path expressions : $..['id', 'first_name', 'last_name']
c. Match no (0 for random)
Default values : userNotFound
5. Add Debug Sampler to get the extracted JSON value
6. Add view results tree (optional) to see the results

Chapters:
0:00 - Introduction to JSON Extrator
1:01 - Getting the sample rest api's for testing
2:29 - Program to add JSON Extractor and to get results
6:38 - End Tags and subscription to the channel

Donation Section:
Now you can Donate us via Paypal or Google Pay

My second Channel:

Next Steps :

---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
Must Watch Playlists

---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------

#jmeter
#jsonextratorinjmeter
#debugsamplerinjmeter
Рекомендации по теме
Комментарии
Автор

Very very valuable information. I managed to find my answer using this video. Thanks a lot.

dhananjayrudrawar
Автор

Good video, can you please make a master video on jmeter from Nfr gathering to report submission to client

keshavsharma
Автор

What i have to do if i want to extract many responses like instead of 1 id i want to extract many ids and names. How can i extract them ? .. i need to extract them and call it in a my http sampler.

keerthisaravanan
Автор

Is there any way to write the extracted data to csv file?

LeYen-yoyc