Table of contents
1.
📰Introduction
2.
📰About Load Profiles
3.
📰Changing the Selected Load Profile
4.
📰Available Load Profiles
4.1.
📚Fixed Profile
4.2.
📚Burst Profile
4.3.
📚Ramp Up Profile
4.4.
📚Ramp Sequence Profile
4.5.
📚Random Profile
4.6.
📚Variance Profile
4.7.
📚Custom Profile
5.
Frequently Asked Questions
5.1.
Why is API testing required?
5.2.
How do we configure Ready API?
5.3.
Is Ready API available for free?
5.4.
What is the most recent Ready API version?
6.
Conclusion
Last Updated: Mar 27, 2024

Setting up the Load Profiles in Ready API

Author Kumar Saurav
0 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

📰Introduction

Setting up the Load Profiles in Ready API is an excellent technique to reduce performance risks because it guarantees that an API can manage a typical load. Businesses can uncover bottlenecks in production environments by simulating traffic to an API during development. These bottlenecks can be infamously difficult to locate without a production load in development environments.

Setting up the Load Profiles in Ready API

📰About Load Profiles

To determine how Ready API Performance should simulate virtual users, we use load profiles in conjunction with the load type. It enables us to see how well the server handles varying loads.

📰Changing the Selected Load Profile

To alter the load profile, follow these steps:

  1. Select the required load test in the Navigator panel.
     
  2. Choose a load scenario. On the right, the scenario inspector will emerge.
     
  3. Choose the load profile users require from the drop-down menu.
Changing the Selected Load Profile

📰Available Load Profiles

Setting up the Load Profiles in Ready API is determined by the type of load used in the test - VUs or Rate.

Load profiles for the VUs load type function are as follows:

PROFILE

DESCRIPTION


Fixed

Throughout the entire test run, it simulates the chosen number of virtual users.
 

Burst

Runs a load test with a rapid rise in load.
 

Ramp Up

Runs a load test with an increasing load over time.
 

Ramp Sequence

Runs a load test with a series of load increases and lowers.
 

Random

Runs a load test with a simulated number of users determined by random value generators.
 

Variance

Runs a load test with a fake number of users based on mathematical waveforms such as sine or saw waves.
 

Custom

Executes a load test using a specified load shape.
 

Load profiles for the Rate load type operate as follows:

PROFILE

DESCRIPTION


Fixed

It simulates the arrival of an endless number of users to the tested server per unit of time.
 

Burst

Runs a load test with abrupt increases in virtual user arrival speed.
 

Ramp Up

Runs a load test with increasing load speed over time.
 

Ramp Sequence

Runs a load test with a series of user arrival speed increases and drops over time.
 

Random

Executes a load test in which random value generators determine the rate of virtual user arrival.
 

Variance

Executes a load test in which the rate of virtual user arrival varies according to mathematical waveforms such as sine or saw waves.
 

Custom

Executes a load test with user-specified rate adjustments.
 

📚Fixed Profile

During the test run, the Fixed load profile replicates the same number of virtual users (VUs load type) or even the same number of arriving virtual users (Rate load type).

Fixed Profile

The Fixed profile provides many possibilities depending on the load type. 

Refer to the following table for more information:

LOAD TYPE

OPTION

DESCRIPTION

 

 

UVs

 

UVs

 

The number of users connected to the server.

 

Wait Time

 

Waiting time before resuming a virtual user.

 

Rate 

 

Arriving Users

 

The number of users who begin the test in one unit of time.
 

 

 

📚Burst Profile

The Burst profile simulates the Base period's base number of simulated users (VUs load type) or arriving virtual users (Rate load type). Then boosts that amount for the Burst period. Following this, the simulation returns to the Base level.

Burst Profile

The Burst profile includes varied settings depending on the load type.

Refer to the following table for more information:

LOAD TYPE

OPTION

DESCRIPTION

 

 

 

 

 

VUs

 

Base VUs

 

The number of users who used the server during the baseline period.

 

Burst VUs

 

The number of users connecting to the server during the burst time.

 

Base duration

 

The length of the base period.

 

Burst duration

 

The size of the burst period.

 

Wait time

 

Waiting time before resuming a virtual user.

 

 

 

 

Rate

 

Base arriving users

 

During the base period, the number of users who start the test per unit of time.

 

Burst arriving users

 

During the burst phase, the number of users who created the test per unit of time.

 

Base duration

 

The length of the base period.

 

Burst duration

 

The size of the burst period.

 

📚Ramp Up Profile

During the load test, the Ramp Up profile linearly raises the number of virtual users (VUs load type) or the number of incoming virtual users (Rate load type). Its primary application is stress testing. For example, you can determine at what load the maximum number of per-second transactions is attained before errors occur.

Ramp Up Profile

The Ramp UP profile includes several possibilities depending on the load type. 

Refer to the following table for more information:

LOAD TYPE

OPTION

DESCRIPTION

 

 

 

 

VUs

 

Base VUs

 

The number of users from whom the test can launch.

 

Peak VUs

 

The number of users simulated at the ramp's end.

 

Ramp duration

 

The duration of the increase in user numbers.

 

Wait time

 

Waiting time before resuming a virtual user.

 

 

Rate

 

Peak arriving users

 

The number of users who begin the test per unit of time at the ramp's finish.

 

Ramp duration

 

The duration of the increase in user numbers.

 

📚Ramp Sequence Profile

Several times during the load test, the Ramp Sequence profile repeats the steady growth. Also reduction in the number of virtual users (VUs load type) or the number of arriving virtual users (Rate load type). The main goal is to undertake peak server testing with "breathing" periods.

Ramp Sequence Profile

The Ramp Sequence profile provides multiple possibilities depending on the load type.

Refer to the following table for more information:

LOAD TYPE

OPTION

DESCRIPTION

 

 

 

 

 

VUs

 

Base VUs

 

The number of users from whom the test can launch.

 

 Peak VUs

 

The number of users from whom the test can launch.

 

Ramp duration

 

The maximum number of users allowed to participate in the test.

 

Peak duration

 

The number of users increases and falls with time.

 

Wait time

 

The maximum number of users can utilize the server simultaneously.

 

 

 

 

Rate

 

Base arriving users

 

Waiting time before resuming a virtual user.

 

Peak arriving users

 

The maximum number of people who can begin the test in a given time.

 

Base duration

 

The number of users increases and falls with time.

 

Peak duration

 

The maximum number of users who can utilize the server at the same time.

 

📚Random Profile

The Random load profile simulates the arrival of virtual users with a random variable number of virtual users (VUs load type) (Rate load type).

Random Profile

The Random profile provides varied settings depending on the load type. 

Refer to the following table for more information:

LOAD TYPE

OPTION

DESCRIPTION

 

 

 

 

VUs

 

Base VUs

 

The average number of users who participated in the test.

 

 Random Factor

 

The average number of users who participated in the test.

 

Distribution

 

The difference in the percentage of Base VUs between the minimum and highest number of simulated users.

 

Wait time

 

The distribution method.

 

 

 

 

 

Rate

 

Base arriving users

 

Waiting time before resuming a virtual user.

 

Random Factor

 

The average number of users who begin the test per unit of time throughout the test.

 

Distribution

 

The difference in the number of users starting the test per unit of time during the test between the minimum and maximum values.

 

Peak duration

 

The distribution method.

 

📚Variance Profile

According to periodic functions, the Variance profile alters the number of virtual users (VUs load type) or the number of arriving virtual users (Rate load type) over time.

Variance Profile

The Variance profile includes multiple settings depending on the load type. 

Refer to the following table for more information:

LOAD TYPE

OPTION

DESCRIPTION

 

 

 

 

 

 

VUs

 

Base VUs

 

The average number of users who participated in the test.

 

Amplitude

 

The difference in the percentage of Base VUs, between the minimum and highest number of simulated users.

 

Variance type

 

See the Variance Types section for more information.

 

Cycle Time

 

The amount of time required to accomplish one complete cycle.

 

Wait time

 

Waiting time before resuming a virtual user.

 

 

 

 

Rate

 

Base arriving users

 

The average number of users who begin the test per unit of time throughout the test.

 

Amplitude

 

The difference in the number of users who start the test between the minimum and maximum.

 

Variance Type

 

See the Variance Types section for more information.

 

Cycle Time

 

The amount of time required to accomplish one complete cycle.

 

📚Custom Profile

The Custom profile can generate complicated scenarios. The scenarios are difficult to replicate using other load techniques. We can also perform load tests that mix multiple profiles, such as creating a rapid surge of users that subsequently ramps down.

Custom Profile

Frequently Asked Questions

Why is API testing required?

API testing is critical for ensuring that our API functions as intended when subjected to a wide range of expected and unexpected requests.

How do we configure Ready API?

Download the Ready API Downloads Center installer for the platform. We can also get the installation from Ready API Updater. Check for Updates from the Help menu. In the New Version Check dialogue, select Download.

Is Ready API available for free?

Ready API is a no-code API testing platform that is aimed to simplify your testing procedures. Download your free trial now to gain complete access to all testing features.

What is the most recent Ready API version?

Ready API 3.41. 0 is the most recent release in the Ready API product family, and it includes tools for load testing, security testing, and API virtualization/mocking.

Conclusion

In the article “Setting up the Load Profiles in Ready API,” we have started our discussion with the fundamental aspects of Load Profiles in Ready API. Further, in the article “Setting up the Load Profiles in Ready API,” we discussed the steps for changing the selected Load Profile in Ready API. Available Load Profiles include Fixed, Burst, Ramp Up, Ramp Sequence, Random, Variance, and Custom.

You can refer to our guided paths on Coding Ninjas Studio to learn more about DSA, Competitive Programming, JavaScript, System Design, etc. Enroll in our courses and refer to the mock test and problems available. Take a look at the interview experiences and interview bundle for placement preparations.
 

Happy Learning!

Live masterclass