After the first internal beta version of the software system is released, performance testing is a common problem. We need to use different tools to complete the entire test process. Next we will introduce several commonly used tools.
Jmeter
The basic concepts of Java open-source tools are as follows:
1. thread group: in the test, each task must be processed by a thread. All subsequent tasks must be created under the thread group. You can create a thread group in "test plan-> Add-> thread group", and then there are several input columns in the thread group panel: thread count, ramp-up period (in seconds) number of cycles, in which ramp-up period (in seconds) indicates that all threads have been created during this time. If there are 8 threads and ramp-up = 200 seconds, the thread startup interval is 200/8 = 25 seconds. The advantage is that there is no heavy load on the server at the beginning.
2. sampler: it can be considered that all test tasks are undertaken by the sampler. There are many types of tasks, such as HTTP requests.
3. assertion: determines whether the result of the request returned by the sampleer is correct.
4. Monitor: it displays and counts some data (throughput, kb/s…) on the result of the samplete request ......) .
Jmeter Chinese User ManualHttp://wenku.baidu.com/view/4c09c1d126fff705cc170a2e.html
The specific usage is as follows:
A detailed procedure guide
Http://www.ibm.com/developerworks/cn/opensource/os-pressiontest/index.html
Stress Testing is aimed at testing the software response speed, especially when a large number of concurrent users access the software in a short period of time. This document uses jmeter as an example to describe how to use it to perform common stress testing: Web Testing, database testing, and JMS testing.
Open Source Tool Set
Http://www.opensourcetesting.org
This site provides open-source software function testing, performance testing, unit testing, and other tools.
Was/Visual Studio
Microsoft's web application stress Tool
The official website is no longer available. Visual Studio has a more powerful version.
Many other commercial software, such as LoadRunner and qtp, can retrieve relevant information on many websites.