Interface ApiClient

All Known Implementing Classes:
TmsApiClient

public interface ApiClient
  • Method Details

    • createTestRun

      ru.testit.client.model.TestRunV2GetModel createTestRun() throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • getTestRun

      ru.testit.client.model.TestRunV2GetModel getTestRun(String uuid) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • completeTestRun

      void completeTestRun(String uuid) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • updateAutoTest

      void updateAutoTest(ru.testit.client.model.AutoTestPutModel model) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • createAutoTest

      String createAutoTest(ru.testit.client.model.AutoTestPostModel model) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • updateAutoTests

      void updateAutoTests(List<ru.testit.client.model.AutoTestPutModel> models) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • createAutoTests

      List<ru.testit.client.model.AutoTestModel> createAutoTests(List<ru.testit.client.model.AutoTestPostModel> models) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • GetWorkItemUuidsByIds

      List<UUID> GetWorkItemUuidsByIds(Iterable<String> workItemIds)
    • getAutoTestByExternalId

      ru.testit.client.model.AutoTestModel getAutoTestByExternalId(String externalId) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • linkAutoTestToWorkItems

      void linkAutoTestToWorkItems(String id, Iterable<String> workItemIds)
    • unlinkAutoTestToWorkItem

      void unlinkAutoTestToWorkItem(String id, String workItemId)
    • getWorkItemsLinkedToTest

      List<ru.testit.client.model.WorkItemIdentifierModel> getWorkItemsLinkedToTest(String id) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • sendTestResults

      List<UUID> sendTestResults(String testRunUuid, List<ru.testit.client.model.AutoTestResultsForTestRunModel> models) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • addAttachment

      String addAttachment(String path) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • getTestFromTestRun

      List<String> getTestFromTestRun(String testRunUuid, String configurationId) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • getTestResult

      ru.testit.client.model.TestResultResponse getTestResult(UUID uuid) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException
    • updateTestResult

      void updateTestResult(UUID uuid, ru.testit.client.model.TestResultUpdateV2Request model) throws ru.testit.client.invoker.ApiException
      Throws:
      ru.testit.client.invoker.ApiException