private static void RunLocalActiveMqLoadTest() { StopWatch stopWatch = new StopWatch(); using (ActiveMQLoadTest test = new ActiveMQLoadTest()) { test.Run(stopWatch); } Console.WriteLine("ActiveMQ Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
private static void RunLocalRabbitMqLoadTest() { var stopWatch = new StopWatch(); using (var test = new RabbitMQLoadTest()) { test.Run(stopWatch); } Console.WriteLine("RabbitMQ Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
static void RunLocalActiveMqLoadTest() { var stopWatch = new StopWatch(); using (var test = new ActiveMQLoadTest()) { test.Run(stopWatch); } Console.WriteLine("ActiveMQ Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
private static void RunWcfLoadTest() { Console.WriteLine("Starting Local WCF Load Test"); StopWatch stopWatch = new StopWatch(); using (WcfLoadTest test = new WcfLoadTest()) { test.Run(stopWatch); } Console.WriteLine("WCF Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
private static void RunTransactionLoadTest() { Console.WriteLine("Starting Local MSMQ Transactional Load Test"); StopWatch stopWatch = new StopWatch(); using (TransactionLoadTest test = new TransactionLoadTest()) { test.Run(stopWatch); } Console.WriteLine("Transaction Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
static void RunLocalRequestResponseMsmqLoadTest() { Console.WriteLine("Starting MSMQ Local Request Response Load Test"); var stopWatch = new StopWatch(); using (var test = new LocalMsmqRequestResponseLoadTest()) { test.Run(stopWatch); } Console.WriteLine("Local MSMQ Request Response Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
private static void RunCorrelatedMessageTest() { Console.WriteLine("Starting Local MSMQ Correlated Load Test"); StopWatch stopWatch = new StopWatch(); using (CorrelatedMessageTest test = new CorrelatedMessageTest()) { test.Run(stopWatch); } Console.WriteLine("Correlated Message Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
static void RunStructureMapLoadTest() { Console.WriteLine("Starting StructureMap Load Test"); var stopWatch = new StopWatch(); using (var test = new StructureMapConsumerLoadTest()) { test.Run(stopWatch); } Console.WriteLine("StructureMap Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
private static void RunLocalMsmqLoadTest() { Console.WriteLine("Starting Local MSMQ Load Test"); StopWatch stopWatch = new StopWatch(); using (LocalLoadTest test = new LocalLoadTest()) { test.Run(stopWatch); } Console.WriteLine("Local MSMQ Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
static void RunLoopbackConsumerLoadTest() { Console.WriteLine("Starting Local Loopback Consumer Load Test"); var stopWatch = new StopWatch(); using (var test = new LoopbackConsumerLoadTest()) { test.Run(stopWatch); } Console.WriteLine("Loopback Load Consumer Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
static void RunRabbitMqLoadTest() { try { var stopWatch = new StopWatch(); using (var test = new RabbitMqHandlerLoadTest()) { test.Run(stopWatch); } Console.WriteLine("RabbitMQ Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); } catch (Exception ex) { Console.WriteLine("Unable to run RabbitMQ Load Test: " + ex); Console.WriteLine("If RabbitMQ is not installed, this is normal"); } }
static void RunCorrelatedMessageTest() { Console.WriteLine("Starting Local MSMQ Correlated Load Test"); var stopWatch = new StopWatch(); using (var test = new CorrelatedMessageTest()) { test.Run(stopWatch); } Console.WriteLine("Correlated Message Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
static void RunTransactionLoadTest() { Console.WriteLine("Starting Local MSMQ Transactional Load Test"); var stopWatch = new StopWatch(); using (var test = new TransactionLoadTest()) { test.Run(stopWatch); } Console.WriteLine("Transaction Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }
private static void RunContainerLoadTest() { Console.WriteLine("Starting Local MSMQ Container Load Test"); StopWatch stopWatch = new StopWatch(); using (ContainerLoadTest test = new ContainerLoadTest()) { test.Run(stopWatch); } Console.WriteLine("Container Load Test: "); Console.WriteLine(stopWatch.ToString()); Console.WriteLine(); }