public class TestExecutionServiceAsyncClient extends TestExecutionServiceClient implements TestExecutionServiceAsync
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
TestExecutionServiceAsyncClient()
Constructs a new client to invoke service method on TestExecutionService using
the default qTest credentials provider and default client configuration options.
|
TestExecutionServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestExecutionService using
the default qTest credentials provider and client configuration options.
|
TestExecutionServiceAsyncClient(ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestExecutionService using
the default qTest credentials provider and client configuration options.
|
TestExecutionServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestExecutionService using
the default qTest credentials provider and default client configuration options.
|
TestExecutionServiceAsyncClient(QTestCredentials credentials)
Constructs a new client to invoke service method on TestExecutionService using
the specified qTest credentials.
|
TestExecutionServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestExecutionService using
the specified qTest credentials and client configuration options.
|
TestExecutionServiceAsyncClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestExecutionService using
the specified qTest credentials and client configuration options.
|
TestExecutionServiceAsyncClient(QTestCredentials credentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestExecutionService using
the specified qTest credentials.
|
TestExecutionServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestExecutionService using
the specified qTest credentials provider and client configuration options.
|
TestExecutionServiceAsyncClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new client to invoke service method on TestExecutionService using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<TestLog> |
getLastLogAsync(GetLastLogRequest getLastLogRequest)
Gets test run information.
|
java.util.concurrent.Future<TestLog> |
getLastLogAsync(GetLastLogRequest getLastLogRequest,
AsyncHandler<GetLastLogRequest,TestLog> asyncHandler)
Gets test run information.
|
java.util.concurrent.Future<TestRun> |
getTestRunAsync(GetTestRunRequest getTestRunRequest)
Gets test run information.
|
java.util.concurrent.Future<TestRun> |
getTestRunAsync(GetTestRunRequest getTestRunRequest,
AsyncHandler<GetTestRunRequest,TestRun> asyncHandler)
Gets test run information.
|
java.util.concurrent.Future<java.util.List<ExecutionStatus>> |
listExecutionStatusAsync(ListExecutionStatusRequest executionStatusRequest)
List all execution status request from test execution service.
|
java.util.concurrent.Future<java.util.List<ExecutionStatus>> |
listExecutionStatusAsync(ListExecutionStatusRequest executionStatusRequest,
AsyncHandler<ListExecutionStatusRequest,java.util.List<ExecutionStatus>> asyncHandler)
List all execution status request from test execution service.
|
java.util.concurrent.Future<java.util.List<TestRun>> |
listTestRunAsync(ListTestRunRequest testRunRequest)
Lists all test runs from the given
list test run request. |
java.util.concurrent.Future<java.util.List<TestRun>> |
listTestRunAsync(ListTestRunRequest testRunRequest,
AsyncHandler<ListTestRunRequest,java.util.List<TestRun>> asyncHandler)
Lists all test runs from the given
list test run request. |
java.util.concurrent.Future<java.util.List<TestSuite>> |
listTestSuiteAsync(ListTestSuiteRequest testSuiteRequest)
Lists all test suites from the given
list test suite request. |
java.util.concurrent.Future<java.util.List<TestSuite>> |
listTestSuiteAsync(ListTestSuiteRequest testSuiteRequest,
AsyncHandler<ListTestSuiteRequest,java.util.List<TestSuite>> asyncHandler)
Lists all test suites from the given
list test suite request. |
void |
shutdown()
Shutdown this client object, release any resources that might be held
open.
|
java.util.concurrent.Future<TestLog> |
submitAutomationTestLogAsync(AutomationTestLogRequest automationTestLogRequest)
Submits automation test log to test execution service.
|
java.util.concurrent.Future<TestLog> |
submitAutomationTestLogAsync(AutomationTestLogRequest automationTestLogRequest,
AsyncHandler<AutomationTestLogRequest,TestLog> asyncHandler)
Submits automation test log to test execution service.
|
java.util.concurrent.Future<TestLog> |
submitTestLogAsync(SubmitTestLogRequest submitTestLogRequest)
Submits test log to test execution service.
|
java.util.concurrent.Future<TestLog> |
submitTestLogAsync(SubmitTestLogRequest submitTestLogRequest,
AsyncHandler<SubmitTestLogRequest,TestLog> asyncHandler)
Submits test log to test execution service.
|
createTestCycle, createTestRun, createTestSuite, deleteTestCycle, deleteTestRun, deleteTestSuite, getLastLog, getQueueProcessingResponse, getTestCycle, getTestRun, getTestSuite, listExecutionStatus, listTestCycle, listTestRun, listTestSuite, moveTestCycle, moveTestRun, moveTestSuite, submitAutomationTestLog, submitAutomationTestLogs, submitAutomationTestLogsExtended, submitTestLog, updateTestCycle, updateTestRun, updateTestSuiteinit, invoke, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTestCycle, createTestRun, createTestSuite, deleteTestCycle, deleteTestRun, deleteTestSuite, getLastLog, getQueueProcessingResponse, getTestCycle, getTestRun, getTestSuite, listExecutionStatus, listTestCycle, listTestRun, listTestSuite, moveTestCycle, moveTestRun, moveTestSuite, submitAutomationTestLog, submitAutomationTestLogs, submitAutomationTestLogsExtended, submitTestLog, updateTestCycle, updateTestRun, updateTestSuitesetEndpointpublic TestExecutionServiceAsyncClient()
public TestExecutionServiceAsyncClient(java.util.concurrent.ExecutorService executorService)
executorService - the executor service for executing asynchronous request.public TestExecutionServiceAsyncClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to TestExecutionServicepublic TestExecutionServiceAsyncClient(ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
clientConfiguration - The client configuration options controlling how this
client connects to TestExecutionService.executorService - the executor service for executing asynchronous request.public TestExecutionServiceAsyncClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public TestExecutionServiceAsyncClient(QTestCredentials credentials, java.util.concurrent.ExecutorService executorService)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.executorService - the executor service for executing asynchronous request.public TestExecutionServiceAsyncClient(QTestCredentials credentials, ClientConfiguration clientConfiguration)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestExecutionServicepublic TestExecutionServiceAsyncClient(QTestCredentials credentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestExecutionServiceexecutorService - the executor service for executing asynchronous request.public TestExecutionServiceAsyncClient(QTestCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestExecutionServicepublic TestExecutionServiceAsyncClient(QTestCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestExecutionServiceexecutorService - the executor service for executing asynchronous request.public java.util.concurrent.Future<TestLog> submitAutomationTestLogAsync(AutomationTestLogRequest automationTestLogRequest) throws AuthServiceException
TestExecutionServiceAsyncsubmitAutomationTestLogAsync in interface TestExecutionServiceAsyncautomationTestLogRequest - the given automation test log request.TestLog instance.AuthServiceException - if an error occurs during submitting automation
test log to test execution service.public java.util.concurrent.Future<TestLog> submitAutomationTestLogAsync(AutomationTestLogRequest automationTestLogRequest, AsyncHandler<AutomationTestLogRequest,TestLog> asyncHandler) throws AuthServiceException
TestExecutionServiceAsyncsubmitAutomationTestLogAsync in interface TestExecutionServiceAsyncautomationTestLogRequest - the given automation test log request.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.TestLog instance.AuthServiceException - if an error occurs during submitting automation
test log to test execution service.public java.util.concurrent.Future<TestLog> submitTestLogAsync(SubmitTestLogRequest submitTestLogRequest) throws AuthServiceException
TestExecutionServiceAsyncsubmitTestLogAsync in interface TestExecutionServiceAsyncsubmitTestLogRequest - the given test log request.TestLog instance.AuthServiceException - if an error occurs during submitting automation
test log to test execution service.public java.util.concurrent.Future<TestLog> submitTestLogAsync(SubmitTestLogRequest submitTestLogRequest, AsyncHandler<SubmitTestLogRequest,TestLog> asyncHandler) throws AuthServiceException
TestExecutionServiceAsyncsubmitTestLogAsync in interface TestExecutionServiceAsyncsubmitTestLogRequest - the given test log request.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.TestLog instance.AuthServiceException - if an error occurs during submitting automation
test log to test execution service.public java.util.concurrent.Future<TestLog> getLastLogAsync(GetLastLogRequest getLastLogRequest) throws AuthServiceException
TestExecutionServiceAsyncgetLastLogAsync in interface TestExecutionServiceAsyncgetLastLogRequest - the given GetLastLogRequest instance.TestLog instance.AuthServiceException - if an error occurs during getting test-run information.public java.util.concurrent.Future<TestLog> getLastLogAsync(GetLastLogRequest getLastLogRequest, AsyncHandler<GetLastLogRequest,TestLog> asyncHandler) throws AuthServiceException
TestExecutionServiceAsyncgetLastLogAsync in interface TestExecutionServiceAsyncgetLastLogRequest - the given GetLastLogRequest instance.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.TestLog instance.AuthServiceException - if an error occurs during getting test-run information.public java.util.concurrent.Future<java.util.List<ExecutionStatus>> listExecutionStatusAsync(ListExecutionStatusRequest executionStatusRequest) throws AuthServiceException
TestExecutionServiceAsynclistExecutionStatusAsync in interface TestExecutionServiceAsyncexecutionStatusRequest - the given ListExecutionStatusRequest object.execution status instance.AuthServiceException - if an error occurs during listing all execution statuses.public java.util.concurrent.Future<java.util.List<ExecutionStatus>> listExecutionStatusAsync(ListExecutionStatusRequest executionStatusRequest, AsyncHandler<ListExecutionStatusRequest,java.util.List<ExecutionStatus>> asyncHandler) throws AuthServiceException
TestExecutionServiceAsynclistExecutionStatusAsync in interface TestExecutionServiceAsyncexecutionStatusRequest - the given ListExecutionStatusRequest object.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.execution status instance.AuthServiceException - if an error occurs during listing all execution statuses.public java.util.concurrent.Future<java.util.List<TestRun>> listTestRunAsync(ListTestRunRequest testRunRequest) throws AuthServiceException
TestExecutionServiceAsynclist test run request.listTestRunAsync in interface TestExecutionServiceAsynctestRunRequest - the given list test run request object.test run objects.AuthServiceException - if an error occurs during listing all test run.public java.util.concurrent.Future<java.util.List<TestRun>> listTestRunAsync(ListTestRunRequest testRunRequest, AsyncHandler<ListTestRunRequest,java.util.List<TestRun>> asyncHandler) throws AuthServiceException
TestExecutionServiceAsynclist test run request.listTestRunAsync in interface TestExecutionServiceAsynctestRunRequest - the given list test run request object.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.test run objects.AuthServiceException - if an error occurs during listing all test run.public java.util.concurrent.Future<TestRun> getTestRunAsync(GetTestRunRequest getTestRunRequest) throws AuthServiceException
TestExecutionServiceAsyncgetTestRunAsync in interface TestExecutionServiceAsyncgetTestRunRequest - the given GetTestRunRequest instance.TestRun instance.AuthServiceException - if an error occurs during getting test-run information.public java.util.concurrent.Future<TestRun> getTestRunAsync(GetTestRunRequest getTestRunRequest, AsyncHandler<GetTestRunRequest,TestRun> asyncHandler) throws AuthServiceException
TestExecutionServiceAsyncgetTestRunAsync in interface TestExecutionServiceAsyncgetTestRunRequest - the given GetTestRunRequest instance.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.TestRun instance.AuthServiceException - if an error occurs during getting test-run information.public java.util.concurrent.Future<java.util.List<TestSuite>> listTestSuiteAsync(ListTestSuiteRequest testSuiteRequest) throws AuthServiceException
TestExecutionServiceAsynclist test suite request.listTestSuiteAsync in interface TestExecutionServiceAsynctestSuiteRequest - the given list test suite request object.test suite objects.AuthServiceException - if an error occurs during listing all test suites.public java.util.concurrent.Future<java.util.List<TestSuite>> listTestSuiteAsync(ListTestSuiteRequest testSuiteRequest, AsyncHandler<ListTestSuiteRequest,java.util.List<TestSuite>> asyncHandler) throws AuthServiceException
TestExecutionServiceAsynclist test suite request.listTestSuiteAsync in interface TestExecutionServiceAsynctestSuiteRequest - the given list test suite request object.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.test suite objects.AuthServiceException - if an error occurs during listing all test suites.public void shutdown()
ApiWebServiceClientshutdown in interface QTestServiceshutdown in class QTestApiWebServiceClient<TestExecutionServiceClient>