@BeforeClass public static void setUpHttp() { queryPort = Configuration.getInstance().getIntegerProperty(HttpConfig.HTTP_METRIC_DATA_QUERY_PORT); httpQueryService = new HttpQueryService(); httpQueryService.startService(); vendor = new HttpClientVendor(); client = vendor.getClient(); }
@AfterClass public static void shutdown() { vendor.shutdown(); httpQueryService.stopService(); }