How to do it...

To run this load test, you have to create a Scala project in the same way as we did in the Using Gatling to load test the token validation process using shared databasesrecipe from Chapter 2, Implementing Your Own OAuth 2.0 Provider:

  1. Clone or download the project available at https://github.com/adolfoweloy/scala-maven-skel. As you will notice, this project is just a skeleton for the recipe that we will be creating now.
  2. Now rename the scala-maven-skel project to load-testing-remote by running the mv scala-maven-skel load-testing-remote command.
  3. Start the remote-authserver application by running mvn spring-boot:run within the project's directory at the terminal.
  1. Go to the load-testing-remote directory and open pom.xml with ...

Get OAuth 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.