No-Frills REST API Testing with REST-Assured
summary
A concise introduction to the REST-Assured Java DSL for component testing REST services, showing real code against a Spring Boot REST service. Covers reusable request/response specs, status-code checks (e.g. 200) with Hamcrest matchers, JSONPath extraction of fields, POSTing JSON that persists to the database, and running integration tests by starting Spring Boot on a random port or by mocking remote services.
AI-written summary · about
chapters (13)
- 0:00REST API testing intro
- 2:07REST-Assured simplifies testing
- 4:57Demo service setup
- 7:31REST-Assured test structure
- 10:56Validate response content
- 13:26Query parameters handling
- 15:16Status codes & request builders
- 17:55Post data & validate response
- 18:58JSON object shortcuts
- 21:29REST-Assured in Spring Boot
- 24:07Tests in Spring context
- 25:54Speaker service integration
- 27:45Demo results & closing
related talks
46mBest practices in API testing with REST-Assured
31mModern Testing Tools for Java Developers
51mFramework agnostic REST api testing
40mAmplifying Test Automation using REST Assured
52mTest-driven documentation with Spring REST Docs
44mHow to fast generate your API Test with OpenAPI Tools and Rest-Assured
47mMicroservices Testing with Java
57mModern Testing Tools for Java Developers
