com.smartbear.readyapi.client.execution.TestServerApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ready-api-testserver-client Show documentation
Show all versions of ready-api-testserver-client Show documentation
Java client library for creating and executing test recipes against Ready!API TestServer
package com.smartbear.readyapi.client.execution;
import com.smartbear.readyapi.client.model.HarLogRoot;
import com.smartbear.readyapi.client.model.ProjectResultReport;
import com.smartbear.readyapi.client.model.ProjectResultReports;
import com.smartbear.readyapi.client.model.TestCase;
import io.swagger.client.auth.HttpBasicAuth;
/**
* Defines an API stub that can communicate with the Ready! API Server.
*/
public interface TestServerApi {
ProjectResultReport postTestRecipe(TestCase body, boolean async, HttpBasicAuth auth) throws ApiException;
ProjectResultReport getExecutionStatus(String executionID, HttpBasicAuth auth) throws ApiException;
ProjectResultReports getExecutions(HttpBasicAuth auth) throws ApiException;
ProjectResultReport cancelExecution(String executionID, HttpBasicAuth auth) throws ApiException;
HarLogRoot getTransactionLog(String executionID, String transactionId, HttpBasicAuth auth) throws ApiException;
void setBasePath(String basePath);
void setConnectTimeout(int connectionTimeout);
void setDebugging(boolean debugging);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy