public class ServiceObject
extends Object
-
-
Method Summary
| Modifier and Type |
Method |
Description |
String |
getContentType() |
|
String |
getDescription() |
|
List<String> |
getErrorMessages() |
|
String |
getExpectedResponse() |
|
Map<String,List<String>> |
getHeaderMap() |
|
String |
getInterfaceType() |
|
String |
getMethod() |
|
String |
getOption() |
|
String |
getOutputParams() |
|
String |
getParent() |
|
io.restassured.specification.RequestSpecification |
getRequest() |
|
String |
getRequestBody() |
|
String |
getRequestHeaders() |
|
String |
getRespCodeExp() |
|
io.restassured.response.Response |
getResponse() |
|
String |
getRunFlag() |
|
HashMap<String,List<Object>> |
getServiceSteps() |
|
String |
getTcComments() |
|
String |
getTcCount() |
|
String |
getTcIndex() |
|
String |
getTcName() |
|
String |
getTcType() |
|
String |
getTemplateFile() |
|
String |
getTestCaseID() |
|
String |
getTestSuite() |
|
String |
getUriPath() |
|
static String |
normalize(String value) |
|
static String |
normalizeLog(String value) |
|
ServiceObject |
setServiceObject(Object[] testData) |
|
ServiceObject |
setServiceObject(String TestSuite,
String TestCaseID,
String RunFlag,
String Description,
String InterfaceType,
String UriPath,
String ContentType,
String Method,
String Option,
String RequestHeaders,
String TemplateFile,
String RequestBody,
String OutputParams,
String RespCodeExp,
String ExpectedResponse,
String TcComments,
String tcName,
String tcIndex,
String testType,
Object serviceSteps) |
|
ServiceObject |
withContentType(String ContentType) |
|
ServiceObject |
withDescription(String Description) |
|
ServiceObject |
withErrorMessages(List<String> errorMessages) |
|
ServiceObject |
withExpectedResponse(String ExpectedResponse) |
|
ServiceObject |
withHeaderMap(String testcaseId,
ArrayList<String> header) |
|
ServiceObject |
withInterfaceType(String InterfaceType) |
|
ServiceObject |
withMethod(String Method) |
|
ServiceObject |
withOption(String Option) |
|
ServiceObject |
withOutputParams(String OutputParams) |
|
ServiceObject |
withParent(String parent) |
|
ServiceObject |
withRequest(io.restassured.specification.RequestSpecification request) |
|
ServiceObject |
withRequestBody(String RequestBody) |
|
ServiceObject |
withRequestHeaders(String RequestHeaders) |
|
ServiceObject |
withRespCodeExp(String RespCodeExp) |
|
ServiceObject |
withResponse(io.restassured.response.Response response) |
|
ServiceObject |
withRunFlag(String runFlag) |
|
ServiceObject |
withTcComments(String TcComments) |
|
ServiceObject |
withTcIndex(String tcIndex) |
|
ServiceObject |
withTcName(String tcName) |
|
ServiceObject |
withTcType(String testType) |
|
ServiceObject |
withTemplateFile(String TemplateFile) |
|
ServiceObject |
withTestCaseID(String testCaseID) |
|
ServiceObject |
withTestSuite(String testSuite) |
|
ServiceObject |
withUriPath(String UriPath) |
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ServiceObject
public ServiceObject()
-
Method Details
-
setServiceObject
public ServiceObject setServiceObject(
String TestSuite,
String TestCaseID,
String RunFlag,
String Description,
String InterfaceType,
String UriPath,
String ContentType,
String Method,
String Option,
String RequestHeaders,
String TemplateFile,
String RequestBody,
String OutputParams,
String RespCodeExp,
String ExpectedResponse,
String TcComments,
String tcName,
String tcIndex,
String testType,
Object serviceSteps)
-
-
-
-
-
-
-
-
-
getDescription
public String getDescription()
-
-
getInterfaceType
public String getInterfaceType()
-
-
-
-
getContentType
public String getContentType()
-
-
-
-
-
-
-
-
-
-
getTemplateFile
public String getTemplateFile()
-
-
withResponse
public ServiceObject withResponse(
io.restassured.response.Response response)
-
withRequest
public ServiceObject withRequest(
io.restassured.specification.RequestSpecification request)
-
-
-
getOutputParams
public String getOutputParams()
-
-
getRespCodeExp
public String getRespCodeExp()
-
-
-
getExpectedResponse
public String getExpectedResponse()
-
-
-
-
getResponse
public io.restassured.response.Response getResponse()
-
getRequest
public io.restassured.specification.RequestSpecification getRequest()
-
-
getRequestBody
public String getRequestBody()
-
-
-
-
-
-
-
-
-
-