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 条
  • [31] Dimmer: Self-Adaptive Network-Wide Flooding with Reinforcement Learning
    Poirot, Valentin
    Landsiedel, Olaf
    2021 IEEE 41ST INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS 2021), 2021, : 293 - 303
  • [32] Research on reinforcement learning of the intelligent robot based on self-adaptive quantization
    Zhang, RB
    Sun, Y
    Wang, XC
    Yang, GM
    Gu, GC
    PROCEEDINGS OF THE 3RD WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION, VOLS 1-5, 2000, : 1226 - 1229
  • [33] A Meta Reinforcement Learning-based Approach for Self-Adaptive System
    Zhang, Mingyue
    Li, Jialong
    Zhao, Haiyan
    Tei, Kenji
    Honiden, Shinichi
    Jin, Zhi
    2021 IEEE INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING AND SELF-ORGANIZING SYSTEMS (ACSOS 2021), 2021, : 1 - 10
  • [34] Self-Adaptive Testing in the Field
    Silva, Samira
    Pelliccione, Patrizio
    Bertolino, Antonia
    ACM TRANSACTIONS ON AUTONOMOUS AND ADAPTIVE SYSTEMS, 2024, 19 (01)
  • [35] Self-adaptive Power Management Framework for High Performance Computing
    Saurav, Sumit Kumar
    Raghu, H., V
    Bapu, Bindhumadhava S.
    2017 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI), 2017, : 1913 - 1918
  • [36] Testing Self-Adaptive Software with Probabilistic Guarantees on Performance Metrics
    Mandrioli, Claudio
    Maggio, Martina
    PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 1002 - 1014
  • [37] Testing Self-Adaptive Systems using Fault Injection and Combinatorial Testing
    Wotawa, Franz
    2016 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2016), 2016, : 305 - 310
  • [38] Construction of self-learning fuzzy controllers using autonomous adaptive control methodology
    Karavaev, M. V.
    Zhdanov, A. A.
    JOURNAL OF COMPUTER AND SYSTEMS SCIENCES INTERNATIONAL, 2007, 46 (02) : 255 - 261
  • [39] Construction of self-learning fuzzy controllers using autonomous adaptive control methodology
    M. V. Karavaev
    A. A. Zhdanov
    Journal of Computer and Systems Sciences International, 2007, 46 : 255 - 261
  • [40] A Safe and Self-Recoverable Reinforcement Learning Framework for Autonomous Robots
    Wang, Weiqiang
    Zhou, Xu
    Xu, Benlian
    Lu, Mingli
    Zhang, Yuxin
    Gu, Yuhang
    2022 41ST CHINESE CONTROL CONFERENCE (CCC), 2022, : 3878 - 3883