Skip to content

API Test Design

Rajendra Prasad Reddy Penumalli edited this page Dec 10, 2019 · 5 revisions

API -Test Design

  • API Automation typically comprise three steps.
  • These usually go by the names (ATA):
    1. Arrange
    2. Trigger
    3. Assert

Test Design Techniques

  • Positive Scenarios
    • Input Validation -with all valid mandatory and optional parameters
    • with only valid mandatory
  • Negative Scenarios
    • with invalid mandatory and valid optional parameters
    • with all valid mandatory and invalid optional parameters
  • Fuzzing
    • HTTP Method
    • Query Parameters
    • Body Parameters

API-Asserions

  1. Response Code
  2. Response Data
    • Token
    • JSON path
    • XPATH
  3. Regex pattern
  4. Composite Assertion
  5. SLA
Clone this wiki locally