Xia, Yuanjie (2021) Reducing the Length of Field-replay Based Load Testing. Masters thesis, Concordia University.
Preview |
Text (application/pdf)
1MBXia_Master_A2021.pdf - Accepted Version |
Abstract
With the development of software, load testing have become more and more important. Load testing can ensure the software system can provide quality service under a certain load. Therefore, one of the common challenges of load testing is to design realistic workloads that can represent the actual workload in the field. In particular, one of the most widely adopted and intuitive approaches is to directly replay the field workloads in the load testing environment, which is resource- and time-consuming.
In this work, we propose an automated approach to reduce the length of load testing that is driven by replaying the field workloads. The intuition of our approach is: if the measured performance associated with a particular system behaviour is already stable, we can skip subsequent testing of this system behaviour to reduce the length of the field workloads. In particular, our approach first clusters execution logs that are generated during the system runtime to identify similar system behaviours during the field workloads. Then, we use statistical methods to determine whether the measured performance associated with a system behaviour has been stable. We evaluate our approach on three open-source projects (i.e., OpenMRS, TeaStore, and Apache James). The results show that our approach can significantly reduce the length of field workloads while the workloads-after-reduction produced by our approach are representative of the original set of workloads. More importantly, the load testing results obtained by replaying the workloads after the reduction have high correlation and similar trend with the original set of workloads. Practitioners can leverage our approach to perform realistic field-replay based load testing while saving the needed resources and time.
Divisions: | Concordia University > Gina Cody School of Engineering and Computer Science > Computer Science and Software Engineering |
---|---|
Item Type: | Thesis (Masters) |
Authors: | Xia, Yuanjie |
Institution: | Concordia University |
Degree Name: | M. Comp. Sc. |
Program: | Software Engineering |
Date: | 18 August 2021 |
Thesis Supervisor(s): | Shang, Weiyi |
ID Code: | 988707 |
Deposited By: | Yuanjie Xia |
Deposited On: | 29 Nov 2021 16:29 |
Last Modified: | 29 Nov 2021 16:29 |
Repository Staff Only: item control page