#16 | Pre-Request & Post-Response Script | Bruno | API Testing Tutorials 4 Beginners in English |
Автор: The Testing Instinct
Загружено: 2025-04-27
Просмотров: 2966
#selenium
#bruno
#testng
#seleniumwebdriver
#seleniumjava
#webautomation
#postman
#java
#maven
#maventutorial
#karate
#restapi
#restapiautomation
#apitesting
#malayalam
#softwaretesting
#beginners
#മലയാളം
#TheTestingInstinct
#tutorials
#graphql
#english
The video describes the use of pre-request & post-response scripts in Bruno. These are added under the Script tab of Bruno. Note: the pre-request script will be executed before sending the request and the post-response script will be executed after sending the request.
pre-request script eg:
To pass json payload as body:
req.setBody({
"email": "[email protected]",
"password": "password"
});
req.setBody({
"email": "{{emailValue}}",
"password": "{{passwordValue}}"
});
To pass the Bearer token value as a header:
req.setHeader("Authorization", "Bearer {{tokenValue}}");
post-response script eg:
bru.setVar("tokenValue", res.body.token);
Bruno download: https://www.usebruno.com/downloads
Github:https://github.com/thetestinginstinct...
Video chapters:
0:00 Introduction & Agenda
0:35 Demo - use of pre-request & post-response scripts in Bruno
Playlist link: • Bruno - REST API Testing in English | API ...
TestNG Playlist link: • TestNG | Testing Framework for Java Projec...
Maven setup video: • How to Install Maven in Windows OS. Tutori...
Software Testing playlist link: • Software Testing for Beginners| Malayalam
Selenium Java playlist link: • Selenium Java Tutorials in Malayalam | Sel...
Postman Playlist link: • Postman Rest API Testing | Become an exper...
Karate Playlist link: • Karate REST API Test Automation|REST API T...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: