-
Notifications
You must be signed in to change notification settings - Fork 11
Feature File: Status Code
Mahmoud A. Zaid edited this page Mar 13, 2019
·
4 revisions
Let's create feature file and generate our first test case that test the response status code
Feature: GetSingleEmployeeApi
This page will contains information about, how to access particular employee data using rest api /employee.
Scenario: Check Get Single employee status
Given Create Request "employee/{id}" with method "GET"
When Create URL segment for "id" with parameter "7337"
And Execute API
Then returned status code will be "200"
Mahmoud A. Zaid
- Introduction
- HTTP Methods
- HTTP Request
- API Parameters
- HTTP Response
- HTTP Status Code
- Methods Examples
- Idempotence