Beispiel #1
0
        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();
        }
Beispiel #2
0
        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();
        }
Beispiel #3
0
		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();
		}
Beispiel #4
0
        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();
        }
Beispiel #5
0
        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();
        }
Beispiel #6
0
        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();
        }
Beispiel #7
0
        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();
        }
Beispiel #8
0
        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();
        }
Beispiel #9
0
        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();
        }
Beispiel #10
0
		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();
		}
Beispiel #11
0
        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();
        }
Beispiel #12
0
        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();
        }
Beispiel #13
0
		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");
			}
		}
Beispiel #14
0
        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");
            }
        }
Beispiel #15
0
		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();
		}
Beispiel #16
0
		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();
		}
Beispiel #17
0
		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();
		}
Beispiel #18
0
		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();
		}
Beispiel #19
0
		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();
		}
Beispiel #20
0
		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();
		}
Beispiel #21
0
        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();
        }