Fetch Data from JSON File in Jmeter | How to Read JSON File in Jmeter

Описание к видео Fetch Data from JSON File in Jmeter | How to Read JSON File in Jmeter

JSON File in Jmeter
How to read / fetch data from Json file

Performance Testing using JMeter

This video explains complete steps to Read or Get Data from JSON File in Jmeter. The JSON file will be present in test suite repository and we can read that file data and pass it to the request. To read the file we can write simple BeanShell script.

JSON body used 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

If you like this video subscribe to my channel Software Automation Experience and keep tuning up for new videos.

To Learn JMeter step-by-step for Beginners to Advanced level, You can check the below useful videos on my channel

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

   • Steps to Achieve REST API Automation  

2. Install JMeter and Launch it from any folder

   • How to install and Launch JMeter from...  

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

   • Creating First Test in JMeter from sc...  

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

   • How to Read Data from CSV file in JMe...  

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

   • How to Write data to CSV file in JMet...  

6. Property File Reader - config.properties file in Jmeter

   • Load Configurations defined in config...  

7. Jmeter Plugins Manager

   • Plugins Manager in JMeter #performanc...  

8. Read Configurations in Jmeter using Step by Step Debugger

   • Set Configurations and load in JMeter...  

9. Jmeter result files generation after every test suite execution

   • Writing Jmeter Test Results in a File...  

10. Read CICD Pipeline Results in Jmeter

   • Analyze Jmeter Pipeline Results | CIC...  

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

   • Run Jmeter tests using Command | Non ...  

12. How your Jmeter test suite should look like

   • JMeter Test Suite Framework #performa...  

13. Set and Read Variables and Property values in Jmeter

   • How to Set Variables and Get the valu...  

14. Generate HTML Report for JMeter Test Suite Run

   • How to Create Jmeter Test Report in H...  

15. Read/Get Data from JSON Response

   • Fetch Data from JSON Response in Jmet...  

#jmeter #automation #automationtesting #api #apiautomation #performancetesting #softwaretesting #softwaretester #softwaretesters #softwaretestingsolutions #softwaretestingtraining #softwaretest #sdet #jmeterresults #TestSuiteResults #json

Комментарии

Информация по комментариям в разработке