Abstract
Reproducible testing is one of the effective ways to perform or repeat a desired test scenario in concurrent systems. When we apply it to distributed systems where remote calls are used as communication facilities, new deadlocks may be introduced when we incorporate the test control mechanism to the execution of the program under test. A static analysis technique has been thus explored to solve this problem. Using the static analysis, we can derive a test model from a given test constraint. This test model is then used in the test control procedure to help the test controller to avoid deadlocks. The test constraint carries information of not only the constraint from the test users, but also the program structure related to the remote calls. In this paper, we present our work on the automated construction of such test constraints from user’s input and the program source code.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
P. C. Bates. Debugging heterogeneous distributed systems using event-based models of behavior. ACM Transactions on Computer Systems, 13(1):1–31, Feb. 1995.
A. Bechini and K. C. Tai. Design of a toolset for dynamic analysis of concurrent Java programs. In Proc. of the 6th International Workshop on Program Comprehension, Ischia, Italy, June 1998.
X. Cai and J. Chen. Control of nondeterminism in testing distributed multithreaded programs. In Proc. of the First Asia-Pacific Conference on Quality Software (APAQS 2000), pages 29–38. IEEE Computer Society Press, 2000.
R. H. Carver and K. C. Tai. Replay and testing for concurrent programs. IEEE Software, pages 66–74, Mar. 1991.
R. H. Carver and K.C. Tai. Use of sequencing constraints for specification-based testing of concurrent programs. IEEE Transactions on Software Engineering, 24(6):471–490, June 1998.
J. Chen. On using static analysis in distributed system testing. In Proc. of the 2nd International Workshop on Engineering Distributed Objects (EDO’ 2000), LNCS 1999, pages 145–162, 2000.
C. A.R. Hoare. Monitors: An operating system structuring concept. Communications of the ACM, 17(10):549–557, 1974.
M. Hurfin, M. Mizuno, and M. Raynal. Efficient distributed detection of conjunctions of local predicates. IEEE Transactions on Software Engineering, 24(8), Aug. 1998.
E. Itoh, Z. Furukawa, and K. Ushijima. A prototype of a concurrent behavior monitoring tool for testing concurrent programs. In Proc. of Asia-Pacific Software Engineering Conference (APSEC’96), pages 345–354, 1996.
S. Kenkatesan and B. Dathan. Testing and debugging distributed programs using global predicates. IEEE Transactions on Software Engineering, 21(2):163–177, Feb. 1995.
T. J. Leblanc and J. M. Mellor-Crummey. Debugging parallel programs with instant replay. IEEE Transactions on Computers, 36(4):471–482, Apr. 1987.
H. Sohn, D. Kung, and P. Hsia. State-based reproducible testing for CORBA applications. In Proc. of IEEE Internaltional Symposium on Software Engineering for Parallel and Distributed Systems (PDSE’99), pages 24–35, LA, USA, May 1999.
H. Sohn, D. Kung, P. Hsia, Y. Toyoshima, and C. Chen. Reproducible testing for distributed programs. In Proc. of the 4th International Conference on Telecommunication Systems, Modeling and Analysis, pages 172–179, Nashiville, Tennessee, Mar. 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chen, J. (2003). Building Test Constraints for Testing Middleware-Based Distributed Systems. In: Coen-Porisini, A., van der Hoek, A. (eds) Software Engineering and Middleware. SEM 2002. Lecture Notes in Computer Science, vol 2596. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-38093-0_15
Download citation
DOI: https://doi.org/10.1007/3-540-38093-0_15
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-07549-3
Online ISBN: 978-3-540-38093-1
eBook Packages: Springer Book Archive