public class BlazeMeterClient extends BaseRemoteEngineApiClient
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_APP_URL |
| Constructor and Description |
|---|
BlazeMeterClient(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildAuthorizationHeaderValue(okhttp3.Request request) |
protected RemoteEngineException |
buildRemoteEngineException(int code,
String message) |
Test |
createTest(TestConfig testConfig,
Project project) |
void |
deleteTestFile(String name,
Test test) |
Project |
findDefaultProject() |
Location |
findPrivateLocationByName(String name,
Project project) |
Project |
findProjectById(Long projectId) |
Optional<Test> |
findTestByName(String testName,
Project project) |
List<String> |
findTestFiles(Test test) |
TestRun |
findTestRunById(long testRunId) |
List<TestRunRequestStats> |
findTestRunRequestStats(TestRun testRun) |
TestRunStatus |
findTestRunStatus(TestRun testRun) |
TestRunSummaryStats |
findTestRunSummaryStats(TestRun testRun) |
TestRun |
startTest(Test test,
TestRunConfig runConfig) |
void |
stopTestRun(TestRun testRun) |
void |
updateTest(Test test,
TestConfig testConfig) |
void |
uploadTestFile(File file,
String fileName,
Test test) |
buildApiFor, buildConverterMapper, close, configureHttpClient, execApiCallpublic static final String BASE_APP_URL
protected String buildAuthorizationHeaderValue(okhttp3.Request request)
buildAuthorizationHeaderValue in class BaseRemoteEngineApiClientprotected RemoteEngineException buildRemoteEngineException(int code, String message)
buildRemoteEngineException in class BaseRemoteEngineApiClientpublic Project findDefaultProject() throws IOException
IOExceptionpublic Project findProjectById(Long projectId) throws IOException
IOExceptionpublic Location findPrivateLocationByName(String name, Project project) throws IOException
IOExceptionpublic Optional<Test> findTestByName(String testName, Project project) throws IOException
IOExceptionpublic List<String> findTestFiles(Test test) throws IOException
IOExceptionpublic void deleteTestFile(String name, Test test) throws IOException
IOExceptionpublic Test createTest(TestConfig testConfig, Project project) throws IOException
IOExceptionpublic void updateTest(Test test, TestConfig testConfig) throws IOException
IOExceptionpublic void uploadTestFile(File file, String fileName, Test test) throws IOException
IOExceptionpublic TestRun startTest(Test test, TestRunConfig runConfig) throws IOException
IOExceptionpublic TestRunStatus findTestRunStatus(TestRun testRun) throws IOException
IOExceptionpublic TestRun findTestRunById(long testRunId) throws IOException
IOExceptionpublic TestRunSummaryStats findTestRunSummaryStats(TestRun testRun) throws IOException
IOExceptionpublic List<TestRunRequestStats> findTestRunRequestStats(TestRun testRun) throws IOException
IOExceptionpublic void stopTestRun(TestRun testRun) throws IOException
IOExceptionCopyright © 2024. All rights reserved.