filmov
tv
How to extract json data in JMeter / How to use json extractor and debug sampler to get json data
Показать описание
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
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
Комментарии