Skip to content

Load Testing Blog

Spring Boot Rest Tutorial

I'm sure you're looking for a complete Spring Rest Tutorial which covers the most important topics related to Spring Boot. You're in the right place!

You want to build a web application or a REST API using Spring Boot (and other popular technologies like Thymeleaf), but you don't know where to start... Let me help you get things done. This tutorial explains how to create a simple Rest Api exposing data as Json.

Don't worry, Spring isn't that difficult! In under 5 minutes, you will build your first web app using Spring Boot.

NOTE: Updated with Spring Boot 2 and Spring 5!

Full source code is available at Spring Boot 2 Demo on Github.

Spring Circular Dependencies

I know you've been there, like me:

  • I Have a circular dependency in Spring and my application fails to launch. How to solve this?

The typical exception thrown by Spring is the following:

'org.springframework.security.authenticationManager': Requested bean is currently in creation: Is there an unresolvable circular reference?

And, It does not give much details. So, let's see how we can break the circular dependency cycle and save some sanity!

Spring Autowiring by Example

Spring is a Java library which delivers a useful feature: Inversion Of Control. Basically, instead of instantiating your Java services with new, Spring does it for you.

You may be wondering:

  • That's nice, but isn't new already enough?
  • How does the @Autowired annotation work?
  • How does Spring instantiated and lookup the right beans and services for me?

Good news! We've got you covered. I know how difficult Spring is to understand, I've been there. These carefully crafted real-world examples should speak to you.

Mastering JMeter Csv Data Set Config

You're probably asking several legitimate questions:

  • How can I simulate concurrent users with unique logins using JMeter ?
  • How can I split JMeter CSV Data Set over multiple load generators in case of Remote Testing?
  • Is there a solution to Randomize the content of the CSV before a test run?

Let me tell you a secret: you'll get all the answers below.

You will learn how to swarm your system with dynamically behaving users thanks to JMeter CSV Data Set Config.

Ready to make a leap forward in your JMeter skills? Let's get to the business.