Город МОСКОВСКИЙ
00:15:57

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

Аватар
Веб-разработка и развитие JavaScript
Просмотры:
24
Дата загрузки:
29.11.2023 05:22
Длительность:
00:15:57
Категория:
Технологии и интернет

Описание

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

https://youtu.be/l2nFdIzrlE4

2. Install JMeter and Launch it from any folder

https://youtu.be/vcvj7os0S0w

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

https://youtu.be/M5vyO7W9MTE

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

https://youtu.be/cPNSYkT_plg

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

https://youtu.be/iVycuYxsFNA

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

https://youtu.be/h81AkdtbB3Y

7. Jmeter Plugins Manager

https://youtu.be/MDTh2rRIZ7w

8. Read Configurations in Jmeter using Step by Step Debugger

https://youtu.be/tzjteZaoPVQ

9. Jmeter result files generation after every test suite execution

https://youtu.be/I9eSsML5gVA

10. Read CICD Pipeline Results in Jmeter

https://youtu.be/zfGKjC8YOQs

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

https://youtu.be/q2UargXVKWM

12. How your Jmeter test suite should look like

https://youtu.be/22798eFSY3g

13. Set and Read Variables and Property values in Jmeter

https://youtu.be/rPEXm9nfesg

14. Generate HTML Report for JMeter Test Suite Run

https://youtu.be/awzms9g4res

15. Read/Get Data from JSON Response

https://youtu.be/9zz20hRrlBc

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

Рекомендуемые видео