Class ReceiveResponseModel
java.lang.Object
org.citrusframework.model.testcase.http.ReceiveResponseModel
Java-Klasse für anonymous complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.citrusframework.org/schema/http/testcase}description" minOccurs="0"/>
<element name="selector" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="element" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="headers" minOccurs="0">
<complexType>
<complexContent>
<extension base="{http://www.citrusframework.org/schema/http/testcase}ResponseHeadersType">
<attribute name="ignore-case" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
</element>
<element name="body" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="payload">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='skip' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="data" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="resource">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="charset" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<element name="validate" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="script" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="type" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="groovy"/>
</restriction>
</simpleType>
</attribute>
<attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="xpath" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="result-type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="node"/>
<enumeration value="node-set"/>
<enumeration value="boolean"/>
<enumeration value="string"/>
<enumeration value="number"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="json-path" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="namespace" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="result-type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="node"/>
<enumeration value="node-set"/>
<enumeration value="boolean"/>
<enumeration value="string"/>
<enumeration value="number"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="schema-validation" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="schema-repository" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="validator" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="data-dictionary" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="xml" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="extract" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="header" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="variable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="body" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="variable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="result-type">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="node"/>
<enumeration value="node-set"/>
<enumeration value="boolean"/>
<enumeration value="string"/>
<enumeration value="number"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="client" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type.static classJava-Klasse für anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ReceiveResponseModel.Bodyprotected Stringprotected Stringprotected ReceiveResponseModel.Extractprotected ReceiveResponseModel.Headersprotected ReceiveResponseModel.Selectorprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActor()Ruft den Wert der actor-Eigenschaft ab.getBody()Ruft den Wert der body-Eigenschaft ab.Ruft den Wert der client-Eigenschaft ab.Ruft den Wert der description-Eigenschaft ab.Ruft den Wert der extract-Eigenschaft ab.Ruft den Wert der headers-Eigenschaft ab.Ruft den Wert der selector-Eigenschaft ab.Ruft den Wert der timeout-Eigenschaft ab.getUri()Ruft den Wert der uri-Eigenschaft ab.voidLegt den Wert der actor-Eigenschaft fest.voidsetBody(ReceiveResponseModel.Body value) Legt den Wert der body-Eigenschaft fest.voidLegt den Wert der client-Eigenschaft fest.voidsetDescription(String value) Legt den Wert der description-Eigenschaft fest.voidLegt den Wert der extract-Eigenschaft fest.voidLegt den Wert der headers-Eigenschaft fest.voidLegt den Wert der selector-Eigenschaft fest.voidsetTimeout(String value) Legt den Wert der timeout-Eigenschaft fest.voidLegt den Wert der uri-Eigenschaft fest.
-
Field Details
-
description
-
selector
-
headers
-
body
-
extract
-
client
-
uri
-
timeout
-
actor
-
-
Constructor Details
-
ReceiveResponseModel
public ReceiveResponseModel()
-
-
Method Details
-
getDescription
Ruft den Wert der description-Eigenschaft ab.- Returns:
- possible object is
String
-
setDescription
Legt den Wert der description-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getSelector
Ruft den Wert der selector-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Selector
-
setSelector
Legt den Wert der selector-Eigenschaft fest.- Parameters:
value- allowed object isReceiveResponseModel.Selector
-
getHeaders
Ruft den Wert der headers-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Headers
-
setHeaders
Legt den Wert der headers-Eigenschaft fest.- Parameters:
value- allowed object isReceiveResponseModel.Headers
-
getBody
Ruft den Wert der body-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Body
-
setBody
Legt den Wert der body-Eigenschaft fest.- Parameters:
value- allowed object isReceiveResponseModel.Body
-
getExtract
Ruft den Wert der extract-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Extract
-
setExtract
Legt den Wert der extract-Eigenschaft fest.- Parameters:
value- allowed object isReceiveResponseModel.Extract
-
getClient
Ruft den Wert der client-Eigenschaft ab.- Returns:
- possible object is
String
-
setClient
Legt den Wert der client-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getUri
Ruft den Wert der uri-Eigenschaft ab.- Returns:
- possible object is
String
-
setUri
Legt den Wert der uri-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getTimeout
Ruft den Wert der timeout-Eigenschaft ab.- Returns:
- possible object is
String
-
setTimeout
Legt den Wert der timeout-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getActor
Ruft den Wert der actor-Eigenschaft ab.- Returns:
- possible object is
String
-
setActor
Legt den Wert der actor-Eigenschaft fest.- Parameters:
value- allowed object isString
-