Run() public method

public Run ( string url, int repeats ) : void
url string
repeats int
return void
Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     string url = "http://www.protocol7.com/svg.net/people.svg";
     int repeats = 1;
     /*if(args.Length == 0)
     {
         Console.WriteLine("usage: url [noOfRepeats]");
         return;
     }
     else if(args.Length == 2)
     {
         repeats = Convert.ToInt32(args[1]);
     }
     url = args[0];
     */
     PerfTest perfTest = new PerfTest();
     perfTest.Run(url, repeats);
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            string url     = "http://www.protocol7.com/svg.net/people.svg";
            int    repeats = 1;

            /*if(args.Length == 0)
             * {
             *      Console.WriteLine("usage: url [noOfRepeats]");
             *      return;
             * }
             * else if(args.Length == 2)
             * {
             * repeats = Convert.ToInt32(args[1]);
             * }
             * url = args[0];
             */
            PerfTest perfTest = new PerfTest();

            perfTest.Run(url, repeats);
        }