Feature: sample karate test script
Background:
* url baseURl
#* def userDetails = call read('classpath:com/demo/features/createUser.feature')
* def userDetails = callonce read('classpath:com/demo/features/createUser.feature')
Scenario: get users and then get the first user by id
Given path mainURl,userDetails.userID
* header Authorization = 'Bearer '+authToken
When method get
Then status 200
Scenario: get users and then get the first user by id
Given path mainURl,userDetails.userID
* header Authorization = 'Bearer '+authToken
When method get
Then status 200
Watch video Karate Framework Beginner Class 21: How to Call other feature files into feature online, duration hours minute second in high quality that is uploaded to the channel Testing Tutorialspoint 03 August 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,248 times and liked it 7 visitors.