XServices/test/MiscService-soapui-project.xml

322 lines
21 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="MiscService" resourceRoot="" soapui-version="3.6.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="MiscServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}MiscServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/xservices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/xservices/MiscService?WSDL"><con:part><con:url>http://localhost:8080/xservices/MiscService?WSDL</con:url><con:content><![CDATA[<wsdl:definitions name="MiscService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:documentation>My top level documentation</wsdl:documentation>
<wsdl:types>
<xs:schema elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="antProperty" type="tns:antProperty"/>
<xs:element name="getHostinfo" type="tns:getHostinfo"/>
<xs:element name="getHostinfoResponse" type="tns:getHostinfoResponse"/>
<xs:element name="getInfo" type="tns:getInfo"/>
<xs:element name="getInfoResponse" type="tns:getInfoResponse"/>
<xs:element name="sendMail" type="tns:sendMail"/>
<xs:element name="sendMailResponse" type="tns:sendMailResponse"/>
<xs:element name="sendMailSimple" type="tns:sendMailSimple"/>
<xs:element name="sendMailSimpleResponse" type="tns:sendMailSimpleResponse"/>
<xs:element name="sendMailSimpleWithAttachment" type="tns:sendMailSimpleWithAttachment"/>
<xs:element name="sendMailSimpleWithAttachmentResponse" type="tns:sendMailSimpleWithAttachmentResponse"/>
<xs:element name="sleep" type="tns:sleep"/>
<xs:element name="sleepResponse" type="tns:sleepResponse"/>
<xs:complexType name="sendMailSimpleWithAttachment">
<xs:sequence>
<xs:element minOccurs="0" name="mailhost" type="tns:connection"/>
<xs:element minOccurs="0" name="from" type="xs:string"/>
<xs:element minOccurs="0" name="to" type="xs:string"/>
<xs:element minOccurs="0" name="subject" type="xs:string"/>
<xs:element minOccurs="0" name="message" type="xs:string"/>
<xs:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="connection">
<xs:sequence>
<xs:element name="hostname" type="xs:string"/>
<xs:element name="port" type="xs:int"/>
<xs:element minOccurs="0" name="user" type="xs:string"/>
<xs:element minOccurs="0" name="password" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FileSetType">
<xs:sequence>
<xs:element default="FILES" name="FileSetType" type="tns:resourcetype"/>
<xs:element name="source" type="xs:string"/>
<xs:element name="filter" nillable="true" type="tns:patternSetType"/>
<xs:element default="" minOccurs="0" name="excludes" nillable="true" type="xs:string"/>
<xs:element default="true" name="casesensitive" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="patternSetType">
<xs:sequence>
<xs:element default="**/*" maxOccurs="unbounded" minOccurs="0" name="include" type="tns:patternElement"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="exclude" type="tns:patternElement"/>
<xs:element minOccurs="0" name="selector" nillable="true" type="tns:selectorType"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="patternElement">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:complexType abstract="true" name="selectorType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="contains" nillable="true" type="tns:containsSelectorType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="containsSelectorType">
<xs:sequence>
<xs:element name="text" type="xs:string"/>
<xs:element default="true" name="casesensitive" type="xs:boolean"/>
<xs:element default="false" name="ignorewhitespace" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMailSimpleWithAttachmentResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ReturnCodeType">
<xs:sequence>
<xs:element name="returnCode" type="xs:int"/>
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="antProperty">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMailSimple">
<xs:sequence>
<xs:element minOccurs="0" name="mailhost" type="tns:connection"/>
<xs:element minOccurs="0" name="from" type="xs:string"/>
<xs:element minOccurs="0" name="to" type="xs:string"/>
<xs:element minOccurs="0" name="subject" type="xs:string"/>
<xs:element minOccurs="0" name="message" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMailSimpleResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getHostinfo">
<xs:sequence>
<xs:element minOccurs="0" name="hostname" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getHostinfoResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMail">
<xs:sequence>
<xs:element minOccurs="0" name="mailhost" type="tns:connection"/>
<xs:element minOccurs="0" name="from" type="xs:string"/>
<xs:element minOccurs="0" name="to" type="xs:string"/>
<xs:element minOccurs="0" name="cc" type="xs:string"/>
<xs:element minOccurs="0" name="bcc" type="xs:string"/>
<xs:element minOccurs="0" name="subject" type="xs:string"/>
<xs:element minOccurs="0" name="mimetype" type="tns:mailMimeType"/>
<xs:element minOccurs="0" name="charset" type="xs:string"/>
<xs:element minOccurs="0" name="message" type="xs:string"/>
<xs:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
<xs:element name="useSSL" type="xs:boolean"/>
<xs:element name="useStartTLS" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMailResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sleep">
<xs:sequence>
<xs:element name="minutes" type="xs:int"/>
<xs:element name="seconds" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sleepResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getInfo">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getInfoResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="resourcetype">
<xs:restriction base="xs:string">
<xs:enumeration value="FILES"/>
<xs:enumeration value="ZIP"/>
<xs:enumeration value="TAR"/>
<xs:enumeration value="GZTAR"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="mailMimeType">
<xs:restriction base="xs:string">
<xs:enumeration value="text/plain"/>
<xs:enumeration value="text/html"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
</wsdl:types>
<wsdl:message name="sleepResponse">
<wsdl:part element="tns:sleepResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailResponse">
<wsdl:part element="tns:sendMailResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimple">
<wsdl:part element="tns:sendMailSimple" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getHostinfo">
<wsdl:part element="tns:getHostinfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getInfoResponse">
<wsdl:part element="tns:getInfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getInfo">
<wsdl:part element="tns:getInfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sleep">
<wsdl:part element="tns:sleep" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleWithAttachment">
<wsdl:part element="tns:sendMailSimpleWithAttachment" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getHostinfoResponse">
<wsdl:part element="tns:getHostinfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMail">
<wsdl:part element="tns:sendMail" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleResponse">
<wsdl:part element="tns:sendMailSimpleResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleWithAttachmentResponse">
<wsdl:part element="tns:sendMailSimpleWithAttachmentResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:portType name="MiscService">
<wsdl:operation name="sendMailSimpleWithAttachment">
<wsdl:input message="tns:sendMailSimpleWithAttachment" name="sendMailSimpleWithAttachment"></wsdl:input>
<wsdl:output message="tns:sendMailSimpleWithAttachmentResponse" name="sendMailSimpleWithAttachmentResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMailSimple">
<wsdl:input message="tns:sendMailSimple" name="sendMailSimple"></wsdl:input>
<wsdl:output message="tns:sendMailSimpleResponse" name="sendMailSimpleResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getHostinfo">
<wsdl:input message="tns:getHostinfo" name="getHostinfo"></wsdl:input>
<wsdl:output message="tns:getHostinfoResponse" name="getHostinfoResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMail">
<wsdl:input message="tns:sendMail" name="sendMail"></wsdl:input>
<wsdl:output message="tns:sendMailResponse" name="sendMailResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sleep">
<wsdl:input message="tns:sleep" name="sleep"></wsdl:input>
<wsdl:output message="tns:sleepResponse" name="sleepResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getInfo">
<wsdl:input message="tns:getInfo" name="getInfo"></wsdl:input>
<wsdl:output message="tns:getInfoResponse" name="getInfoResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MiscServiceSoapBinding" type="tns:MiscService">
<wsdl:documentation>My binding doc</wsdl:documentation>
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sendMailSimpleWithAttachment">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMailSimpleWithAttachment">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailSimpleWithAttachmentResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getHostinfo">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getHostinfo">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getHostinfoResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMailSimple">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMailSimple">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailSimpleResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMail">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMail">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sleep">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sleep">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sleepResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getInfo">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getInfo">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getInfoResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="MiscService">
<wsdl:documentation>My portType documentation</wsdl:documentation>
<wsdl:port binding="tns:MiscServiceSoapBinding" name="MiscServiceImplPort">
<soap:address location="http://localhost:8080/xservices/MiscService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/xservices/MiscService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="getHostinfo" bindingOperationName="getHostinfo" type="Request-Response" outputName="getHostinfoResponse" inputName="getHostinfo" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="sendMail" bindingOperationName="sendMail" type="Request-Response" outputName="sendMailResponse" inputName="sendMail" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/xservices/MiscService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:sendMail>
<useSSL>0</useSSL>
<useStartTLS>0</useStartTLS>
</ws:sendMail>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/sendMail"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMailSimple" bindingOperationName="sendMailSimple" type="Request-Response" outputName="sendMailSimpleResponse" inputName="sendMailSimple" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="sendMailSimpleWithAttachment" bindingOperationName="sendMailSimpleWithAttachment" type="Request-Response" outputName="sendMailSimpleWithAttachmentResponse" inputName="sendMailSimpleWithAttachment" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="sleep" bindingOperationName="sleep" type="Request-Response" outputName="sleepResponse" inputName="sleep" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/xservices/MiscService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:sleep>
<minutes>0</minutes>
<seconds>15</seconds>
</ws:sleep>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/sleep"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getInfo" bindingOperationName="getInfo" type="Request-Response" outputName="getInfoResponse" inputName="getInfo" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/xservices/MiscService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getInfo/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/getInfo"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:testSuite name="TestSuite 1"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="TestCase 1" searchProperties="true"><con:settings/><con:testStep type="request" name="sleep - Request 1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>sleep</con:operation><con:request name="sleep - Request 1" outgoingWss="" incomingWss="" timeout="" wssPasswordType=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/xservices/MiscService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:sleep>
<minutes>0</minutes>
<seconds>15</seconds>
</ws:sleep>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" name="SOAP Response"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/sleep"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>1000</testDelay><randomFactor>0.5</randomFactor></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/></con:soapui-project>