Incremental Load Testing

One of the best features of FintX is that it can run real-time load tests against your gRPC service! This sets it apart from other testing tools that only supports calling the gRPC methods.

FintX supports 3 types of load tests

  1. Incremental Load Test
  2. Constant Load Test
  3. Burst Load Test

In this tutorial we will go through the steps to run an Incremental Load Test

Before we start

Make sure you have already added a gRPC client. If you haven’t done so yet, have a look at the Quickstart Guide

Create a Load Test

  1. Click on the Perf test menu
  2. Click on the Add Perf Test button
  3. Enter the name of the test
  4. Describe the test
  5. Select the gRPC service that will be load tested
  6. Select the method that will be load tested
  7. Click Okay

Run an Incremental Load Test

  1. Double on the perf test or click on the “folder” icon to open it
  2. Select Incremental
  3. Enter the number of virtual users. In this tutorial we enter 20
  4. Enter a ramp up of 1 sec
    • This means that a thread (which simulates a virtual user) will be created every second until configured number of virtual users is reached
  5. Enter the Invoke interval (msec)
    • The Invoke Interval is the time between each call to the gRPC method. If you specify 0 (zero), this means that FintX will immediately call the method as soon as the previous call finishes

      If the Invoke interval is X and is greater than zero, FintX will wait for X milliseconds before making the next call
  6. Enter the Test Duration. In this tutorial we enter 80 sec.
    • This is the duration of the whole load test
    • Since we are doing incremental load testing, this means that for the first 20 secs the number of virtual users will increment by 1 i.e. the load on the service will gradually increase. And then for the remaining 60 sec, all 20 virtual users will be concurrently invoking the service.
  7. Now that we’re all setup, hit the Run button!

Wait for the test to finish

As the test progresses, the charts will display in real-time the metrics that describes the performance of your service. At the end of the test, you should see something similar to the below screenshot

Leave a Reply

Your email address will not be published. Required fields are marked *