Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • For new projects, system requirements should be written such that they can be used as test criteria.  They will be used as test cases for performance testing and regression testing. 

API Testing

  • Objective: 
    • Validate that GET / POST / PUT requests are processed as expected, based on API RAML specification
    • Validate any business logic encoded in the API, based on business requirements
    • Validate that negative test cases have been adequately covered
       
  • Tools:
    • Python scripts
    • Gazoonta tester: Java application uses XML input to make JSON requests to a REST API and  SQL commands to database.
    • Travis-CI: Used to build and then run API tests after deployment to DEV 
       
  • Timing 
    • API tests are written as the API becomes available in the Dev and Test environments
    • API tests are automatically executed for each build of the API

...