~/talk

7 Must-Know Techniques for Effective REST API Testing

Talkat TestFlix 2024 · 2024-10-19..10-20· [testing, api-design]
slides:none on file

Seven concrete techniques with code and results: decode and assert JWT payloads using jsonwebtoken + chai to validate token structure; find a real bug via a functional code review where user.role is wrongly compared to user; simulate third‑party failures with nock mocks and verify error handling; run throughput tests with k6 load test scripts and thresholds; measure endpoint hit coverage with Swagger Coverage; validate responses with ajv schemas; and create Pact JS contract interactions to ensure consumer/provider compatibility.

AI-written summary · about

  1. 0:00Introduction
  2. 0:32Checking the JSON Web Token Structure
  3. 1:39Functional Code Review
  4. 2:54Simulating Exception Cases
  5. 4:43Low Testing
  6. 6:32Swagger Coverage
  7. 8:19Validate JSON Schema
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.