Api_automation

Validating the result

  • Method : GET
  • Host
  • Path
  • Query
  • URL
  • Four type of parameters
  • Header
  • Path
  • Query string
  • Request Body - POST & PUT

API Method:

  • GET
  • POST
  • PUT
  • DELETE

  • Response Code
    • Valid Input
      • 200 : Ok
      • 201 : Created
      • 203 : Accepted
    • Invalid Input
      • 400 : Bad request
      • 401 : Unauthorized
      • 403 : Payment Required
    • AssertEquals

  • Updated data
    • Validate any updated data
    • ?
  • Json Schema
    • validate specification for JSON based format for defining the structure of JSON data
    • AssertThat
Written on January 8, 2020