Int J Performability Eng ›› 2026, Vol. 22 ›› Issue (4): 227-235.doi: 10.23940/ijpe.26.04.p6.227235

Previous Articles    

Hybrid Adaptive Bat and Particle Swarm Approach for Activity Diagram Based Test Case Generation

Rajesh Kumar Sahooa, Sanjib Kumar Nayakb, Santosh Kumar Upadhyayc,*, Deeptimanta Ojhad, and P. Pawan Kumare   

  1. aDepartment of CSE, Ajay Binay Institute of Technology, Odisha, India
    bDepartment of CSE, Veer Surendra Sai University of Technology, Odisha, India
    cDepartment of CSE, Ajay Kumar Garg Engineering College, Uttar Pradesh, India
    dIT Analyst, Tata Consultancy Services Bhubaneswar, Odisha, India
    eDepartment of Science & technology, ICFAI Foundation for Higher Education University, Telangana, India
  • Submitted on ; Revised on ; Accepted on
  • Contact: * E-mail address: upadhyaysantosh@akgec.ac.in

Abstract: Software testing has always been an essential pillar in ensuring software reliability and satisfaction of user requirements. Software systems are complex and require thorough testing to improve reliability and quality. However, manual test case design has a notorious history of being time-consuming and is subject to human error. Even most available automated methods are inflexible and require significant time, effort, and financial resources. Recently, search-based test data generation has become a significant, effective, and practical approach to overcoming these obstacles, and many meta-heuristic algorithms have been proposed to generate test cases to achieve branch coverage. Even though these strategies have shown good performance, researchers can further optimize these approaches. This paper proposes an automated test-case generation and optimization model that integrates activity diagram modelling with a Hybrid Adaptive Bat Particle Swarm Algorithm (ABPSA). Activity diagrams are used to represent the system's dynamic behavior, while the ABPSA is a synergistic combination of the exploratory nature of the Bat algorithm and the adaptive optimization of Particle Swarm Optimization. The algorithm is aimed at dynamically tracking the development of the activity-diagram model and thus effectively producing optimized test data. The effectiveness of the given framework is empirically demonstrated through a case study of the ATM withdrawal process.

Key words: test case generation, optimization, activity diagram, heuristic algorithms, adaptive bat particle swarm algorithm