Dergiler / EMO Bilimsel Dergi / 2022 / Cilt: 12 - Sayı: 23
Tersine Mühendislik Yöntemi ile Test Senaryo Üreten ve Yürüten Çerçeve: Finansal Bir Uygulamada Vaka Çalışması
- Dergi
- EMO Bilimsel Dergi
- Sayfa
- 33–41
- DOI
- —
Özet
Bu makalede, birbiriyle API mesajlarını kullanarak iletişimde bulunan istemci-sunucu mimarisine dayalı sistemler için, farklı veri formatlarını destekleyen bir mesaj güdümlü test senaryosu üreten ve yürüten çerçeve yaklaşımı önerilmektedir. Temel olarak, çerçeve ağ üzerinde istemci- sunucu uygulamaları arasındaki iletişimden elde edilen ağ log dosyasından tersine mühendislik yöntemi ile API mesajlarını elde ederek yürütülmesini sağlamaktadır. Büyük ölçekli iş uygulamalarının fonksiyonel doğruluğunun tekrarlı bir şekilde manuel olarak test edilmesi zaman alan ve hataya açık bir süreçtir. Bu sürecin uçtan uca (test senaryosu üretiminden yürütülmesine, doğrulanması ve hata raporlanması kadar geçen sürecin) otomatikleştirilmesi yazılım testinde verimliliği artırmaktadır. Günümüzde API testinde kullanılan mevcut test araçları, tüm iş alanlarına entegre edilememektedir. Dahası, var olan test otomasyon araçları daha çok HTTP protokolü üzerinden erişilebilen WEB-API’leri içindir. Bu çalışmanın motivasyonu da, iletişim olarak API mesajlarını kullanan istemci -sunucu mimarisine dayalı uygulamalara yönelik regresyon testi otomasyonu çerçevesi azlığından kaynaklanmaktadır. Bu makalede önerdiğimiz yaklaşımımızın etkinliğini değerlendirmek için finansal bir sisteme uyguladık.
Abstract
In this paper, a framework that generates and executes a message driven test scenario that supports different data formats is proposed for the systems based on client-server architecture that communicate with each other by using different data formats. Basically, the framework provides the generation of API messages by using reverse engineering method from the network log file obtained from the communication between client-server applications on the network. Repetitive manual testing of the functional correctness of large-scale business applications is a time- consuming and error-prone process. Automating this process by ensuring end-to-end increases software testing efficiency. The studying is motivated due to the fact that there is a lack of regression test automation framework in a specific domain: client-server apps which uses API messages for the communication, such as financial applications. W e have applied the proposed testing framework in this paper into a financial systems in order to evaluate the effectiveness of the framework.