public class RequestObject extends com.kms.katalon.core.testobject.TestObject
| Constructor and description |
|---|
RequestObject
(String objectId) |
| Type | Name and description |
|---|---|
HttpBodyContent |
getBodyContent()Gets the body content of request. |
String |
getHttpBody()Get the http body for this request object |
List<TestObjectProperty> |
getHttpHeaderProperties()Get the http headers of this request object |
String |
getName()Get the name of this request object |
String |
getObjectId()Get the id of this request object |
List<TestObjectProperty> |
getRestParameters()Get the rest parameters of this request object if it is a "RESTful" request object |
String |
getRestRequestMethod()Get the rest request of this request object if it is a "RESTful" request object |
String |
getRestUrl()Get the rest url of this request object if it is a "RESTful" request object |
String |
getServiceType()Return the request type for this request object |
String |
getSoapBody()Get the soap body of this request object if it is a "SOAP" request object |
String |
getSoapRequestMethod()Get the soap request method of this request object if it is a "SOAP" request object |
String |
getSoapServiceFunction()Get the soap service function of this request object if it is a "SOAP" request object |
Map<String, Object> |
getVariables() |
String |
getVerificationScript() |
String |
getWsdlAddress()Get the wsdl address of this request object if it is a "SOAP" request object |
void |
setBodyContent(HttpBodyContent bodyContent)Sets the body content for this request. |
void |
setHttpBody(String httpBody)Set the http body for this request object |
void |
setHttpHeaderProperties(List<TestObjectProperty> httpHeaderProperties)Set the http headers of this request object |
void |
setName(String name)Set the name for this request object |
void |
setObjectId(String objectId)Set the id for this request object |
void |
setRestParameters(List<TestObjectProperty> restParameters)Set the rest parameters for this request object |
void |
setRestRequestMethod(String restRequestMethod)Set the rest request for this request object |
void |
setRestUrl(String restUrl)Set the rest url for this request object |
void |
setServiceType(String serviceType)Set the service type for this request object |
void |
setSoapBody(String soapBody)Set the soap body for this request object |
void |
setSoapRequestMethod(String soapRequestMethod)Set the soap request method for this request object |
void |
setSoapServiceFunction(String soapServiceFunction)Set the soap service function for this request object |
void |
setVariables(Map<String, Object> variables) |
void |
setVerificationScript(String verificationScript) |
void |
setWsdlAddress(String wsdlAddress)Set the wsdl address of this request object |
| Methods inherited from class | Name |
|---|---|
class com.kms.katalon.core.testobject.TestObject |
com.kms.katalon.core.testobject.TestObject#toString(), com.kms.katalon.core.testobject.TestObject#getProperties(), com.kms.katalon.core.testobject.TestObject#setProperties(java.util.List), com.kms.katalon.core.testobject.TestObject#setImagePath(java.lang.String), com.kms.katalon.core.testobject.TestObject#addXpath(com.kms.katalon.core.testobject.TestObjectXpath), com.kms.katalon.core.testobject.TestObject#addXpath(java.lang.String, com.kms.katalon.core.testobject.ConditionType, java.lang.String, boolean), com.kms.katalon.core.testobject.TestObject#addXpath(java.lang.String, com.kms.katalon.core.testobject.ConditionType, java.lang.String), com.kms.katalon.core.testobject.TestObject#getImagePath(), com.kms.katalon.core.testobject.TestObject#getParentObject(), com.kms.katalon.core.testobject.TestObject#getActiveXpaths(), com.kms.katalon.core.testobject.TestObject#addProperty(java.lang.String, com.kms.katalon.core.testobject.ConditionType, java.lang.String), com.kms.katalon.core.testobject.TestObject#addProperty(com.kms.katalon.core.testobject.TestObjectProperty), com.kms.katalon.core.testobject.TestObject#addProperty(java.lang.String, com.kms.katalon.core.testobject.ConditionType, java.lang.String, boolean), com.kms.katalon.core.testobject.TestObject#setXpaths(java.util.List), com.kms.katalon.core.testobject.TestObject#getActiveProperties(), com.kms.katalon.core.testobject.TestObject#setParentObject(com.kms.katalon.core.testobject.TestObject), com.kms.katalon.core.testobject.TestObject#findXpath(java.lang.String), com.kms.katalon.core.testobject.TestObject#findXpathValue(java.lang.String, boolean), com.kms.katalon.core.testobject.TestObject#findXpathValue(java.lang.String), com.kms.katalon.core.testobject.TestObject#getXpaths(), com.kms.katalon.core.testobject.TestObject#setParentObjectShadowRoot(boolean), com.kms.katalon.core.testobject.TestObject#findProperty(java.lang.String), com.kms.katalon.core.testobject.TestObject#findPropertyValue(java.lang.String, boolean), com.kms.katalon.core.testobject.TestObject#findPropertyValue(java.lang.String), com.kms.katalon.core.testobject.TestObject#getObjectId(), com.kms.katalon.core.testobject.TestObject#getSelectorCollection(), com.kms.katalon.core.testobject.TestObject#isParentObjectShadowRoot(), com.kms.katalon.core.testobject.TestObject#getSelectorMethod(), com.kms.katalon.core.testobject.TestObject#getUseRelativeImagePath(), com.kms.katalon.core.testobject.TestObject#setSelectorValue(com.kms.katalon.core.testobject.SelectorMethod, java.lang.String), com.kms.katalon.core.testobject.TestObject#setUseRelativeImagePath(boolean), com.kms.katalon.core.testobject.TestObject#setSelectorMethod(com.kms.katalon.core.testobject.SelectorMethod), com.kms.katalon.core.testobject.TestObject#wait(long, int), com.kms.katalon.core.testobject.TestObject#wait(long), com.kms.katalon.core.testobject.TestObject#wait(), com.kms.katalon.core.testobject.TestObject#equals(java.lang.Object), com.kms.katalon.core.testobject.TestObject#hashCode(), com.kms.katalon.core.testobject.TestObject#getClass(), com.kms.katalon.core.testobject.TestObject#notify(), com.kms.katalon.core.testobject.TestObject#notifyAll() |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Gets the body content of request.
Get the http body for this request object
Get the http headers of this request object
Get the name of this request object
Get the id of this request object
Get the rest parameters of this request object if it is a "RESTful" request object
Get the rest request of this request object if it is a "RESTful" request object
Possible values: GET, POST, PUT, DELETE
Get the rest url of this request object if it is a "RESTful" request object
Return the request type for this request object
Possible values: SOAP, RESTful
Get the soap body of this request object if it is a "SOAP" request object
Get the soap request method of this request object if it is a "SOAP" request object
Possible values: SOAP, SOAP12, GET, POST
Get the soap service function of this request object if it is a "SOAP" request object
Get the wsdl address of this request object if it is a "SOAP" request object
Sets the body content for this request.
bodyContent - an implementation of HttpBodyContentSet the http body for this request object
httpBody - the new http body for this request object as a StringSet the http headers of this request object
httpHeaderProperties - the new list contains the http headers for this request objectSet the name for this request object
name - the new name of this request objectSet the id for this request object
objectId - the new id of this request objectSet the rest parameters for this request object
restParameters - the new rest parameters of this request objectSet the rest request for this request object
restRequestMethod - the new get request for this request objectSet the rest url for this request object
restUrl - the new rest url for this request objectSet the service type for this request object
serviceType - the new request type for this request objectSet the soap body for this request object
soapBody - the new soap body for this request objectSet the soap request method for this request object
soapRequestMethod - the new soap request method for this request objectSet the soap service function for this request object
soapServiceFunction - the new soap service function for this request objectSet the wsdl address of this request object
wsdlAddress - the new wsdl address of this request object