{'fraction_non_alphanumeric': 0.018867924528301886, 'fraction_numerical': 0.002830188679245283, 'mean_word_length': 5.469512195121951, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
TTCN-3 Based Robustness Test Generation and Automation

Robustness testing is a widely accepted approach to detect potential robustness weaknesses. However, the existing robustness testing approach suffers from some limitations, especially lacking support for automatic extraction of the SUT(System Under Test) specification knowledge, such as input syntax and interaction scenario. Such information is crucial for robustness test generation. In this paper, we present a TTCN-3 based robustness test generation and automation approach. The approach at first extracts the input syntax of SUT from TTCN-3 functional test suite; then generates invalid inputs according to the input syntax; at last automates the test execution by reusing the interaction scenarios defined in functional test cases to achieve invalid input injection and test verdict determination. We conducted a case study on three widely used SIP terminals. In the case study, our approach detected several different robustness problems in all three SIP terminals, and some of them are critical.