Esempio n. 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();
        }
Esempio n. 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();
		}
Esempio n. 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();
		}
Esempio n. 4
0
		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();
		}
Esempio n. 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");
			}
		}
Esempio n. 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");
            }
        }
Esempio n. 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();
		}
Esempio n. 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();
		}
Esempio n. 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();
		}
Esempio n. 10
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();
		}
Esempio n. 11
0
		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();
		}
Esempio n. 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);
        }