How to fast generate your API Test with OpenAPI Tools and Rest-Assured
summary
Claims a repeatable pipeline that uses an OpenAPI spec plus a Maven step and the OpenAPI Generator to generate clients and models from OpenAPI, then produces concise Rest-Assured + JUnit 5 tests with Java 17. Shows building a small runtime: a request-spec builder, a client wrapper, and a service layer that turns verbose given/when/then code into business actions. Reports adoption across 17 teams, warns autogenerated tests are noisy, and demonstrates templates and abstractions that cut duplication and make tests maintainable.
AI-written summary · about
chapters (9)
- 0:00Start
- 3:37the problems to solve
- 5:14the backend application
- 9:45tests using REST Assured
- 16:41tests using req-resp specification
- 23:32download the spec file
- 26:27generate the Client API
- 29:05auto-generated tests
- 30:04architecture
related talks
31mModern Testing Tools for Java Developers
16mAPI-First Development with OpenAPI — You Should Practice It!?
35mAPI-First! Contract-First! Make API development great again!
46mBest practices in API testing with REST-Assured
44mAPI Testing following the Test Pyramid
46mModern Testing Tools for Java Developers
20mOpenAPIspec
23mSolving Challenges in API Testing to Achieve More Agile Development
