NOV. 8 – 13, 2020


API Integration testing with Spring

Learn the testing features of Spring, to test your APIs effectively

Spring has taken over as the leading platform to create web-based, APIs and microservices in the Java world. As a modern framework, it comes with many features for testing. In this tutorial, we're going to cover and experiment with the Spring testing capabilities and learn about how to use them for quick feedback, different levels of testing, and long-term test maintenance.

What attendees will be able to do after they complete the tutorial:

  • Describe Spring testability features
  • Decide when to use which tests: unit, integration and UI
  • Test APIs with database supported integration tests
  • Simulate dependent APIs responses
  • Optimize code for testability

Topics covered in the tutorial:

  • Quick review to Spring and Spring Boot and their use in modern software projects (web, microservices, API) 
  • Spring architecture support for testing (beans, configurations and profiles) 
  • Project organization of code, tests and configuration 
  • Spring's support for different types of tests (unit, integration, API) 
  • Spring's support for database-based tests, including in-memory databases 
  • Test categorization principles - What kind of tests to write for parts of the API 
  • Mocking dependent services and APIs 
  • Test isolation and clean-up 

More Related Sessions

Full-Day Tutorial (6-hour Workshop)


Here be dragons! Taming the technical beasts

30-minute New Voice Talk

13:55-14:25 Room F1 - Track 1: New Voices

Deploy microservices with confidence

30-minute New Voice Talk

14:25-14:55 Room F1 - Track 1: New Voices

Continuous performance testing through the users’ eyes

30-minute Talk

10:25-10:55 Room F3 - Track 3: Talks

Test Encapsulation

Other Events:

Your privacy matters

We use cookies to understand how you use our site and to give you the best experience on our website. If you continue to use this site we will assume that you are happy with it and accept our use of cookies, Privacy Policy and Terms of Use.