Are there any java-based frameworks for testing distributed systems with JUnit or TestNG?
For instance I have a shared resource R and two clients (CA, CB) each connected to dedicated server (SA, SB). R can be used exclusively (one client at a time).
I want to make a test that checks simple scenario:
- SA starts up.
- SB starts up.
- CA logins on SA.
- CB logins on SB.
- CA tries to acquire R.
- CA acquires R.
- CB tries to acquire R.
- CB gets an appropriate exception instead of R.
What I need here is some kind of client-server framework with main machine as a director and several agents as executors. Main machine will perform the test using agents to host servers and clients.
Frameworks what I've seen lately (STAF, iValidator, JSystem) define distributed execution only in the sense of spreading testcases across test agents. But this is a simple load-balancing.
Thanks in advance.