How to Update user details using karate framework

Опубликовано: 07 Октябрь 2024
на канале: Testing Tutorialspoint
222
4

@tag

Feature: Verifying List of user Details
Background:
url "https://reqres.in"
def mainUrl = "/api/users"
def getGenericClass = Java.type('com.demo.utils.GenericClass')


@tag2
Scenario: verifying List of user details
Given path mainUrl
And request getGenericClass.createUserJson('Sheet','TC003')
When method PATCH
Then status 200