public void t10_10ClientsReceiving10000Messages() throws Exception {
int numberOfClients = 10;
ProcessCtx[] clientCtxs = new ProcessCtx[numberOfClients];
for (int i = 0; i < clientCtxs.length - 1; i++) {
ProcessCtx clientCtx = ctrl.startPublishClient(TestConstants.log4jClnProperties, "client" + i, TestConstants.HOST,
TestConstants.PORT_SC2_TCP, ConnectionType.NETTY_TCP, 10, 0, TestConstants.pubServerName1, 50,
"f_subscribeUnsubscribe");
clientCtxs[i] = clientCtx;
}
ProcessCtx clientCtx10 = ctrl.startPublishClient(TestConstants.log4jClnProperties, "client10", TestConstants.HOST,
TestConstants.PORT_SC2_TCP, ConnectionType.NETTY_TCP, 10, 0, TestConstants.pubServerName1, 50,
"f_subscribeReceive10000Unsubscribe");
clientCtxs[9] = clientCtx10;
APIMultipleClientSubscribeCasc1Test.ctrl.waitForClientTermination(clientCtxs);
// dont't check message.log might be an EXC because of broken CRP