Systematic API Testing through Model Checking and Executable Contracts
summary
Icepeak is a black‑box tester that reads OpenAPI files, infers Glacier contracts (pre/postconditions and invariants), compiles them to TLA actions and TLC‑checked state invariants, and extracts tests by a custom coverage‑guided BFS over the TLA state graph. It runs against EvoMaster benchmarks (Pet Store and a tournament API), models systems with 16–19 operations and 4–25 schemas, excludes non‑RESTful e‑commerce APIs, and uncovers injected and real bugs including a referential‑integrity violation.
AI-written summary · about
chapters (10)
- 0:00Introduction to API testing
- 1:14OpenAPI specification overview
- 3:22Limitations of current testing methods
- 5:07Introducing Glacier contract language
- 8:58Defining API invariants
- 10:02TLA specification generation
- 13:57Generating test sequences
- 20:17Executing test sequences
- 23:10Benchmark results and findings
- 24:36Future work and conclusion
