How to determine a website is good in load testing?
-
I'm a newbie at testing. For now, I'm using JMeter to build a test plan, then run it against my java web application. At the moment I just use (average response time, 90% line, throughput, and estimation of CPU/memory used) to give an approxiate estimation about how the web works. Is there any kind of quality check-list to know that a web application is working fine? I have tried to search the web, but found no clue. UPDATE: About my test-plan, it simulate a case that 200 users access my web application at the same time, and follow a typical work flow: login, check out goods, download documents... I'm trying to make the test as real as it should be, so that I will know if there's any potential problem. I also added "user think-time", to make the test more realistic.
-
Answer:
It sounds like you are on the right track. The response time is going to give you a broad measurement of how acceptabel the performance of your app is going to be for endusers. You will want to get maximum response time as well. Otherwise it comes down to how well is your hardware platform handling the load. That is a bit harder. Basically you are looking for bottlenecks in the server where load is slowing things down. You may not get a bottle neck simulating 200 users with think times. If the CPU and Memory stats are not high, check the disk queue lengths to make sure there is no disk issues. The general process is then Is the performance measure by my response times okay? Yes: Increase load and try again. No: Then what part of my hardware is causing the problem at this load. You can stop when you are happy that your website is going to meet the expected or you realise there is a performance problem. It is often tempting to add more hardware to a poorly performing website, but you can get a lot of mileage by changing the code to make the application more efficient. The load test will helpfully tell you which parts of your app are worst and you can focus attention on them.
Hoàng Long at Stack Overflow Visit the source
Other answers
I agree with Tayler. It is important to understand what you're testing, what you want to test. Than you can answer HOW TO DO THIS question. Here is some simple examples (also check wikipedia - performance testing to get better overall picture). Do you want to test server characteristics? In this case I used scripts in which number of user increases over time. This of course depends on server configuration, if you have 2 clusters and each is able to handled 150 concurrent connections it it good to test how it performs when load balancing starts. Do you want to check how application and server acts under estimated high load? In this case it should be in requirements what is expected load (number of users). Script should be run for quite long time also memory profiling should be done to check for possible memory leaks. In this case you will be able to answer is it stable. Do you want to check the peak of huge amount of users in short time period? .... There is a lot of questions like this. If you determine what type of test you want to perform than you should be able to compare values with requirements.
Pawel F.
Firebug using firefox or right click and inspect element and reload the page and go back to the inspect element window .. there you can see some good stats in network that can help
mrstanfan
It's much more important to understand WHAT you're testing and even more importantly what your load is, and it's characteristics. (Is it evenly spread out or spikey? Avg. num of simulatenous visitors expected, use patterns, etc). Until you know the answers to those questions any numbers you get are somewhere between meaningless and downright misleading.
Tyler Eaves
Related Q & A:
- How To Unblock A Website?Best solution by Yahoo! Answers
- How to make a website popular?Best solution by Yahoo! Answers
- How to move a website through redirect?Best solution by Stack Overflow
- How to create a website similar to Monster.com?Best solution by stackoverflow.com
- How to add a website to a search engine?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.