예제 #1
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();
        }
예제 #2
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();
		}
예제 #3
0
		static void RunLocalMsmqLoadTest()
		{
			Console.WriteLine("Starting Local MSMQ Load Test");
			var stopWatch = new StopWatch();

			using (var test = new LocalLoadTest())
			{
				test.Run(stopWatch);
			}

			Console.WriteLine("Local MSMQ Load Test: ");
			Console.WriteLine(stopWatch.ToString());
			Console.WriteLine();
		}
예제 #4
0
파일: Program.cs 프로젝트: KevM/MassTransit
		private static void RunBatchLoadTest()
		{
            Console.WriteLine("Starting Local MSMQ Batch Load Test");
			StopWatch stopWatch = new StopWatch();

			using (BatchLoadTest test = new BatchLoadTest())
			{
				test.Run(stopWatch);
			}

			Console.WriteLine("Batch Load Test: ");
            Console.WriteLine(stopWatch.ToString());
            Console.WriteLine();
		}
예제 #5
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");
			}
		}
예제 #6
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");
            }
        }
예제 #7
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();
		}
예제 #8
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();
		}
예제 #9
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();
		}
예제 #10
0
파일: Program.cs 프로젝트: KevM/MassTransit
		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();
		}
예제 #11
0
파일: Program.cs 프로젝트: KevM/MassTransit
		private static void RunLoopbackLoadTest()
        {
            Console.WriteLine("Starting Local Loopback Load Test");
			StopWatch stopWatch = new StopWatch();

			using (LoopbackLoadTest test = new LoopbackLoadTest())
			{
				test.Run(stopWatch);
			}

			Console.WriteLine("Loopback Load Test: ");
            Console.WriteLine(stopWatch.ToString());
            Console.WriteLine();
		}
예제 #12
0
        static void RunLongRunningMemoryTest()
        {
            var stopWatch = new StopWatch();

            using (var test = new LongRunningMemoryTest())
            {
                test.Run(stopWatch);
                stopWatch.Stop();
            }

            Console.WriteLine("Long Running Memory Test: {0}", stopWatch);
        }