JMeter Fetch Data from JSON Response in Jmeter | JMeter API Performance Testing

preview_player
Показать описание
This video explains complete steps to Read or Get Data from JSON Response in Jmeter

JOSN body used in the video :
{
"resourceType": "Patient",
"identifier": [ { "system": "urn:oid:1.2.36.146.595.217.0.1", "value": "123786" } ],
"name": [ {
"family": "Chalmers",
"given": [ "Peter", "James" ]
} ],
"gender": "male",
"birthDate": "1974-12-25"
}

Steps to achieve this :
1. Create a simple test suite and add a Post request
2. Add assertion and listener to validate the result
3. Add a Post Processor JSR223 Post Processor and write simple lines of code to read data from the JSON response

Performance Testing using JMeter
How to Read Data from JSON Response
Extract data from JSON Response
Fetch data from JSON

To Learn JMeter step-by-step for Beginners to Advanced level, If you like this video subscribe to my channel Software Automation Experience and keep tuning up for new videos.

You can check the below useful videos on my channel

1. How to Automate Rest API using Jmeter | API Automation testing

2. Install JMeter and Launch it from any folder

3. Create First Jmeter Test Suite - CI Automation Suite for Rest API Project from scratch

4. Read Test Data from CSV file in Jmeter - CSV Data Set Config - Data Driven Testing

5. Write data to CSV file |CSV Data Set Config

7. Jmeter Plugins Manager


8. Read Configurations in Jmeter using Step by Step Debugger


9. Jmeter result files generation after every test suite execution

10. Read CICD Pipeline Results in Jmeter

1. Jmeter Non GUI mode - Execute test suite from Command Line Interface

12. How your Jmeter test suite should look like

13. Set and Read Variables and Property values in Jmeter

14. Generate HTML Report for JMeter Test Suite Run


#json #jmeter #apiautomation #json #automationtesting #api #apiautomation #performancetesting #softwaretesting #softwaretester #softwaretesters #softwaretestingsolutions #softwaretestingtraining #softwaretest #sdet #jmeterresults #TestSuiteResults #CICDresults #pipelineruns #jmetercicd #CommandLine #CLI #JmeterUsingComand #maturetestsuite #aspectsofjmetersuite #completetestsuite #setvariables #setproperty #htmlreport #generatehtmlreport #JmeterResults #JmeterReport
Рекомендации по теме
Комментарии
Автор

Hi - I need to read the response header instead of response body, can you please advise?

nethravathiveeranna
Автор

Hi Sir

I get only 6 digit OTP in plain text.
No json
In this case what should I do?
Can you please help.

natashakaul