An autonomous performance testing framework using self-adaptive fuzzy reinforcement learning

被引:5
|
作者
Moghadam, Mahshid Helali [1 ,2 ,3 ]
Saadatmand, Mehrdad [1 ,2 ]
Borg, Markus [1 ,2 ]
Bohlin, Markus [3 ]
Lisper, Bjorn [3 ]
机构
[1] RISE Res Inst Sweden, Vasteras, Sweden
[2] RISE Res Inst Sweden, Lund, Sweden
[3] Malardalen Univ, Hgsk Plan 1, S-72220 Vasteras, Sweden
关键词
Performance testing; Stress testing; Test case generation; Reinforcement learning; Autonomous testing; WORKLOAD; SYSTEMS;
D O I
10.1007/s11219-020-09532-z
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test automation brings the potential to reduce costs and human effort, but several aspects of software testing remain challenging to automate. One such example is automated performance testing to find performance breaking points. Current approaches to tackle automated generation of performance test cases mainly involve using source code or system model analysis or use-case-based techniques. However, source code and system models might not always be available at testing time. On the other hand, if the optimal performance testing policy for the intended objective in a testing process instead could be learned by the testing system, then test automation without advanced performance models could be possible. Furthermore, the learned policy could later be reused for similar software systems under test, thus leading to higher test efficiency. We propose SaFReL, a self-adaptive fuzzy reinforcement learning-based performance testing framework. SaFReL learns the optimal policy to generate performance test cases through an initial learning phase, then reuses it during a transfer learning phase, while keeping the learning running and updating the policy in the long term. Through multiple experiments in a simulated performance testing setup, we demonstrate that our approach generates the target performance test cases for different programs more efficiently than a typical testing process and performs adaptively without access to source code and performance models.
引用
收藏
页码:127 / 159
页数:33
相关论文
共 50 条
  • [1] An autonomous performance testing framework using self-adaptive fuzzy reinforcement learning
    Mahshid Helali Moghadam
    Mehrdad Saadatmand
    Markus Borg
    Markus Bohlin
    Björn Lisper
    Software Quality Journal, 2022, 30 : 127 - 159
  • [2] Framework for Building Self-Adaptive Component Applications based on Reinforcement Learning
    Belhaj, Nabila
    Belaid, Djamel
    Mukhtar, Hamid
    2018 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (IEEE SCC 2018), 2018, : 17 - 24
  • [3] Self-adaptive Torque Vectoring Controller Using Reinforcement Learning
    Taherian, Shayan
    Kuutti, Sampo
    Visca, Marco
    Fallah, Saber
    2021 IEEE INTELLIGENT TRANSPORTATION SYSTEMS CONFERENCE (ITSC), 2021, : 172 - 179
  • [4] Using Reinforcement Learning to Handle the Runtime Uncertainties in Self-adaptive Software
    Wu, Tong
    Li, Qingshan
    Wang, Lu
    He, Liu
    Li, Yujie
    SOFTWARE TECHNOLOGIES: APPLICATIONS AND FOUNDATIONS, 2018, 11176 : 387 - 393
  • [5] Learning Objects Based Framework for Self-Adaptive Learning
    Yacine Atif
    Rachid Benlamri
    Jawad Berri
    Education and Information Technologies, 2003, 8 (4) : 345 - 368
  • [6] Online Reinforcement Learning for Self-adaptive Information Systems
    Palm, Alexander
    Metzger, Andreas
    Pohl, Klaus
    ADVANCED INFORMATION SYSTEMS ENGINEERING, CAISE 2020, 2020, 12127 : 169 - 184
  • [7] Self-Adaptive Capacity Controller: A Reinforcement Learning Approach
    Tomas, Luis
    Masoumzadeh, Seyed Saeid
    Hlavacs, Helmut
    2016 IEEE INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING (ICAC), 2016, : 233 - 234
  • [8] Reinforcement Self-Adaptive Evolutionary Algorithm for Fuzzy Systems Design
    Hsu, Yung-Chi
    Lin, Sheng-Fuu
    2008 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL TECHNOLOGY, VOLS 1-5, 2008, : 340 - 345
  • [9] On Self-adaptive Resource Allocation through Reinforcement Learning
    Panerati, Jacopo
    Sironi, Filippo
    Carminati, Matteo
    Maggio, Martina
    Beltrame, Giovanni
    Gmytrasiewicz, Piotr J.
    Sciuto, Donatella
    Santambrogio, Marco D.
    2013 NASA/ESA CONFERENCE ON ADAPTIVE HARDWARE AND SYSTEMS (AHS), 2013, : 23 - 30
  • [10] Control and Coordination of Self-Adaptive Traffic Signal Using Deep Reinforcement Learning
    Mandhare, Pallavi
    Yadav, Jyoti
    Kharat, Vilas
    Patil, C. Y.
    INTERNATIONAL JOURNAL OF NEXT-GENERATION COMPUTING, 2021, 12 (02): : 190 - 199