APSL: A light weight testing tool for protocols with complex messages

Publication date

2017

Authors

Tervoort, Tom
Prasetya, WishnuISNI 0000000396460003

Editors

Advisors

Supervisors

Document Type

Part of book
Open Access logo

License

taverne

Abstract

Many real world communication protocols exchange complex messages, consisting of multiple nested fields, some could have values that depend on other fields. To properly test an implementation, it is not sufficient to only explore different orders of message exchanges. We also need to test if the implementation produces correctly formatted messages, and responds correctly when it receives different variations of every message type. This paper presents a light weight model based testing tool called APSL. Models are described as labelled transitions systems, from which abstract test sequences can be generated. APSL’s main contribution is in its language for describing complex message formats, text-based or binary, allowing APSL to automatically concretize abstract test sequences, and check incoming messages for their type and format conformance. Testing works out thus of the box: developers do not need to first write a dedicated concretization layer, which would otherwise require substantial investment.

Keywords

Model based testing of protocols, Taverne, Theoretical Computer Science, General Computer Science

Citation

Tervoort, T & Prasetya, I S W B 2017, APSL : A light weight testing tool for protocols with complex messages. in Hardware and Software: Verification and Testing - 13th International Haifa Verification Conference, HVC 2017, Proceedings. vol. 10629 LNCS, Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 10629 LNCS, Springer, pp. 241-244, 13th International Haifa Verification Conference, HVC 2017, Haifa, Israel, 13/11/17. https://doi.org/10.1007/978-3-319-70389-3_20, conference