Best practices in API testing with REST-Assured
summary
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
chapters (17)
- 0:00Start
- 2:43Given()
- 4:56Don't Repeat Yourself
- 5:15Request Specification
- 6:17Response Specification
- 7:07Global Configuration
- 8:09Response verifications
- 8:47Json path syntax
- 9:59Hamcrest core matchers
- 11:13Compare different parts of the same response
- 11:47Assert or not assert
- 12:05Extract body as Object
- 15:03Filters, Lastener and Report
- 15:50What contract testing is
- 18:15JSON Schema - Keywords examples
- 20:16Performance testing with REST-Assured
- 25:56DEMO
related talks
29mNo-Frills REST API Testing with REST-Assured
44mHow to fast generate your API Test with OpenAPI Tools and Rest-Assured
40mAmplifying Test Automation using REST Assured
31mModern Testing Tools for Java Developers
46mModern Testing Tools for Java Developers
57mModern Testing Tools for Java Developers
54mDirty Tests And How To Clean Them
41mSoftware Architecture — Yes, on Tests
