コード例 #1
0
 @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();
 }
コード例 #2
0
 @AfterClass
 public static void shutdown() {
   vendor.shutdown();
   httpQueryService.stopService();
 }