Design Of Automatic Rest Api Testing Framework Using Behavioral Driven Development Approach

Andres Setiawan, Haryono Haryono

Abstract


REST API is an interface that allows components to interact and exchange information over a network. Testing REST API is essential to ensure the reliability of interactions between components. This research discusses the framework for automatic REST API testing using Behavioral Driven Development. The research begins with the creation of test cases, which are then processed into a designed framework for automatic testing based on the created test cases. Ultimately, the automatic REST API testing framework will generate and display a test report that includes information such as testing status, results, and duration. The focus of the research is to produce a generic REST API testing framework that can be adopted by various REST APIs and easily implemented in the transition process from manual to automatic testing. This automatic REST API testing framework can reduce testing time by 93.67% compared to manual testing. Based on survey data, 7 out of 10 respondents said that the automatic testing framework is very easy to learn and use. The survey data also reveals that 9 out of 10 respondents have seen the benefits of the automatic REST API testing framework that was created for this research.


Keywords


REST API, Automation Testing, Distribution System

References


Alaslan, A. (2021). Metode Penelitian Kualitatif. Depok: Rajawali Pers.

Ataman, A. (2023, 01 16). Transitioning from Manual to Automation Testing in 2023. From Research AI Multiple.

Barus, A. C. (2019). The implementation of ATDD and BDD from Testing. International Conference on Advance and Scientific Innovation.

Gore, Y., & Sharma, L. (2022, 07 13). Gherkin Keywords. From Tools QA.

Hamilton, T. (2023, 02 14). Test Coverage in Software Testing. From Guru99.

Isha, A. S. (2019). Automated API Testing. International Journal of Engineering Science and Computing.

Kumari, B., Chauhan, N., & Vedpal. (2018). A Comparison Between Manual Testing and Automated Testing. Journal of Emerging Technologies and Innovative Research.

Nascimento, N., Sales, A., Santos, A. R., & Chanin, R. (2020). Behavior-Driven Development - A case study on its impacts on. IEEE/ACM 42nd International Conference on Software Engineering Workshops (ICSEW).

Neumann, A., Laranjeiro, N., & Bernardino, J. (2021). An Analysis of Public REST Web Service APIs. IEEE Transactions on Services Computing.

Thabroni, G. (2021, 02 10). Metode Penelitian Kuantitatif: Pengertian, Karakteristik & Jenis. From Serupa.

Umar, M. A., & Zhanfang , C. (2019). A Study of Automated Software Testing: Automation Tools and Frameworks. International Journal of Computer Science Engineering.

Wynne , M., Tooke, S., & Hellesøy, A. (2017). The Cucumber Book, Second Edition Behaviour-Driven Development for Testers and Developers. The Pragmatic Programmers.




DOI: 10.33751/jhss.v7i2.7540

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.