protected static void updateService(String token, String value, String action) throws IOException, MalformedURLException {
String manage = getTestProps().getProperty("domain.manage");
protected static void updateService(String token, String value, String action) throws IOException, MalformedURLException {
String manage = getTestProps().getProperty("domain.manage");
String url = manage + "t1=" + token + "&t2=" + value + "&action=" + action;
assertEquals(200, ((HttpURLConnection) new URL(url).openConnection()).getResponseCode());
}
String url = manage + "t1=" + token + "&t2=" + value + "&action=" + action;
assertEquals(200, ((HttpURLConnection) new URL(url).openConnection()).getResponseCode());
}