~/talk

Best practices in API testing with REST-Assured

Talkat Selenium Camp 2020 · 2020-02-21..02-22· [testing]
links:none on file
slides:none on file

Shows how to build a small Java automation project using the REST-Assured library to test RESTful APIs, including using its DSL to write maintainable tests. Demonstrates organizing contract testing by validating responses against JSON Schema to ensure API contracts are met.

AI-written summary · about

  1. 0:00Start
  2. 2:43Given()
  3. 4:56Don't Repeat Yourself
  4. 5:15Request Specification
  5. 6:17Response Specification
  6. 7:07Global Configuration
  7. 8:09Response verifications
  8. 8:47Json path syntax
  9. 9:59Hamcrest core matchers
  10. 11:13Compare different parts of the same response
  11. 11:47Assert or not assert
  12. 12:05Extract body as Object
  13. 15:03Filters, Lastener and Report
  14. 15:50What contract testing is
  15. 18:15JSON Schema - Keywords examples
  16. 20:16Performance testing with REST-Assured
  17. 25:56DEMO
~/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.