public class LoadAPI extends Object
Modifier and Type | Method and Description |
---|---|
net.sf.json.JSONArray |
getLabels(String testrunname,
String testrunid,
String apikey) |
net.sf.json.JSONObject |
getRemainLimits() |
net.sf.json.JSONArray |
getResultsFinal(String testrunname,
String testrunid,
net.sf.json.JSONObject state,
String label,
String apikey) |
net.sf.json.JSONObject |
getState(String testrunname,
String testrunid) |
List<Map<String,String>> |
getTestConfig(String testrunname,
String testrunid) |
List<Map<String,String>> |
getTestList() |
net.sf.json.JSONArray |
getTests() |
protected boolean |
isEmptyString(String string) |
boolean |
isValidApiKey() |
net.sf.json.JSONObject |
retrieveConfig(String testrunname) |
net.sf.json.JSONObject |
runTest(String testId) |
boolean |
validateAPIKey(String path) |
public LoadAPI(String apiKey)
protected boolean isEmptyString(String string)
public boolean isValidApiKey()
public boolean validateAPIKey(String path)
public net.sf.json.JSONArray getTests()
public net.sf.json.JSONObject getRemainLimits()
public net.sf.json.JSONObject retrieveConfig(String testrunname)
public net.sf.json.JSONObject runTest(String testId)
public net.sf.json.JSONArray getLabels(String testrunname, String testrunid, String apikey) throws UnsupportedEncodingException
UnsupportedEncodingException
public net.sf.json.JSONArray getResultsFinal(String testrunname, String testrunid, net.sf.json.JSONObject state, String label, String apikey) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2016–2021 LoadFocus.com. All rights reserved.