Dynamic Scenario Outline - @setup tag | REST API Testing Tutorials for Beginners | Malayalam | #37

Опубликовано: 22 Март 2026
на канале: The Testing Instinct
52
2

#selenium
#api
#manualtesting
#automationtesting
#testautomationframework
#framework
#seleniumwebdriver
#seleniumjava
#webautomation
#postman
#postmanapitesting
#java
#maven
#maventutorial
#karate
#karaterestapitesting
#restapi
#restapiautomation
#apitesting
#malayalam
#softwaretesting
#beginners
#മലയാളം
#TheTestingInstinct
#tutorials

The video describes about use of Dynamic Scenario Outline with @setup tag in Karate. In cases where the data-source needs multiple steps, for e.g. if an API needs to be called to get a JSON array, you can call a separate Scenario to "set up" this data. The @setup tag is built-in for this purpose and any Scenario tagged with this will behave like @ignore. So the only way to call this Scenario is by using the karate.setup() JS API.

And since it is common to run a @setup Scenario only once per-feature you can call karate.setupOnce().

Github: https://github.com/thetestinginstinct...

Note: If you are facing issue with Karate logs after adding cucumber reporting dependency, please add slf4j maven dependency in pom.xml file. Link: https://mvnrepository.com/artifact/or...

Video chapters:
0:00 Introduction & Agenda
1:58 Demo - Dynamic Scenario Outline with @setup tag & karate.setup() in Karate
5:42 Demo - Dynamic Scenario Outline with @setup tag & karate.setupOnce() in Karate

Git tutorial link:    • Introduction to Git and GitHub. An importa...  
Playlist link:    • Karate REST API Test Automation|REST API T...  
Java configuration video link:    • Configure Java in Windows OS|Core Java for...  
Eclipse IDE installation link:    • Install Eclipse IDE in Windows| Learn Sele...  
Maven configuration video link:    • Configure Apache Maven in Windows| Learn S...  
Postman Playlist link:    • Postman Rest API Testing | Become an exper...