All URIs are relative to http://localhost:8443
| Method | HTTP request | Description |
|---|---|---|
| createAndTriggerSample | POST /api/v1/run-configurations/sample | Creates and triggers a sample Test Plan. Returns the created Test Plan detail. |
| createOrUpdateConfiguration | POST /api/v1/run-configurations | Creates or updates a Test Plan. Returns the Test Plan detail. |
| delete5 | DELETE /api/v1/run-configurations/{id} | Deletes a Test Plan. Returns the deleted Test Plan detail. |
| linkRelease1 | POST /api/v1/run-configurations/{id}/link-release | Link an Run Configuration to a Release. Returns the updated Run Configuration detail. |
| unlinkRelease1 | POST /api/v1/run-configurations/{id}/unlink-release | Unlink an Run Configuration to a Release. Returns the updated Run Configuration detail. |
RunConfigurationResource createAndTriggerSample(runConfigurationResource)
Creates and triggers a sample Test Plan. Returns the created Test Plan detail.
// Import classes:
import com.katalon.testops.api.ApiClient;
import com.katalon.testops.api.ApiException;
import com.katalon.testops.api.Configuration;
import com.katalon.testops.api.auth.*;
import com.katalon.testops.api.models.*;
import com.katalon.testops.api.api.TestPlanApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8443");
// Configure HTTP basic authorization: basicScheme
HttpBasicAuth basicScheme = (HttpBasicAuth) defaultClient.getAuthentication("basicScheme");
basicScheme.setUsername("YOUR USERNAME");
basicScheme.setPassword("YOUR PASSWORD");
TestPlanApi apiInstance = new TestPlanApi(defaultClient);
RunConfigurationResource runConfigurationResource = new RunConfigurationResource(); // RunConfigurationResource |
try {
RunConfigurationResource result = apiInstance.createAndTriggerSample(runConfigurationResource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestPlanApi#createAndTriggerSample");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| runConfigurationResource | RunConfigurationResource |
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
RunConfigurationResource createOrUpdateConfiguration(runConfigurationResource, verifyRunConfiguration)
Creates or updates a Test Plan. Returns the Test Plan detail.
// Import classes:
import com.katalon.testops.api.ApiClient;
import com.katalon.testops.api.ApiException;
import com.katalon.testops.api.Configuration;
import com.katalon.testops.api.auth.*;
import com.katalon.testops.api.models.*;
import com.katalon.testops.api.api.TestPlanApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8443");
// Configure HTTP basic authorization: basicScheme
HttpBasicAuth basicScheme = (HttpBasicAuth) defaultClient.getAuthentication("basicScheme");
basicScheme.setUsername("YOUR USERNAME");
basicScheme.setPassword("YOUR PASSWORD");
TestPlanApi apiInstance = new TestPlanApi(defaultClient);
RunConfigurationResource runConfigurationResource = new RunConfigurationResource(); // RunConfigurationResource |
Boolean verifyRunConfiguration = false; // Boolean |
try {
RunConfigurationResource result = apiInstance.createOrUpdateConfiguration(runConfigurationResource, verifyRunConfiguration);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestPlanApi#createOrUpdateConfiguration");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| runConfigurationResource | RunConfigurationResource | ||
| verifyRunConfiguration | Boolean | [optional] [default to false] |
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
RunConfigurationResource delete5(id)
Deletes a Test Plan. Returns the deleted Test Plan detail.
// Import classes:
import com.katalon.testops.api.ApiClient;
import com.katalon.testops.api.ApiException;
import com.katalon.testops.api.Configuration;
import com.katalon.testops.api.auth.*;
import com.katalon.testops.api.models.*;
import com.katalon.testops.api.api.TestPlanApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8443");
// Configure HTTP basic authorization: basicScheme
HttpBasicAuth basicScheme = (HttpBasicAuth) defaultClient.getAuthentication("basicScheme");
basicScheme.setUsername("YOUR USERNAME");
basicScheme.setPassword("YOUR PASSWORD");
TestPlanApi apiInstance = new TestPlanApi(defaultClient);
Long id = 56L; // Long |
try {
RunConfigurationResource result = apiInstance.delete5(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestPlanApi#delete5");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
RunConfigurationResource linkRelease1(id, projectId, releaseId)
Link an Run Configuration to a Release. Returns the updated Run Configuration detail.
// Import classes:
import com.katalon.testops.api.ApiClient;
import com.katalon.testops.api.ApiException;
import com.katalon.testops.api.Configuration;
import com.katalon.testops.api.auth.*;
import com.katalon.testops.api.models.*;
import com.katalon.testops.api.api.TestPlanApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8443");
// Configure HTTP basic authorization: basicScheme
HttpBasicAuth basicScheme = (HttpBasicAuth) defaultClient.getAuthentication("basicScheme");
basicScheme.setUsername("YOUR USERNAME");
basicScheme.setPassword("YOUR PASSWORD");
TestPlanApi apiInstance = new TestPlanApi(defaultClient);
Long id = 56L; // Long |
Long projectId = 56L; // Long |
Long releaseId = 56L; // Long |
try {
RunConfigurationResource result = apiInstance.linkRelease1(id, projectId, releaseId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestPlanApi#linkRelease1");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long | ||
| projectId | Long | ||
| releaseId | Long |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
RunConfigurationResource unlinkRelease1(id)
Unlink an Run Configuration to a Release. Returns the updated Run Configuration detail.
// Import classes:
import com.katalon.testops.api.ApiClient;
import com.katalon.testops.api.ApiException;
import com.katalon.testops.api.Configuration;
import com.katalon.testops.api.auth.*;
import com.katalon.testops.api.models.*;
import com.katalon.testops.api.api.TestPlanApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8443");
// Configure HTTP basic authorization: basicScheme
HttpBasicAuth basicScheme = (HttpBasicAuth) defaultClient.getAuthentication("basicScheme");
basicScheme.setUsername("YOUR USERNAME");
basicScheme.setPassword("YOUR PASSWORD");
TestPlanApi apiInstance = new TestPlanApi(defaultClient);
Long id = 56L; // Long |
try {
RunConfigurationResource result = apiInstance.unlinkRelease1(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestPlanApi#unlinkRelease1");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |