Last post Nov 16, 2018 03:20 AM by superjose
Nov 15, 2018 03:59 PM|superjose|LINK
Hi everybody! It's been a while now. For the first time, I'm stress testing a site. I want to know how capable is the site so I can estimate how much it will cost me to support x amount of users.
I've been reading for a while now, and I know this is something specific to my use case. That's why I'm testing critical endpoints of the application. I've purposely created a controller with POST parameters, no authentication and dummy data that constantly
inserts into a production Database. All of these are controlled and can be easily cleaned after the test.
I currently have a .NET Core 2.1 App with a separate MSSQL Express instance running. The server is being run on 1GiB RAM and 1 vCPU on an EC2 instance in AWS.
I've decided to use JMeter with Azure DevOps and I'm confused on how to read it, and where should I focus on.
The test consisted of the following:
Number of Agents: 20.
Load duration: 1 minute.
(See point #1 of the questions to get the configuration of JMeter)
Here are some questions:
Number of agents
The Number of Threads
Here's what's Azure is showing: (There are some Gate timeout 504 errors as well)
Here's a full overview of Azure's result.
Nov 16, 2018 03:15 AM|Fei Han - MSFT|LINK
What's the difference between the Number of agents (Azure) and
The Number of Threads (users) in JMeter?
this blog, you can find:
Number of agents is the scaling factor. Your JMeter test will be replicated across the number of agents you specify and accordingly the load will be multiplied. For example, if the total number of threads in your JMeter test is 50 and you select 5 agents, your app will be hit with requests using 250 threads. More agents will be available in the future to generate a higher load.
How can I know what's the bottleneck? Or what's the issue?
You can trace the changes of avg resp time with userload and req/sec, and you can check actual Memory Usage, Cpu Time etc metrics of your AWS.
Based on your test errors, there are many 5xx errors occur, please check if something wrong with your application code (or code logic).
Besides, you post your question in Azure DevOps related forums:
Nov 16, 2018 03:20 AM|superjose|LINK
Excellent! Thank you so much Fei Han!