Tips for using web application stress Tool

Source: Internet
Author: User

This is a free tool from Microsoft. I personally think it is "very easy" to use. At least it can be downloaded from Microsoft's official website without looking for a variety of registration machines or activation codes.

For more information and usage, see:

Http://www.cnblogs.com/suchenge/articles/884129.html

 

Http://www.williamlong.info/info/archives/196.html

The author wrote clearly and well. Here I will record some of my usage experiences.

 

The reason why I want to use was is to test the performance of a small module written by myself. The module itself is small, but for various reasons, I am not at ease. Then, I downloaded was, installation and use.

Some of the problems I encountered during the learning process are as follows:

    1. About the get parameter random: I thought he would generate his own parameter results. I always showed signs that "the application didn't get the parameter" in the test. Finally, after various attempts, I finally understood, this "random number" is random within the range you specified. OK, I wrote a small consoleProgramWrite the number of 1000 rows (actually 999 rows of ^_^) in a text file and copy and paste it in. Okay, well, my application finally received the random number.
    2. Bugs found during the test: Stress testing is really useful. I have written a good program and there is almost no problem in manual testing. Only a few lines are found during testing.CodeThere are obvious performance problems ...... Finally, it was changed. (In fact, there is still a problem. I can't solve it, but I just reduced it ......);
    3. Stress Level and stress Multiplier: I didn't tell the two things at last, but something interesting happened in the test. First I set both to 1 and then adjust the number of users (from 1 to 50 ), finally, we get about 200 of the number of requests per second (that is, the access is successful), and then adjust the stress multiplier (......) When it is adjusted to 10, there are 2 requests per second, but after it is adjusted to 12, there are 600 requests per second ...... In this process, I will be patient (in fact, I don't want to think about it ......) Once again (20 seconds warm-up, 5 minutes of testing), and finally, the sudden inspiration made me understand that the extra 600 times were actually 500 errors, that is, my application has a problem .................. This was originally very simple, and the result was a waste of time because I didn't want to think about it carefully.

Was is quite fun. I hope I can use it very well.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.