Why does your load testing tool report high response times, but on your browser, your application loads really quickly? Nicole talks about the most common cause for these unexpected response times.
More information and other possible causes for high response times: [ Ссылка ]
============================
TRANSCRIPT:
0:10 It's always confusing when your load testing tool reports higher average response times than what you can see while you're manually accessing your application on your browser. There are many things that might cause this, but one of the most common causes for it is that you're overloading your node generators.
0:27 As a general rule of thumb, you'll want to keep your CPU utilization at 80% or less throughout the duration of the test. It is normal for it to spike in the beginning, but it should ideally come to a more stable spot below 80%. If your node's CPU utilization is going over 80% for most of the test, then what that means is that your node is struggling to get those requests out, which may lead to some inaccurate results. You can confirm whether or not this is the cause of your high response times by checking the logs and checking the resource utilization on your nodes.
1:06 If you're running on Flood, you can do this while the flood is running by going over to Grids, selecting the grid, and then scrolling down on the panel on the right to see the CPU and memory as well as the network throughput.
1:19 There are a couple of things you can do to fix this. The first one is to increase any sort of delays or think times in your script — and, if you don't already have any, you should add some. Think times make the script a lot more realistic and a lot closer to what real users would do. If these values are too low, then your load testing tool is just going to run the script as fast as possible, consuming more resources than necessary.
1:46 The second thing you can do is reduce the number of users you're running per node. This will free up more resources per node and make it a lot easier to scale up your load tests more effectively.
============================
ABOUT US
Tricentis Flood is a platform that allows you to upload and run load test scripts at scale on cloud-based and on-premise infrastructure. We want to make load testing easy for anyone and everyone to do, improving software performance and reliability one app at a time.
More about Flood: [ Ссылка ]
Email us: support@flood.io
Flood Guides: [ Ссылка ]
Twitter: [ Ссылка ]
LinkedIn: [ Ссылка ]
Facebook: [ Ссылка ]
Ещё видео!