A number of the tests use a distributed framework to test how the Sample API works over the network. These distributed tests validate API functionality while the test platform is connected to a remote host. The client part of the distributed test runs on the platform under test while the server resides on the remote host and emulates StockSource functionality.


Before you run the distributed tests you must start the passive server on the remote host. This is typically done using the following command:

java com.sun.tdk.sampletck.lib.SampleStockSource -serverPort port#