/xservices/trunk/test/JobServices-soapui-project.xml |
---|
8,6 → 8,8 |
<xs:element name="getJobResponse" type="tns:getJobResponse"/> |
<xs:element name="getJobs" type="tns:getJobs"/> |
<xs:element name="getJobsResponse" type="tns:getJobsResponse"/> |
<xs:element name="getStatistics" type="tns:getStatistics"/> |
<xs:element name="getStatisticsResponse" type="tns:getStatisticsResponse"/> |
<xs:element name="scheduleJob" type="tns:scheduleJob"/> |
<xs:element name="scheduleJobResponse" type="tns:scheduleJobResponse"/> |
<xs:complexType name="getJobs"> |
36,6 → 38,34 |
<xs:element minOccurs="0" name="return" type="tns:scheduledJob"/> |
</xs:sequence> |
</xs:complexType> |
<xs:complexType name="getStatistics"> |
<xs:sequence/> |
</xs:complexType> |
<xs:complexType name="getStatisticsResponse"> |
<xs:sequence> |
<xs:element minOccurs="0" name="return" type="tns:schedulerStatisticsType"/> |
</xs:sequence> |
</xs:complexType> |
<xs:complexType name="schedulerStatisticsType"> |
<xs:sequence> |
<xs:element minOccurs="0" name="calendarNames"> |
<xs:simpleType> |
<xs:list itemType="xs:string"/> |
</xs:simpleType> |
</xs:element> |
<xs:element name="executedJobs" type="xs:int"/> |
<xs:element minOccurs="0" name="runningSince" type="tns:DateInfoType"/> |
<xs:element name="threadPoolSize" type="xs:int"/> |
<xs:element minOccurs="0" name="version" type="xs:string"/> |
</xs:sequence> |
</xs:complexType> |
<xs:complexType name="DateInfoType"> |
<xs:sequence> |
<xs:element minOccurs="0" name="iso8601date" type="xs:dateTime"/> |
<xs:element minOccurs="0" name="rfc822date" type="xs:string"/> |
<xs:element name="timestamp" type="xs:long"/> |
</xs:sequence> |
</xs:complexType> |
<xs:complexType name="deleteJob"> |
<xs:sequence> |
<xs:element name="id" type="xs:string"/> |
81,6 → 111,9 |
<wsdl:message name="getJobs"> |
<wsdl:part element="tns:getJobs" name="parameters"></wsdl:part> |
</wsdl:message> |
<wsdl:message name="getStatisticsResponse"> |
<wsdl:part element="tns:getStatisticsResponse" name="parameters"></wsdl:part> |
</wsdl:message> |
<wsdl:message name="getJobsResponse"> |
<wsdl:part element="tns:getJobsResponse" name="parameters"></wsdl:part> |
</wsdl:message> |
90,6 → 123,9 |
<wsdl:message name="deleteJobResponse"> |
<wsdl:part element="tns:deleteJobResponse" name="parameters"></wsdl:part> |
</wsdl:message> |
<wsdl:message name="getStatistics"> |
<wsdl:part element="tns:getStatistics" name="parameters"></wsdl:part> |
</wsdl:message> |
<wsdl:message name="XServicesFault"> |
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part> |
</wsdl:message> |
106,6 → 142,12 |
<wsdl:output message="tns:getJobResponse" name="getJobResponse"></wsdl:output> |
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault> |
</wsdl:operation> |
<wsdl:operation name="getStatistics"> |
<wsdl:documentation>Get scheduler statistics</wsdl:documentation> |
<wsdl:input message="tns:getStatistics" name="getStatistics"></wsdl:input> |
<wsdl:output message="tns:getStatisticsResponse" name="getStatisticsResponse"></wsdl:output> |
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault> |
</wsdl:operation> |
<wsdl:operation name="deleteJob"> |
<wsdl:documentation>Delete a scheduled job.</wsdl:documentation> |
<wsdl:input message="tns:deleteJob" name="deleteJob"></wsdl:input> |
145,6 → 187,18 |
<soap:fault name="XServicesFault" use="literal"/> |
</wsdl:fault> |
</wsdl:operation> |
<wsdl:operation name="getStatistics"> |
<soap:operation soapAction="" style="document"/> |
<wsdl:input name="getStatistics"> |
<soap:body use="literal"/> |
</wsdl:input> |
<wsdl:output name="getStatisticsResponse"> |
<soap:body use="literal"/> |
</wsdl:output> |
<wsdl:fault name="XServicesFault"> |
<soap:fault name="XServicesFault" use="literal"/> |
</wsdl:fault> |
</wsdl:operation> |
<wsdl:operation name="deleteJob"> |
<soap:operation soapAction="" style="document"/> |
<wsdl:input name="deleteJob"> |
193,7 → 247,7 |
<ws:scheduleJob> |
<job> |
<name></name> |
<datetime>2011-12-12T17:00:00+02:00</datetime> |
<datetime>2012-05-14T07:52:00+02:00</datetime> |
<!--Optional:--> |
<script><![CDATA[ |
java.lang.System.out.println("hm") |
201,18 → 255,17 |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
vjava.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
vvvv |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
v |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
java.lang.System.out.println("hm") |
229,4 → 282,9 |
<id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id> |
</ws:deleteJob> |
</soapenv:Body> |
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/deleteJob"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project> |
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/deleteJob"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getStatistics" bindingOperationName="getStatistics" type="Request-Response" outputName="getStatisticsResponse" inputName="getStatistics" 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"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</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:getStatistics/> |
</soapenv:Body> |
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/getStatistics"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project> |
/xservices/trunk/test/MiscService-soapui-project.xml |
---|
9,6 → 9,8 |
<xs:element name="getHostinfoResponse" type="tns:getHostinfoResponse"/> |
<xs:element name="getInfo" type="tns:getInfo"/> |
<xs:element name="getInfoResponse" type="tns:getInfoResponse"/> |
<xs:element name="getMemory" type="tns:getMemory"/> |
<xs:element name="getMemoryResponse" type="tns:getMemoryResponse"/> |
<xs:element name="sleep" type="tns:sleep"/> |
<xs:element name="sleepResponse" type="tns:sleepResponse"/> |
<xs:complexType name="getHostinfo"> |
29,6 → 31,17 |
<xs:element minOccurs="0" name="name" type="xs:string"/> |
</xs:sequence> |
</xs:complexType> |
<xs:complexType name="getMemory"> |
<xs:sequence/> |
</xs:complexType> |
<xs:complexType name="getMemoryResponse"> |
<xs:sequence> |
<xs:element minOccurs="0" name="return" type="tns:runtimeInfoType"/> |
</xs:sequence> |
</xs:complexType> |
<xs:complexType name="runtimeInfoType"> |
<xs:sequence/> |
</xs:complexType> |
<xs:complexType name="sleep"> |
<xs:sequence> |
<xs:element name="minutes" type="xs:int"/> |
75,6 → 88,12 |
<wsdl:message name="sleepResponse"> |
<wsdl:part element="tns:sleepResponse" name="parameters"></wsdl:part> |
</wsdl:message> |
<wsdl:message name="getMemory"> |
<wsdl:part element="tns:getMemory" name="parameters"></wsdl:part> |
</wsdl:message> |
<wsdl:message name="getMemoryResponse"> |
<wsdl:part element="tns:getMemoryResponse" name="parameters"></wsdl:part> |
</wsdl:message> |
<wsdl:message name="getHostinfo"> |
<wsdl:part element="tns:getHostinfo" name="parameters"></wsdl:part> |
</wsdl:message> |
103,6 → 122,11 |
<wsdl:input message="tns:getHostinfo" name="getHostinfo"></wsdl:input> |
<wsdl:output message="tns:getHostinfoResponse" name="getHostinfoResponse"></wsdl:output> |
</wsdl:operation> |
<wsdl:operation name="getMemory"> |
<wsdl:documentation>Get memory and processor information</wsdl:documentation> |
<wsdl:input message="tns:getMemory" name="getMemory"></wsdl:input> |
<wsdl:output message="tns:getMemoryResponse" name="getMemoryResponse"></wsdl:output> |
</wsdl:operation> |
<wsdl:operation name="sleep"> |
<wsdl:documentation>Delay request response a specified duration.</wsdl:documentation> |
<wsdl:input message="tns:sleep" name="sleep"></wsdl:input> |
130,6 → 154,15 |
<soap:body use="literal"/> |
</wsdl:output> |
</wsdl:operation> |
<wsdl:operation name="getMemory"> |
<soap:operation soapAction="" style="document"/> |
<wsdl:input name="getMemory"> |
<soap:body use="literal"/> |
</wsdl:input> |
<wsdl:output name="getMemoryResponse"> |
<soap:body use="literal"/> |
</wsdl:output> |
</wsdl:operation> |
<wsdl:operation name="sleep"> |
<soap:operation soapAction="" style="document"/> |
<wsdl:input name="sleep"> |
168,9 → 201,14 |
<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:operation isOneWay="false" action="" name="generateUUID" bindingOperationName="generateUUID" type="Request-Response" outputName="generateUUIDResponse" inputName="generateUUID" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation></con:interface><con:testSuite name="Basic Call Tests"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="true" maxResults="0" name="Pull WSDL" searchProperties="true" id="2048fa40-8ecb-484e-98ff-6c50df26f33b"><con:settings/><con:testStep type="httprequest" name="http://localhost:8080/XServices/MiscService?WSDL"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/MiscService?WSDL</con:endpoint><con:request/><con:assertion type="HTTP Download all resources" name="HTTP Download all resources"/><con:assertion type="Response SLA Assertion" name="Response SLA"><con:configuration><SLA>200</SLA></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getHostInfo" searchProperties="true" id="056daaec-9b00-4484-9326-f1f83de86500"><con:settings/><con:testStep type="request" name="getHostInfo-localhost"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getHostinfo</con:operation><con:request name="getHostInfo-localhost"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><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: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:operation isOneWay="false" action="" name="generateUUID" bindingOperationName="generateUUID" type="Request-Response" outputName="generateUUIDResponse" inputName="generateUUID" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="getMemory" bindingOperationName="getMemory" type="Request-Response" outputName="getMemoryResponse" inputName="getMemory" 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"><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:getMemory/> |
</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/getMemory"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:testSuite name="Basic Call Tests"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="true" maxResults="0" name="Pull WSDL" searchProperties="true" id="2048fa40-8ecb-484e-98ff-6c50df26f33b"><con:settings/><con:testStep type="httprequest" name="http://localhost:8080/XServices/MiscService?WSDL"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/MiscService?WSDL</con:endpoint><con:request/><con:assertion type="HTTP Download all resources" name="HTTP Download all resources"/><con:assertion type="Response SLA Assertion" name="Response SLA"><con:configuration><SLA>200</SLA></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getHostInfo" searchProperties="true" id="056daaec-9b00-4484-9326-f1f83de86500"><con:settings/><con:testStep type="request" name="getHostInfo-localhost"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getHostinfo</con:operation><con:request name="getHostInfo-localhost"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><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:getHostinfo> |
<!--Optional:--> |
<hostname>localhost</hostname> |
234,4 → 272,9 |
<seconds>32</seconds> |
</ws:sleep> |
</soapenv:Body> |
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMemory"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getMemory</con:operation><con:request name="getMemory"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><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:getMemory/> |
</soapenv:Body> |
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/></con:soapui-project> |