Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Karate Hello World
Feature: karate 'hello world' example
Scenario: create and retrieve a cat
Given url ''
And request { name: 'Billie' }
When method post
Then status 201
And match response == { id: '#notnull', name: 'Billie' }
Given path
When method get
Then status 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment