hudson.plugins.blazemeter.api
Class BlazemeterApi
java.lang.Object
hudson.plugins.blazemeter.api.BlazemeterApi
public class BlazemeterApi
- extends Object
User: Vitali
Date: 4/2/12
Time: 14:05
Updated
User: Doron
Date: 8/7/12
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APP_KEY
public static final String APP_KEY
- See Also:
- Constant Field Values
BlazemeterApi
public BlazemeterApi()
uploadJmx
public void uploadJmx(String userKey,
String testId,
File file)
- Parameters:
userKey - - user keytestId - - test idfile - - jmx file
// * @return test id
// * @throws java.io.IOException
// * @throws org.json.JSONException
uploadBinaryFile
public org.json.JSONObject uploadBinaryFile(String userKey,
String testId,
File file)
- Parameters:
userKey - - user keytestId - - test idfile - - the file (Java class) you like to upload
- Returns:
- test id
// * @throws java.io.IOException
// * @throws org.json.JSONException
getTestRunStatus
public TestInfo getTestRunStatus(String userKey,
String testId)
startTest
public org.json.JSONObject startTest(String userKey,
String testId)
getTestCount
public int getTestCount(String userKey)
throws org.json.JSONException,
IOException,
javax.servlet.ServletException
- Throws:
org.json.JSONException
IOException
javax.servlet.ServletException
stopTest
public org.json.JSONObject stopTest(String userKey,
String testId)
- Parameters:
userKey - - user keytestId - - test id
// * @throws IOException
// * @throws ClientProtocolException
aggregateReport
public org.json.JSONObject aggregateReport(String userKey,
String reportId)
- Parameters:
userKey - - user keyreportId - - report Id same as Session Id, can be obtained from start stop status.
// * @throws IOException
// * @throws ClientProtocolException
getTestList
public HashMap<String,String> getTestList(String userKey)
throws IOException,
javax.mail.MessagingException
- Throws:
IOException
javax.mail.MessagingException
Copyright © July 2012-2013 BlazeMeterInc. All Rights Reserved.