Abstract Conformance testing is very important in the framework of protocol engineering. In order to test if the implementation of a protocol conforms to its specification, a test sequence must be generated from the specification, which will be used by an external tester. An external tester includes an active tester and a test responder. When the active tester is far away from the test responder, the test sequence may suffer a synchronization problem. This paper focuses on the complexity of generating synchronizable test sequences. It is shown that generating a minimum-cost synchronizable test sequence is an NP-hard problem. Besides, it is also shown that designing an s-approximation algorithm for the problem is at least as hard as designing an e-approximation algorithm for the asymmetric traveling salesman problem obeying the triangle inequality. Few results on complexity issues of conformance testing appeared before.
[1]
Alfred V. Aho,et al.
An optimization technique for protocol conformance test generation based on UIO sequences and rural Chinese postman tours
,
1991,
IEEE Trans. Commun..
[2]
Lawrence Bodin,et al.
Approximate Traveling Salesman Algorithms
,
1980,
Oper. Res..
[3]
Gregor von Bochmann,et al.
Synchronization and Specification Issues in Protocol Testing
,
1984,
IEEE Trans. Commun..
[4]
David Rayner,et al.
A System for Testing Protocol Implementations
,
1982,
Comput. Networks.
[5]
Teofilo F. Gonzalez,et al.
P-Complete Approximation Problems
,
1976,
J. ACM.
[6]
David S. Johnson,et al.
Computers and Intractability: A Guide to the Theory of NP-Completeness
,
1978
.
[7]
Jan Karel Lenstra,et al.
On general routing problems
,
1976,
Networks.