Exemplo n.º 1
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");
			}
		}
Exemplo n.º 2
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");
            }
        }