public class BlazemeterApiV3Impl extends Object implements BlazemeterApi
APP_KEY| Constructor and Description |
|---|
BlazemeterApiV3Impl(String apiKey,
String blazeMeterUrl) |
BlazemeterApiV3Impl(String apiKey,
String blazeMeterUrl,
hudson.ProxyConfiguration proxy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
active(String testId) |
org.json.JSONObject |
generatePublicToken(String sessionId) |
String |
getApiKey() |
String |
getBlazeMeterURL() |
BzmHttpWrapper |
getBzmHttpWr() |
org.json.JSONObject |
getCIStatus(String sessionId) |
List<String> |
getListOfSessionIds(String masterId) |
org.eclipse.jetty.util.log.StdErrLog |
getLogger() |
org.json.JSONObject |
getTestConfig(String testId) |
int |
getTestCount() |
int |
getTestMasterStatusCode(String id) |
org.json.JSONObject |
getTestsJSON() |
com.google.common.collect.LinkedHashMultimap<String,String> |
getTestsMultiMap() |
TestStatus |
getTestStatus(String id) |
BmUrlManager |
getUrlManager() |
org.json.JSONObject |
getUser() |
boolean |
notes(String note,
String masterId) |
boolean |
ping() |
boolean |
properties(org.json.JSONArray properties,
String sessionId) |
org.json.JSONObject |
retrieveJtlZip(String sessionId) |
String |
retrieveJUNITXML(String sessionId) |
void |
setBzmHttpWr(BzmHttpWrapper bzmhc) |
void |
setLogger(org.eclipse.jetty.util.log.StdErrLog logger) |
String |
startTest(String testId,
TestType testType) |
org.json.JSONObject |
stopTest(String testId) |
void |
terminateTest(String testId) |
org.json.JSONObject |
testReport(String reportId) |
public int getTestMasterStatusCode(String id)
getTestMasterStatusCode in interface BlazemeterApipublic TestStatus getTestStatus(String id)
getTestStatus in interface BlazemeterApipublic String startTest(String testId, TestType testType) throws org.json.JSONException
startTest in interface BlazemeterApiorg.json.JSONExceptionpublic int getTestCount()
throws org.json.JSONException,
IOException,
javax.servlet.ServletException
getTestCount in interface BlazemeterApiorg.json.JSONExceptionIOExceptionjavax.servlet.ServletExceptionpublic org.json.JSONObject stopTest(String testId)
stopTest in interface BlazemeterApitestId - - test id
// * @throws IOException
// * @throws ClientProtocolExceptionpublic void terminateTest(String testId)
terminateTest in interface BlazemeterApipublic org.json.JSONObject testReport(String reportId)
testReport in interface BlazemeterApireportId - - report Id same as Session Id, can be obtained from start stop status.
// * @throws IOException
// * @throws ClientProtocolExceptionpublic com.google.common.collect.LinkedHashMultimap<String,String> getTestsMultiMap() throws IOException, javax.mail.MessagingException
getTestsMultiMap in interface BlazemeterApiIOExceptionjavax.mail.MessagingExceptionpublic org.json.JSONObject getUser()
throws ClassCastException
getUser in interface BlazemeterApiClassCastExceptionpublic org.json.JSONObject getTestConfig(String testId)
getTestConfig in interface BlazemeterApipublic org.json.JSONObject getCIStatus(String sessionId) throws org.json.JSONException, NullPointerException
getCIStatus in interface BlazemeterApiorg.json.JSONExceptionNullPointerExceptionpublic String getBlazeMeterURL()
getBlazeMeterURL in interface BlazemeterApipublic String retrieveJUNITXML(String sessionId)
retrieveJUNITXML in interface BlazemeterApipublic org.json.JSONObject retrieveJtlZip(String sessionId)
retrieveJtlZip in interface BlazemeterApipublic org.eclipse.jetty.util.log.StdErrLog getLogger()
getLogger in interface BlazemeterApipublic void setLogger(org.eclipse.jetty.util.log.StdErrLog logger)
setLogger in interface BlazemeterApipublic String getApiKey()
getApiKey in interface BlazemeterApipublic void setBzmHttpWr(BzmHttpWrapper bzmhc)
setBzmHttpWr in interface BlazemeterApipublic BmUrlManager getUrlManager()
getUrlManager in interface BlazemeterApipublic org.json.JSONObject generatePublicToken(String sessionId)
generatePublicToken in interface BlazemeterApipublic BzmHttpWrapper getBzmHttpWr()
getBzmHttpWr in interface BlazemeterApipublic org.json.JSONObject getTestsJSON()
getTestsJSON in interface BlazemeterApipublic List<String> getListOfSessionIds(String masterId)
getListOfSessionIds in interface BlazemeterApipublic boolean active(String testId)
active in interface BlazemeterApipublic boolean ping()
throws Exception
ping in interface BlazemeterApiExceptionpublic boolean notes(String note, String masterId) throws Exception
notes in interface BlazemeterApiExceptionpublic boolean properties(org.json.JSONArray properties,
String sessionId)
throws Exception
properties in interface BlazemeterApiExceptionCopyright © July 2012-2016 BlazeMeterInc. All Rights Reserved.