Class TmsApiClient

java.lang.Object
ru.testit.clients.TmsApiClient
All Implemented Interfaces:
ApiClient

public class TmsApiClient extends Object implements ApiClient
  • Constructor Details

  • Method Details

    • createTestRun

      public ru.testit.client.model.TestRunV2GetModel createTestRun(ru.testit.client.model.TestRunV2PostShortModel model) throws ru.testit.client.invoker.ApiException
      Specified by:
      createTestRun in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • getTestRun

      public ru.testit.client.model.TestRunV2GetModel getTestRun(String uuid) throws ru.testit.client.invoker.ApiException
      Specified by:
      getTestRun in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • completeTestRun

      public void completeTestRun(String uuid) throws ru.testit.client.invoker.ApiException
      Specified by:
      completeTestRun in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • updateAutoTest

      public void updateAutoTest(ru.testit.client.model.AutoTestPutModel model) throws ru.testit.client.invoker.ApiException
      Specified by:
      updateAutoTest in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • createAutoTest

      public String createAutoTest(ru.testit.client.model.AutoTestPostModel model) throws ru.testit.client.invoker.ApiException
      Specified by:
      createAutoTest in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • getAutoTestByExternalId

      public ru.testit.client.model.AutoTestModel getAutoTestByExternalId(String projectId, String externalId) throws ru.testit.client.invoker.ApiException
      Specified by:
      getAutoTestByExternalId in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • linkAutoTestToWorkItem

      public void linkAutoTestToWorkItem(String id, String workItemId) throws ru.testit.client.invoker.ApiException
      Specified by:
      linkAutoTestToWorkItem in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • sendTestResults

      public void sendTestResults(String testRunUuid, List<ru.testit.client.model.AutoTestResultsForTestRunModel> models) throws ru.testit.client.invoker.ApiException
      Specified by:
      sendTestResults in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException
    • addAttachment

      public String addAttachment(String path) throws ru.testit.client.invoker.ApiException
      Specified by:
      addAttachment in interface ApiClient
      Throws:
      ru.testit.client.invoker.ApiException