This is the second video of the REST Assured with Spring Boot testing mini-series. We'll continue our testing efforts and write a REST Assured test for a Spring MVC REST API endpoint that is secured with Spring Security.
Content:
0:00 Inspect the protected endpoint
1:25 Test the outcome without authentication
4:07 Test the outcome without authorization
6:35 Writing the test for the happy-path
8:34 Declarative approach for setting the authenticated user
Part I: • MockMvc Test Setup With REST Assured and S...
Part II: • Test a Secured Endpoint with REST Assured ...
Part III: • Integration Test Setup for REST Assured an...
The source code for this video is available on GitHub: https://github.com/rieckpil/blog-tuto...
» Never worry about testing your Spring Boot application again: https://rieckpil.de/testing-spring-bo...
#RESTAssured #SpringBoot #SecuredEndpoint