Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Locust Loadtesting Integration with Springboot Microservice
Rating: 4.1 out of 5(5 ratings)
565 students

Locust Loadtesting Integration with Springboot Microservice

Locust Loadtesting Tool Integration with Springboot Microservice
Last updated 8/2024
English
English [Auto],

What you'll learn

  • Developer can setup and configure Loadtesting Tool in local on windows system and they can use Springboot microservice to test loadtesting testcases
  • This course will guide you to create your own LoadTesting Environment for Testing your pages and Rest APIs of Java Springboot Microservices
  • Locust Load Testing tool will make you to provide no of concurrent users via UI and There is no additional configuration required to run testcases
  • This course will be covered end to end integration with Locust Loadtesting Tool with Java and students can learn about LoadTesting and configuration setup

Course content

1 section10 lectures33m total length
  • Introduction0:22

    Discover how to integrate a low-cost load testing tool with a Spring Boot microservice in this session led by a DevOps architect.

  • What is loadtesting3:37

    Explore load testing to identify performance bottlenecks and page load response time issues under high production traffic, simulate concurrent users, and set up dedicated environments to test pages and APIs.

  • Create Locust Loadtesing Maven project in Eclipse2:16

    Create a locust load testing maven project in eclipse, add locust-for-j and rest-assured dependencies, remove junit, and package as a jar with tests for master-slave execution using a Python master.

  • Create TestCases for Locust Loadtesting8:04

    Create and execute Locust load test cases for a Spring Boot microservice, building test classes and packaging dependencies to test home page and API response times.

  • Creat Python Script for Master Node6:09

    Create and configure a Python script for the master node to run Locust load testing. Set up the Python path and PyDev in Eclipse.

  • Install python and Locust3:19

    Install Python and Locust on Windows, set PATH, use pip to install Locust, run master and slave nodes, and integrate load testing with Spring Boot producer and consumer projects.

  • Create Springboot Projects2:23

    Build and test spring boot projects by wiring a consumer microservice with thymeleaf to fetch data from a producer microservice via a REST API and MongoDB, and perform load testing.

  • Running Locust LoadTesting for Springboot Microservice home page4:17

    Run locust load testing for the springboot microservice home page, coordinating master and slave nodes, starting jars, and analyzing concurrent users and response times.

  • Running Locust LoadTesting for Springboot API2:39

    Run locust load testing for the springboot api to evaluate the producer microservice’s rest api, monitor response time and throughput as users ramp up against MongoDB.

  • Conclusion0:27

    Complete a locust load testing tool integration with Spring Boot, access the GitHub and Maven projects, and connect via LinkedIn for any questions.

Requirements

  • Beginners or Experienced Software Engineers can learn this course

Description

This course will teach to learn how to setup and configure Locust Loadtesting tool with Springboot microservice.Students can create testcases in Java and completing configuration setup for loadtesting in their local on windows at end of this course.This course will teach about Springboot Microservice for writting testcases and create maven project for Locust loadtesting testcases and added Locust4j and Restassure dependencies for integrating java with Locust loadtesting.Locust loadtesting tool will also support for Java via maven dependencies.Running java as Slave node and Python as masternode but we are not creating any python script for this integration except creating a dummy python script which will be executed in Master node.

First we need to create maven project which will be used to add dependencies and on top of that Testcases will be created in java for testing homepage of microservices and Rest APIs.We need to create python script and import python plugins in eclipse in order to avoid error in eclipse.and then we need to install python latest version in our system and locust installation we can get more info on locust documentation for setup and other details.This course will give more details about loadtesting and integration session.Locust loadtesting tool is providing easy way to run testcases via UI without any complexity.


Who this course is for:

  • This is course will fit for Java Beginners and Experienced developer who wants to learn and setup Locust Loadtesting tool in their local.