com.khubla.pragmatach.contrib.controllertester
Class RouteTester

java.lang.Object
  extended by com.khubla.pragmatach.contrib.controllertester.RouteTester

public class RouteTester
extends Object

Author:
tome

Constructor Summary
RouteTester()
           
 
Method Summary
static String generateRandomUrl(String host, RouteUrl routeUrl)
           
static void testRoute(String host, RouteUrl routeUrl, int trials)
          call route, report if we get something other than 200
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteTester

public RouteTester()
Method Detail

generateRandomUrl

public static String generateRandomUrl(String host,
                                       RouteUrl routeUrl)

testRoute

public static void testRoute(String host,
                             RouteUrl routeUrl,
                             int trials)
                      throws Exception
call route, report if we get something other than 200

Throws:
Exception


Copyright © 2014 khubla.com. All rights reserved.