Does The Load Testing Send Real Requests?

sohlae 90 Reputation points
2023-08-01T23:57:40+00:00

Our application is a .NET Web API application which is integrated with Dynamics 365 via HTTP requests. I am new to the Azure Load Testing resource and so I want to apologize for my ignorance.

If I create a URL test for an API (e.g., GET https://app.azurewebsites.net/employees) that also invokes an API in Dynamics and I set the test for 500 virtual users with test duration of 60 seconds, will there be 500 real requests coming to the .NET API, consequently sending 500 real requests to Dynamics?

In the documentation, it states that Azure Load Testing simulates traffic which for me implies that the requests are not real, but I just want to be sure.

Azure Load Testing
Azure Load Testing
An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application
58 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sedat SALMAN 13,825 Reputation points
    2023-08-02T04:27:26.0033333+00:00

    Absolutely, when you conduct load testing, real HTTP requests are sent to the specified system. To illustrate, if you configure a test with 500 virtual users, Azure Load Testing will emulate 500 users who will send actual requests to your .NET Web API. As a result, your .NET API would relay these requests to Dynamics 365.

    In the context of Azure Load Testing, the term "simulate" refers to the mimicking of human user behavior. That is, while the actions a user may take while interacting with your app are automated, they do send genuine requests. It's critical to understand that, even though these requests come from "virtual" users, your system treats them as real traffic. You should be aware that detecting such automated traffic may cause your system or its dependencies to behave differently.

    The primary goal of load testing is to determine how well your system handles high demand; therefore, it is critical to observe not only the app being tested but also any associated systems. This gives you a comprehensive picture of the load's impact. It's important to remember that if Dynamics 365 isn't prepared or configured to handle this influx of requests, you may run into problems. As a result, when performing load tests, especially in production or shared environments, it is critical to plan and communicate effectively.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.