Package core.support.objects
Class ServiceObject
- java.lang.Object
-
- core.support.objects.ServiceObject
-
public class ServiceObject extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceObject()
-
Method Summary
-
-
-
Method Detail
-
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)
-
setServiceObject
public ServiceObject setServiceObject(Object[] testData)
-
withTestSuite
public ServiceObject withTestSuite(String testSuite)
-
getTestSuite
public String getTestSuite()
-
withTestCaseID
public ServiceObject withTestCaseID(String testCaseID)
-
getTestCaseID
public String getTestCaseID()
-
withRunFlag
public ServiceObject withRunFlag(String runFlag)
-
getRunFlag
public String getRunFlag()
-
withDescription
public ServiceObject withDescription(String Description)
-
getDescription
public String getDescription()
-
withInterfaceType
public ServiceObject withInterfaceType(String InterfaceType)
-
getInterfaceType
public String getInterfaceType()
-
withUriPath
public ServiceObject withUriPath(String UriPath)
-
getUriPath
public String getUriPath()
-
withContentType
public ServiceObject withContentType(String ContentType)
-
getContentType
public String getContentType()
-
withMethod
public ServiceObject withMethod(String Method)
-
getMethod
public String getMethod()
-
withOption
public ServiceObject withOption(String Option)
-
withParent
public ServiceObject withParent(String parent)
-
getParent
public String getParent()
-
getOption
public String getOption()
-
withRequestHeaders
public ServiceObject withRequestHeaders(String RequestHeaders)
-
getRequestHeaders
public String getRequestHeaders()
-
withTemplateFile
public ServiceObject withTemplateFile(String TemplateFile)
-
getTemplateFile
public String getTemplateFile()
-
withRequestBody
public ServiceObject withRequestBody(String RequestBody)
-
withResponse
public ServiceObject withResponse(io.restassured.response.Response response)
-
withRequest
public ServiceObject withRequest(io.restassured.specification.RequestSpecification request)
-
withErrorMessages
public ServiceObject withErrorMessages(List<String> errorMessages)
-
withOutputParams
public ServiceObject withOutputParams(String OutputParams)
-
getOutputParams
public String getOutputParams()
-
withRespCodeExp
public ServiceObject withRespCodeExp(String RespCodeExp)
-
getRespCodeExp
public String getRespCodeExp()
-
withExpectedResponse
public ServiceObject withExpectedResponse(String ExpectedResponse)
-
withTcType
public ServiceObject withTcType(String testType)
-
getExpectedResponse
public String getExpectedResponse()
-
withTcComments
public ServiceObject withTcComments(String TcComments)
-
getTcComments
public String getTcComments()
-
withTcName
public ServiceObject withTcName(String tcName)
-
getResponse
public io.restassured.response.Response getResponse()
-
getRequest
public io.restassured.specification.RequestSpecification getRequest()
-
getRequestBody
public String getRequestBody()
-
getTcName
public String getTcName()
-
getTcType
public String getTcType()
-
withHeaderMap
public ServiceObject withHeaderMap(String testcaseId, ArrayList<String> header)
-
withTcIndex
public ServiceObject withTcIndex(String tcIndex)
-
getTcIndex
public String getTcIndex()
-
getTcCount
public String getTcCount()
-
-