Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
API Testing and Validation (2017)

API Testing and Validation (2017)

1h 14mAdvanced2017-06-01

Authors

Keith Casey

Keith Casey

Software development and project management

Course details

Most API testing doesn't actually test the API. This course shows how to validate your API from the consumer's point of view, testing to confirm that problems experienced by your end users are being solved. Join Keith Casey as he focuses on how to approach API testing by implementing a behavior-driven development model. Keith uses Gherkin to set up a Behat environment so you can see how to write and run your first test. Then, he shows how to build API test requests, including how to introduce variables, authenticate requests, and validate responses. He also covers refactoring tests, establishing system states, using extensions for batch operations, and more.

Learning objectives
The benefits of behavior testing
Setting up a test environment
Building your first API test
Sending requests
Validating response codes and payload
Making authenticated requests
Refactoring tests
Writing to the API
Establishing a system state for tests
Using extensions
Performing batch operations

Skills covered

BehatComposerFileMakerRESTPHPAPIsOpen SourceSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Welcome
  • 02 - What you should know
  • 03 - API overview
  • 04 - Required tools for this course
  • 05 - Useful tools for this course
  • 06 - Exercise files

1. Understand Behavior Testing with Gherkin

  • 07 - Testing overview - Goals and behavior
  • 08 - Explanation of Gherkin
  • 09 - Set up the Behat environment
  • 10 - Running your first test - Write, generate, fill in, and refactor cycle

2. Build Your First API Test

  • 11 - Make your first request - Read only
  • 12 - Introduce variables in requests
  • 13 - Validate responses - Response codes and payload

3. Handling Authentication in API Testing

  • 14 - Make authenticated requests
  • 15 - Make your first authenticated request
  • 16 - Validate responses
  • 17 - Refactor the tests

4. Advanced API Testing in Practice

  • 18 - Writing to the API
  • 19 - Establishing system state for tests
  • 20 - Challenge solution
  • 21 - Handling response codes
  • 22 - Use extensions - Batch operations

Expand Your API Tests

  • 23 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal