Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.59 KB

api-testing.md

File metadata and controls

21 lines (13 loc) · 1.59 KB

API Workshop - API Testing

Sections:

What is API Testing?

API Testing

API testing is a type of software testing that involves testing application programming interfaces (APIs) directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security. Since APIs lack a GUI, API testing is performed at the message layer. API testing is now considered critical for automating testing because APIs now serve as the primary interface to application logic and because GUI tests are difficult to maintain with the short release cycles and frequent changes commonly used with Agile software development and DevOps

API testing involves testing APIs directly (in isolation) and as part of the end-to-end transactions exercised during integration testing.

API testing is used to determine whether APIs return the correct response (in the expected format) for a broad range of feasible requests, react properly to edge cases such as failures and unexpected/extreme inputs, deliver responses in an acceptable amount of time, and respond securely to potential security attacks. Service virtualization is used in conjunction with API testing to isolate the services under test as well as expand test environment access by simulating APIs/services that are not accessible for testing.

Bread Crumb Navigation


Previous Next
API Design Types of API Testing