All URIs are relative to http://localhost:8443
| Method | HTTP request | Description |
|---|---|---|
| create6 | POST /api/v1/test-projects/{id}/schedulers | Creates a new schedule for a Test Plan. Returns the created schedule detail. |
| createGitRepo | POST /api/v1/git/create | Creates a Git Test Project. Returns the Git Test Project detail. |
| createSample | POST /api/v1/test-projects/sample | Creates a new sample Test Project. Returns the created Test Project. |
| delete6 | DELETE /api/v1/test-projects/{id} | Deletes a Test Project. Returns the deleted Test Project. |
| delete7 | DELETE /api/v1/test-projects/{id}/schedulers/{schedulerId} | Deletes a schedule. Returns the deleted schedule detail. |
| download4 | GET /api/v1/test-projects/{id}/download | Downloads a Test Project package. Returns the latest Test Project package file. |
| get17 | GET /api/v1/test-projects/{id} | Returns a Test Project detail. |
| getScheduler | GET /api/v1/test-projects/{id}/schedulers/{schedulerId} | Returns a schedule detail. |
| getTestProjectGit | GET /api/v1/git/{testProjectGitId} | Returns a Git Test Project detail. |
| refreshTSC | POST /api/v1/test-projects/{id}/refresh-tsc | Refresh Test Suite Collection list of Git Test Project |
| run | PUT /api/v1/run-configurations/{id}/execute | Executes a Test Plan. Returns the build information. |
| update10 | PUT /api/v1/test-projects/{id} | Updates a Test Project detail. Returns the updated Test Project detail. |
| update9 | PUT /api/v1/test-projects/{id}/schedulers/{schedulerId} | Updates a schedule detail. Returns the updated schedule detail. |
| updateGitRepo | POST /api/v1/git/update | Updates a Git Test Project detail. Returns the updated Git Test Project detail. |
| updatePackage | POST /api/v1/test-projects/{id}/update-package | Update a Test Project package. Returns the updated Test Project detail. |
| upload1 | POST /api/v1/test-projects/upload | Creates a new Test Project. Returns the created Test Project. |
SchedulerResource create6(id, schedulerResource)
Creates a new schedule for a Test Plan. Returns the created schedule 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
SchedulerResource schedulerResource = new SchedulerResource(); // SchedulerResource |
try {
SchedulerResource result = apiInstance.create6(id, schedulerResource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#create6");
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 | ||
| schedulerResource | SchedulerResource |
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
GitRepositoryResource createGitRepo(gitRepositoryResource)
Creates a Git Test Project. Returns the Git Test Project 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
GitRepositoryResource gitRepositoryResource = new GitRepositoryResource(); // GitRepositoryResource |
try {
GitRepositoryResource result = apiInstance.createGitRepo(gitRepositoryResource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#createGitRepo");
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 |
|---|---|---|---|
| gitRepositoryResource | GitRepositoryResource |
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
TestProjectResource createSample(name, type, projectId)
Creates a new sample Test Project. Returns the created Test Project.
// 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
String name = "name_example"; // String |
String type = "type_example"; // String |
Long projectId = 56L; // Long |
try {
TestProjectResource result = apiInstance.createSample(name, type, projectId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#createSample");
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 |
|---|---|---|---|
| name | String | ||
| type | String | [enum: KS, GIT] | |
| projectId | Long |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
TestProjectResource delete6(id)
Deletes a Test Project. Returns the deleted Test Project.
// 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
try {
TestProjectResource result = apiInstance.delete6(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#delete6");
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 | - |
SchedulerResource delete7(id, schedulerId)
Deletes a schedule. Returns the deleted schedule 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
Long schedulerId = 56L; // Long |
try {
SchedulerResource result = apiInstance.delete7(id, schedulerId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#delete7");
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 | ||
| schedulerId | Long |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
download4(id)
Downloads a Test Project package. Returns the latest Test Project package file.
// 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
try {
apiInstance.download4(id);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#download4");
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 |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
TestProjectResource get17(id)
Returns a Test Project 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
try {
TestProjectResource result = apiInstance.get17(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#get17");
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 | - |
SchedulerResource getScheduler(id, schedulerId)
Returns a schedule 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
Long schedulerId = 56L; // Long |
try {
SchedulerResource result = apiInstance.getScheduler(id, schedulerId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#getScheduler");
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 | ||
| schedulerId | Long |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
GitRepositoryResource getTestProjectGit(testProjectGitId)
Returns a Git Test Project 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long testProjectGitId = 56L; // Long |
try {
GitRepositoryResource result = apiInstance.getTestProjectGit(testProjectGitId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#getTestProjectGit");
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 |
|---|---|---|---|
| testProjectGitId | Long |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
refreshTSC(id)
Refresh Test Suite Collection list of Git Test Project
// 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
try {
apiInstance.refreshTSC(id);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#refreshTSC");
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 |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | No Content | - |
List<BuildInfo> run(id)
Executes a Test Plan. Returns the build information.
// 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
try {
List<BuildInfo> result = apiInstance.run(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#run");
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 | - |
TestProjectResource update10(id, testProjectResource)
Updates a Test Project detail. Returns the updated Test Project 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
TestProjectResource testProjectResource = new TestProjectResource(); // TestProjectResource |
try {
TestProjectResource result = apiInstance.update10(id, testProjectResource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#update10");
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 | ||
| testProjectResource | TestProjectResource |
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
SchedulerResource update9(id, schedulerId, schedulerResource)
Updates a schedule detail. Returns the updated schedule 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
Long schedulerId = 56L; // Long |
SchedulerResource schedulerResource = new SchedulerResource(); // SchedulerResource |
try {
SchedulerResource result = apiInstance.update9(id, schedulerId, schedulerResource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#update9");
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 | ||
| schedulerId | Long | ||
| schedulerResource | SchedulerResource |
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
GitRepositoryResource updateGitRepo(gitRepositoryResource)
Updates a Git Test Project detail. Returns the updated Git Test Project 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
GitRepositoryResource gitRepositoryResource = new GitRepositoryResource(); // GitRepositoryResource |
try {
GitRepositoryResource result = apiInstance.updateGitRepo(gitRepositoryResource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#updateGitRepo");
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 |
|---|---|---|---|
| gitRepositoryResource | GitRepositoryResource |
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
TestProjectResource updatePackage(id, batch, folderPath, fileName, uploadedPath)
Update a Test Project package. Returns the updated Test Project 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
Long id = 56L; // Long |
String batch = "batch_example"; // String |
String folderPath = "folderPath_example"; // String |
String fileName = "fileName_example"; // String |
String uploadedPath = "uploadedPath_example"; // String |
try {
TestProjectResource result = apiInstance.updatePackage(id, batch, folderPath, fileName, uploadedPath);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#updatePackage");
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 | ||
| batch | String | ||
| folderPath | String | ||
| fileName | String | ||
| uploadedPath | String |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
TestProjectResource upload1(name, projectId, batch, folderPath, fileName, uploadedPath, description)
Creates a new Test Project. Returns the created Test Project.
// 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.TestProjectApi;
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");
TestProjectApi apiInstance = new TestProjectApi(defaultClient);
String name = "name_example"; // String |
String projectId = "projectId_example"; // String |
String batch = "batch_example"; // String |
String folderPath = "folderPath_example"; // String |
String fileName = "fileName_example"; // String |
String uploadedPath = "uploadedPath_example"; // String |
String description = "description_example"; // String |
try {
TestProjectResource result = apiInstance.upload1(name, projectId, batch, folderPath, fileName, uploadedPath, description);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling TestProjectApi#upload1");
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 |
|---|---|---|---|
| name | String | ||
| projectId | String | ||
| batch | String | ||
| folderPath | String | ||
| fileName | String | ||
| uploadedPath | String | ||
| description | String | [optional] |
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |