Loadrunner Performance Test of an instance 51CMM.COM original: rongrong3000 [2003/06/09]
As testing is increasing, the performance test is also more concerned. Comparative universal performance test tools are LoadRunner7.51, but many people are not very familiar with this performance tool. I also conclude that the performance test example will be done, I hope that friends who do test are helpful. The program is a performance test for a company's testory bank. The test bank is an assessment used to train the company's internal staff training results. The test bank is on the company's internal web server, assumes that 50 candidates can participate in the exam at the same time. Requirements, each machine can only be used by one user. Each user can only log in to the test system. After the topic is completed, the test results are required. If it is not submitted within the established time, the system is forced submit the test result. However, the general test department cannot be tested simultaneously with 50 machines. Therefore, you can use the LoadRunner7.51 analog IP address to modify the script to assist the test. However, in order to ensure the test results, it is recommended to collect all the available machines in the company to make a review, because sometimes it is not fully trustworthy. On-site test environment hardware: 50 PCs, web server software: Loadrunner7.0, Win2000, IE5.0 and IE6.0 personnel: 2 quality control department, 22 executive field testing projects, provide the site environmental technical department 1 People, providing technical support testing requires 50 users with independent IP addresses, different users and passwords are logged in, and they are submitted at the same time after completion of the test. Test content 50 users log in to the test book in different usernames and passwords. After the test is completed, the test results are submitted. The test results can be submitted normally and correctly score. Test Scheme 1, completely 20 actual PCs for on-site testing. (1) Prepare work and make a plan.
The first round of test is three times, set all the user test content, all of which use IE5.0 in the first time, 10 times using IE5.0, 10 sets IE6.0, and IE6 is used in the third time. 0 (2) AT 9:00, 20 users simultaneously log in to the system (3) AT 9:05, 20 users simultaneously submit (4) Results of the first round of test (three times) (5) second round Test preparation, set 15 user test content simultaneously, another 5 users are over 5 minutes, all IE5.0 (6) AT 9:15, 20 users simultaneously log in to the system (7) AT 9:20 15 users simultaneously submit (8) AT 9:25, the remaining 5 users simultaneously submit (9) Record the second round of test results (10) third round test preparation, set 15 user test content simultaneously, 5 users are delayed for 5 minutes, all IE6.0 (11) AT 9:15, 20 users simultaneously log in to the system (12) AT 9:20, 15 users simultaneously submit (13) AT 9:25, remaining 5 users simultaneously submit (14) Record the third round of test results (15) The fourth round test preparation work, set 15 user test content simultaneously, and 5 users are delayed for 5 minutes, and the user uses IE5. 0, delay submission users use IE6.0 (16) AT 9:15, 20 users simultaneously log in to the system (17) AT 9:20, 15 users simultaneously submit (18) AT 9: 25, the remaining 5 users Submit (19) Record the fourth round test result (20) Fifth round test preparation, set 15 user test content simultaneously, and 5 users are delayed for 5 minutes, normal submission users use IE6.0, delay Submit users to use IE5.0 (21) AT 9:15, 20 users simultaneously log in to the system (22) AT 9:20, 15 users simultaneously submit (23) AT 9:25, the remaining 5 users are submitted at the same time (24) Record the fifth round test results (25) Sixth test preparation, set 15 user test content simultaneously, and 5 users are delayed for 5 minutes, and 10 users are submitted to the user using IE5.0, 5. IE6.0, delay submission users use IE5.0 (26) AT 9:15, 20 users simultaneously log in to the system (27) AT 9:20, 15 users simultaneously submit (28) AT 9:25, the remaining 5 User simultaneously submit (29) Record the sixth round test result (30)
The seventh round test is prepared, set 10 user test content simultaneously, and 10 users delayed for 5 minutes, 15 submit (31) AT 9:35, 20 users simultaneously log in to the system (32) AT 9:40, 10 users submit (33) AT 9:45, the remaining five users are submitted at the same time (34) AT 9:55, the remaining 5 users are submitted (35) record the seventh round test results, See the second round of testing - the sixth round test process is tested for IE5.0 and IE6.0, respectively, the eighth round test preparation, set 10 users, not commit, by the system forced submission (37) AT 10:10, 20 users simultaneously log in to the system (38) AT 10:15, 10 users Submit (39) The rest of the user's content is submitted by the system (40) record the eighth round test results, see the second round of test - The sixth round test process is tested (41) the ninth round test of IE5.0 and IE6.0, respectively, and 10 users are submitted at the same time, 5 users are delayed for 5 minutes, and the rest of the users System forcibly submit (42) AT 10:25, 20 users simultaneously log in to the system (43) AT 10:30, 10 users simultaneously submit (44) AT 10:35, the remaining five users are submitted (45) remaining 5 user systems enforce submission (46) Record the ninth round test results, see the second round of testing - the sixth round testing process 2 for testing IE5.0 and IE6.0, simulates 20 users for testing. Among them, 10 is a PC, and the IP address of 10 machines is loadrunner simulated. (1) Extract one of the virtual 10 IP addresses in 10 actual PCs, including its own IP address, a total of 11 IP addresses on the machine, this 11 IP addresses can only use IE5.0 or all Using IE6.0 (2) The remaining 9 actual PCs are operated by 9 people, and another machine is operated by a heat control unit (3) for abnormal conditions, delay submission, and forced submit all by actual machines. To simulate (4) see 13, and simulate 20 users for testing. Among them, 5 is a PC, and the IP address of the 15 machines is simulated with LoadRunner. (1) A total of 15 IP addresses in 5 actual PCs, including their own IP address, a total of 16 IP addresses on the machine, this 16 IP addresses can only use IE5.0 or all Using IE6.0 (2) The rest of the four actual PCs are operated by 4 people, and another machine is operated by a heat control unit (3) for abnormal conditions, delay submission and mandatory submit all by actual machines. To simulate (4) see 14, and simulate 35 users for testing. Among them, 20 is a PC, and the IP address of the other 15 machines is simulated with LoadRunner.