Тёмный

Reading JSON Response Data in Jmeter|Set as Variable Reuse it throughout Test Suite  

JMeter Consultant
Подписаться 380
Просмотров 11 тыс.
50% 1

This video explains How to Read Data from JSON response and set it as Variable to Reuse it throughout the test suite in Jmeter. This logic will be used to achieve reusability in Jmeter. Define variables once and reuse it in entire test suite.
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
4. Store the read data as variables in Post Processor using vars.put()
5. Make use of the variable values in other http requests and entire test suite using vars.get()
Performance Testing using JMeter
How to read Data from JSON Response
How to set variables and store extracted values
How to resuse the variable values set in entire test suite
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. Read/Get Data from JSON File in Jmeter | BeanShell script
• Fetch Data from JSON F...
2. Read/Get Data from JSON Response
• Fetch Data from JSON R...
3. Generate HTML Report for JMeter Test Suite Run
• How to Create Jmeter T...
4. Set and Read Variables and Property values in Jmeter
• How to Set Variables a...
5. What a mature Jmeter test suite should contain?
• JMeter Test Suite Fram...
6. Run Jmeter test suite from Command Line Interface | Jmeter Non GUI mode
• Run Jmeter tests using...
7. Read CICD Pipeline Jmeter Results
• Analyze Jmeter Pipelin...
8. How to generate jmeter result files after every test suite execution
• Writing Jmeter Test Re...
9. Step by Step Debugger in Jmeter
• Set Configurations and...
10. Jmeter Plugins Manager
• Plugins Manager in JMe...
11. Config.properties in Jmeter | Property File Reader config element
• Load Configurations de...
12. Write data to CSV file in Jmeter | CSV Data Set Config
• How to Write data to C...
13. Read Data from CSV file in Jmeter - Data Driven Testing | CSV Data Set Config
• How to Read Data from ...
14. Create First Jmeter Test Suite - CI Automation Suite for Rest API Project from scratch
• Creating First Test in...
15. Install JMeter and Launch it from any folder
• How to install and Lau...
16. Automate Rest API using Jmeter | API Automation testing
• Steps to Achieve REST ...
#jmeter #automation #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

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@RAM-ff8dy
@RAM-ff8dy 9 месяцев назад
Great video.. you saved lot of time.. i have been searching all over for this concept.. I was able to succesfully use it in my jmeter script.. thanks again
@mauryar16
@mauryar16 3 месяца назад
Thnx ..very useful
@adelinab
@adelinab Год назад
yess it worked! many thanks!!
@AsmaaArafat
@AsmaaArafat Год назад
Many thanks, please avoid the sound background :)
@AsmaaArafat
@AsmaaArafat Год назад
Is there documented code in this video ?
@SrikrishnaDandamrajuPicks
@SrikrishnaDandamrajuPicks Год назад
good
@p.hariprasadreddy6528
@p.hariprasadreddy6528 8 месяцев назад
how can i do comparisons of previous and current response of api request. i mean i need to find the missing fields.
@softwareautomationexperien6422
@softwareautomationexperien6422 Месяц назад
Sorry I couldn't respond on time...pls contact me if you face any such issues
Далее
Борщ в стиле высокой кухни!
00:57
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 205 тыс.
JMeter Tutorial: How to Create Dynamic JSON?
36:51
Просмотров 3,5 тыс.
Data-driven testing using Postman
13:37
Просмотров 59 тыс.