Blog system performance testing

Use loadrunner to conduct simple performance tests: conduct simple performance tests for user login, blog posting, blog deletion, logout and other functions.
Then during the implementation process, the rendezvous points and transactions are inserted, and the user's concurrent operations are implemented through settings.


Create Vuser script. Record end-user activities in automation scripts.

Set up a load testing environment using LoadRunner Controller.

Use LoadRunner Controller to drive, manage and monitor load tests.

Use LoadRunner Analysis to create graphs and reports and evaluate performance.

 1. Open loadrunner for script recording

2. Recording script successful 

3. Modify the script and then play it back. The playback is successful.

4. Create scenes

4.1 Set virtual number of people

Set the virtual number of people to 50

4.2 Set the scene

Set five people to enter every 10 seconds, run for five minutes in total, and exit fifteen people every fifteen seconds.

5. Result analysis

5.1 Aggregated data

5.2Running Vusers

Virtual user operation during load process : Explain the process of system load formation and how the number of virtual users changes over time.

5.3Hits per Second

Hits per second: Description - Hits per second provides a record of the number of hits generated by the system under current load. Each click is equivalent to a request to the server. Generally, the number of clicks will increase as the load increases. The larger the data, the better.

5.4Throughput

Bandwidth Usage/Throughput: Description——The bandwidth used under the current system load. The smaller the data, the smaller the bandwidth dependence of the system. Through this data, it can be determined whether there is a bottleneck of network bandwidth.

5.5Transaction Summary

Transaction summary description : Description - The more transactions that pass, the stronger the system's processing capabilities; the fewer failed transactions, the more reliable the system is.

5.6Average Transaction Response Time

Average transaction response time: Description—reflects the change of transaction response time over time, and the smaller the time, the faster the processing speed.

Guess you like

Origin blog.csdn.net/qq_59561046/article/details/132373930