perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r6249 - in trunk: perfsonar-base/messaging perfsonar-java-rrd-ma -SQL_backend perfsonar-java-rrd-ma-SQL_backend/samples /requests perfsonar-java-rrd-ma-SQL_backend/samples/rrd perfsonar-java-rrd-ma-SQL_backend/soapUI perfsonar-java- rrd-ma-SQL_backend/soapUI/rnc perfsonar-java-rrd-ma-SQL _backend/src/deb perfsonar-java-rrd-ma-SQL_backend/src /main/java/org/perfsonar/service/measurementArchive/rrdTyp e perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/pe rfsonar/service/measurementArchive/rrdType/storage perfson ar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/s ervice/measurementArchive/rrdType/storage/sql perfsonar-ja va-rrd-ma-SQL_backend/src/main/java/org/perfsonar/servic e/measurementArchive/rrdType/storage/sql/query perfsonar-j ava-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf perfsonar-java-rrd-ma-SQL_backend/src/test/resources/pe rfsonar/conf perfsonar-java-xml-ls/soapUI
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r6249 - in trunk: perfsonar-base/messaging perfsonar-java-rrd-ma -SQL_backend perfsonar-java-rrd-ma-SQL_backend/samples /requests perfsonar-java-rrd-ma-SQL_backend/samples/rrd perfsonar-java-rrd-ma-SQL_backend/soapUI perfsonar-java- rrd-ma-SQL_backend/soapUI/rnc perfsonar-java-rrd-ma-SQL _backend/src/deb perfsonar-java-rrd-ma-SQL_backend/src /main/java/org/perfsonar/service/measurementArchive/rrdTyp e perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/pe rfsonar/service/measurementArchive/rrdType/storage perfson ar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/s ervice/measurementArchive/rrdType/storage/sql perfsonar-ja va-rrd-ma-SQL_backend/src/main/java/org/perfsonar/servic e/measurementArchive/rrdType/storage/sql/query perfsonar-j ava-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf perfsonar-java-rrd-ma-SQL_backend/src/test/resources/pe rfsonar/conf perfsonar-java-xml-ls/soapUI
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r6249 - in trunk: perfsonar-base/messaging perfsonar-java-rrd-ma -SQL_backend perfsonar-java-rrd-ma-SQL_backend/samples /requests perfsonar-java-rrd-ma-SQL_backend/samples/rrd perfsonar-java-rrd-ma-SQL_backend/soapUI perfsonar-java- rrd-ma-SQL_backend/soapUI/rnc perfsonar-java-rrd-ma-SQL _backend/src/deb perfsonar-java-rrd-ma-SQL_backend/src /main/java/org/perfsonar/service/measurementArchive/rrdTyp e perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/pe rfsonar/service/measurementArchive/rrdType/storage perfson ar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/s ervice/measurementArchive/rrdType/storage/sql perfsonar-ja va-rrd-ma-SQL_backend/src/main/java/org/perfsonar/servic e/measurementArchive/rrdType/storage/sql/query perfsonar-j ava-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf perfsonar-java-rrd-ma-SQL_backend/src/test/resources/pe rfsonar/conf perfsonar-java-xml-ls/soapUI
- Date: Wed, 17 Apr 2013 21:38:53 +0100 (BST)
- Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none
Author: dante.delvaux
Date: 2013-04-17 21:38:53 +0100 (Wed, 17 Apr 2013)
New Revision: 6249
Added:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-metadata-test.xml
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-rrd-fetch-test.xml
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/rrd/test-32.rrd
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/rrd/test-64.rrd
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/perfsonar-RRD-MA-base2-soapui-project.xml
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/filter.rnc
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/nmbase.rnc
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/nmtime.rnc
trunk/perfsonar-java-rrd-ma-SQL_backend/src/deb/perfsonar-java-rrd-ma.xml
Removed:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-random-fetch-test.xml
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-xmldb-access-test.xml
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-xmldb-content-test.xml
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/exist/
Modified:
trunk/perfsonar-base/messaging/
trunk/perfsonar-java-rrd-ma-SQL_backend/pom.xml
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/EchoServiceEngine.java
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/SetupDataServiceEngine.java
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/MysqlMetadataStorageDAOImpl.java
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/query/QueryGenerator.java
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/configuration.xml
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/rrdma_db.sql
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/test_rrdma_db.sql
trunk/perfsonar-java-rrd-ma-SQL_backend/src/test/resources/perfsonar/conf/configuration.xml
trunk/perfsonar-java-xml-ls/soapUI/perfsonar-LS-base2-soapui-project.xml
Log:
perfsonar-java-rrd-ma with SQL backend:
- re-implementing self-test functionality in the light of the SQL backend
- removing all eXist stuff as it is not used anymore (still, LS registration
is broken as pSbase2 relies on eXist)
- SQL DB: increasing size of VARCHAR to 255 of the following fields:
- interfaces.keyword
- interfaces.eventType
- interfaces.file
- adding a first draft of a full soapUI test suite
Property changes on: trunk/perfsonar-base/messaging
___________________________________________________________________
Modified: svn:ignore
- .settings
.project
.classpath
target
+ .settings
.project
.classpath
target
velocity.log*
Modified: trunk/perfsonar-java-rrd-ma-SQL_backend/pom.xml
===================================================================
--- trunk/perfsonar-java-rrd-ma-SQL_backend/pom.xml 2013-04-11 17:08:09
UTC (rev 6248)
+++ trunk/perfsonar-java-rrd-ma-SQL_backend/pom.xml 2013-04-17 20:38:53
UTC (rev 6249)
@@ -261,7 +261,7 @@
</mapper>
</data>
<data>
-
<src>packaging/deb/perfsonar-java-rrd-ma.xml</src>
+
<src>src/deb/perfsonar-java-rrd-ma.xml</src>
<type>file</type>
<mapper>
<type>perm</type>
Added:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-metadata-test.xml
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-metadata-test.xml
(rev 0)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-metadata-test.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -0,0 +1,16 @@
+<!-- $Id$ -->
+
+
+<nmwg:message type="EchoRequest"
+ id="id1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/metadata-test</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+
+</nmwg:message>
Property changes on:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-metadata-test.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Deleted:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-random-fetch-test.xml
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-random-fetch-test.xml
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-random-fetch-test.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -1,16 +0,0 @@
-<!-- $Id$ -->
-
-
-<nmwg:message type="EchoRequest"
- id="id1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/random-fetch-test</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-
-
-</nmwg:message>
Added:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-rrd-fetch-test.xml
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-rrd-fetch-test.xml
(rev 0)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-rrd-fetch-test.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -0,0 +1,16 @@
+<!-- $Id$ -->
+
+
+<nmwg:message type="EchoRequest"
+ id="id1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/rrd-fetch-test</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+
+</nmwg:message>
Property changes on:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-rrd-fetch-test.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Deleted:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-xmldb-access-test.xml
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-xmldb-access-test.xml
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-xmldb-access-test.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -1,16 +0,0 @@
-<!-- $Id$ -->
-
-
-<nmwg:message type="EchoRequest"
- id="id1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-access-test</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-
-
-</nmwg:message>
Deleted:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-xmldb-content-test.xml
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-xmldb-content-test.xml
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/requests/EchoRequest-xmldb-content-test.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -1,16 +0,0 @@
-<!-- $Id$ -->
-
-
-<nmwg:message type="EchoRequest"
- id="id1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-content-test</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-
-
-</nmwg:message>
Added: trunk/perfsonar-java-rrd-ma-SQL_backend/samples/rrd/test-32.rrd
===================================================================
(Binary files differ)
Property changes on:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/rrd/test-32.rrd
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/perfsonar-java-rrd-ma-SQL_backend/samples/rrd/test-64.rrd
===================================================================
(Binary files differ)
Property changes on:
trunk/perfsonar-java-rrd-ma-SQL_backend/samples/rrd/test-64.rrd
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/perfsonar-RRD-MA-base2-soapui-project.xml
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/perfsonar-RRD-MA-base2-soapui-project.xml
(rev 0)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/perfsonar-RRD-MA-base2-soapui-project.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -0,0 +1,1762 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<con:soapui-project activeEnvironment="Default" name="RRD MA Service"
resourceRoot="${projectDir}" soapui-version="4.5.1" abortOnError="false"
runType="SEQUENTIAL"
xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment
xmlns:con="http://eviware.com/soapui/config">
+ <con:entry key="Environment" value="Default"/>
+ <con:entry key="Global Properties" value=""/>
+ <con:entry key="TestSuite" value="<all>"/>
+ <con:entry key="Report to Generate" value=""/>
+ <con:entry key="Password" value=""/>
+ <con:entry key="soapui-setings.xml Password" value=""/>
+ <con:entry key="TestRunner Path" value=""/>
+ <con:entry key="Tool Args" value=""/>
+ <con:entry key="Ignore Errors" value="false"/>
+ <con:entry key="Host:Port" value=""/>
+ <con:entry key="WSS Password Type" value=""/>
+ <con:entry key="Save Project" value="false"/>
+ <con:entry key="Enable UI" value="false"/>
+ <con:entry key="System Properties" value=""/>
+ <con:entry key="Domain" value=""/>
+ <con:entry key="Coverage Report" value="false"/>
+ <con:entry key="Export JUnit Results" value="false"/>
+ <con:entry key="Open Report" value="false"/>
+ <con:entry key="Project Properties" value=""/>
+ <con:entry key="Project Password" value=""/>
+ <con:entry key="Export All" value="false"/>
+ <con:entry key="Report Format(s)" value=""/>
+ <con:entry key="TestCase" value="<all>"/>
+ <con:entry key="Print Report" value="false"/>
+ <con:entry key="Username" value=""/>
+ <con:entry key="Root Folder" value=""/>
+ <con:entry key="Save After" value="false"/>
+ <con:entry key="Add Settings" value="false"/>
+ <con:entry key="Endpoint" value=""/>
+</xml-fragment>]]></con:setting></con:settings><con:interface
xsi:type="con:WsdlInterface" wsaVersion="NONE"
name="MeasurementArchiveServiceSoap12Binding" type="wsdl"
bindingName="{http://service.perfsonar.org}MeasurementArchiveServiceSoap12Binding"
soapVersion="1_2" anonymous="optional"
definition="../../../../../../../Desktop/MeasurementArchiveService.xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache
type="TEXT"
rootPart="file:/Users/antoine/Desktop/MeasurementArchiveService.xml"><con:part><con:url>file:/Users/antoine/Desktop/MeasurementArchiveService.xml</con:url><con:content><![CDATA[<wsdl:definitions
targetNamespace="http://service.perfsonar.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:axis2="http://service.perfsonar.org"
xmlns:ns1="http://org.apache.axis2/xsd"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns
:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
+ <wsdl:documentation>MeasurementArchiveService</wsdl:documentation>
+ <wsdl:types/>
+ <wsdl:message name="messageRequest"/>
+ <wsdl:message name="messageResponse"/>
+ <wsdl:portType name="MeasurementArchiveServicePortType">
+ <wsdl:operation name="message">
+ <wsdl:input message="axis2:messageRequest" wsaw:Action="urn:message"/>
+ <wsdl:output message="axis2:messageResponse"
wsaw:Action="urn:messageResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="MeasurementArchiveServiceSoap11Binding"
type="axis2:MeasurementArchiveServicePortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
+ <wsdl:operation name="message">
+ <soap:operation soapAction="urn:message" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MeasurementArchiveServiceSoap12Binding"
type="axis2:MeasurementArchiveServicePortType">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
+ <wsdl:operation name="message">
+ <soap12:operation soapAction="urn:message" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MeasurementArchiveServiceHttpBinding"
type="axis2:MeasurementArchiveServicePortType">
+ <http:binding verb="POST"/>
+ <wsdl:operation name="message">
+ <http:operation location="MeasurementArchiveService/message"/>
+ <wsdl:input>
+ <mime:content type="text/xml" part="message"/>
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="message"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="MeasurementArchiveService">
+ <wsdl:port name="MeasurementArchiveServiceHttpSoap11Endpoint"
binding="axis2:MeasurementArchiveServiceSoap11Binding">
+ <soap:address
location="http://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService.MeasurementArchiveServiceHttpSoap11Endpoint/"/>
+ </wsdl:port>
+ <wsdl:port name="MeasurementArchiveServiceHttpSoap12Endpoint"
binding="axis2:MeasurementArchiveServiceSoap12Binding">
+ <soap12:address
location="http://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService.MeasurementArchiveServiceHttpSoap12Endpoint/"/>
+ </wsdl:port>
+ <wsdl:port name="MeasurementArchiveServiceHttpEndpoint"
binding="axis2:MeasurementArchiveServiceHttpBinding">
+ <http:address
location="http://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService.MeasurementArchiveServiceHttpEndpoint/"/>
+ </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://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService.MeasurementArchiveServiceHttpSoap11Endpoint</con:endpoint><con:endpoint>http://rrdma:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://rrdma-new:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
isOneWay="false" action="urn:message" name="message"
bindingOperationName="message" type="Request-Response" inputName=""
receivesAttachments="false" sendsAttachments="false"
anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@reques
t-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService.MeasurementArchiveServiceHttpSoap11Endpoint</con:endpoint><con:request><soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
+ <soap:Header/>
+ <soap:Body/>
+</soap:Envelope></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508" action="urn:message"/><con:wsrmConfig
version="1.2"/></con:call></con:operation></con:interface><con:interface
xsi:type="con:WsdlInterface" wsaVersion="NONE"
name="MeasurementArchiveServiceSoap11Binding" type="wsdl"
bindingName="{http://service.perfsonar.org}MeasurementArchiveServiceSoap11Binding"
soapVersion="1_1" anonymous="optional"
definition="../../../../../../../Desktop/MeasurementArchiveService.xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache
type="TEXT"
rootPart="file:/Users/antoine/Desktop/MeasurementArchiveService.xml"><con:part><con:url>file:/Users/antoine/Desktop/MeasurementArchiveService.xml</co
n:url><con:content><![CDATA[<wsdl:definitions
targetNamespace="http://service.perfsonar.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:axis2="http://service.perfsonar.org"
xmlns:ns1="http://org.apache.axis2/xsd"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
+ <wsdl:documentation>MeasurementArchiveService</wsdl:documentation>
+ <wsdl:types/>
+ <wsdl:message name="messageRequest"/>
+ <wsdl:message name="messageResponse"/>
+ <wsdl:portType name="MeasurementArchiveServicePortType">
+ <wsdl:operation name="message">
+ <wsdl:input message="axis2:messageRequest" wsaw:Action="urn:message"/>
+ <wsdl:output message="axis2:messageResponse"
wsaw:Action="urn:messageResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="MeasurementArchiveServiceSoap11Binding"
type="axis2:MeasurementArchiveServicePortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
+ <wsdl:operation name="message">
+ <soap:operation soapAction="urn:message" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MeasurementArchiveServiceSoap12Binding"
type="axis2:MeasurementArchiveServicePortType">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
+ <wsdl:operation name="message">
+ <soap12:operation soapAction="urn:message" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MeasurementArchiveServiceHttpBinding"
type="axis2:MeasurementArchiveServicePortType">
+ <http:binding verb="POST"/>
+ <wsdl:operation name="message">
+ <http:operation location="MeasurementArchiveService/message"/>
+ <wsdl:input>
+ <mime:content type="text/xml" part="message"/>
+ </wsdl:input>
+ <wsdl:output>
+ <mime:content type="text/xml" part="message"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="MeasurementArchiveService">
+ <wsdl:port name="MeasurementArchiveServiceHttpSoap11Endpoint"
binding="axis2:MeasurementArchiveServiceSoap11Binding">
+ <soap:address
location="http://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService.MeasurementArchiveServiceHttpSoap11Endpoint/"/>
+ </wsdl:port>
+ <wsdl:port name="MeasurementArchiveServiceHttpSoap12Endpoint"
binding="axis2:MeasurementArchiveServiceSoap12Binding">
+ <soap12:address
location="http://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService.MeasurementArchiveServiceHttpSoap12Endpoint/"/>
+ </wsdl:port>
+ <wsdl:port name="MeasurementArchiveServiceHttpEndpoint"
binding="axis2:MeasurementArchiveServiceHttpBinding">
+ <http:address
location="http://192.168.1.214:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService.MeasurementArchiveServiceHttpEndpoint/"/>
+ </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://rrdma-old:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://rrdma:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://rrdma-new:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
isOneWay="false" action="urn:message" name="message"
bindingOperationName="message" type="Request-Response" inputName=""
receivesAttachments="false" sendsAttachments="false"
anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://rrdma-old:8080/perfsonar-java-rrd-ma/services/MeasurementArc
hiveService</con:endpoint><con:request><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+ <soapenv:Header/>
+ <soapenv:Body/>
+</soapenv:Envelope></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508" action="urn:message"/><con:wsrmConfig
version="1.2"/></con:call></con:operation></con:interface><con:testSuite
name="Echo"><con:description>Echo Requests messages.
+</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="true"
maxResults="0" name="Correct requests" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false"
amfEndpoint="" amfLogin="" amfPassword=""
id="1f98dd28-d8fb-4d9a-a05d-a7dc4b377499"><con:description/><con:settings/><con:testStep
type="request" name="Echo Request"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Echo Request" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'(echo/success|success\.echo)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Metadata Test Request"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Metadata Test
Request" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+ <netutil:subject id="subj1">
+ <nmwgt:interface></nmwgt:interface>
+ </netutil:subject>
+ <!-- This will only work with RRD MA version > 3.4.2 -->
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/metadata-test</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'metadata-test/success')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="RRD Fetch Test Request"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="RRD Fetch Test Req
uest" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+ <netutil:subject id="subj1">
+ <nmwgt:interface></nmwgt:interface>
+ </netutil:subject>
+ <!-- This will only work with RRD MA version > 3.4.2 -->
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/rrd-fetch-test</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'rrd-fetch-test/success')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Selftest DBConnection=yes"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Selftest DBCon
nection=yes" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Selftest DBConnection=true"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Selftest DBConnection=true" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-h
eaders"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="true"/>
+
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="37d70fe9-6ad2-4921-8e2f-2997bd455bd2"/><con:assertion type="SOAP Fault
Assertion" id="e5d89c4a-04c8-427e-a9e6-c798756b4c0d"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="dc151818-d58c-48fb-b9a2-fcc2667e73c1"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Selftest DBConnection=test"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Selftest DBConnection=test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-h
eaders"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="test"/>
+
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="70a03d23-c653-4341-a51e-48f585634534"/><con:assertion type="SOAP Fault
Assertion" id="04167252-5340-4ab0-9c7d-29b8f0fbb031"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="75d8ccfe-24cb-4ffb-95f5-04eb49a0bd13"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Selftest DBSchema=true"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Selftest DBSchema=true" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+
+ <nmwg:parameter name="testDBSchema" value="true"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="cd4d7983-b208-46c8-809b-a27b9aadbfbd"/><con:assertion type="SOAP Fault
Assertion" id="1910d792-0b05-4a9e-9ab8-d9aae9beff05"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="c1efcf39-545a-466e-998e-74900712e1aa"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Selftest DBSchema=test"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Selftest DBSchema=test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+
+ <nmwg:parameter name="testDBSchema" value="test"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="8800d0a0-93b7-456c-8790-50abaa4afb2f"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Selftest DBSchema=yes"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Selftest DBSchema=yes" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&l
t;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="8800d0a0-93b7-456c-8790-50abaa4afb2f"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Selftest
DBConnectionSchema=yes"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Selftest DBConnectionSchema=yes" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="8800d0a0-93b7-456c-8790-50abaa4afb2f"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Echo
LoadTest"><con:settings/><con:threadCount>32</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>30</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step Status"/><c
on:maxAssertionErrors>100</con:maxAssertionErrors><con:statisticsLogFolder/><con:statisticsLogInterval>0</con:statisticsLogInterval><con:logStatisticsOnThreadChange>false</con:logStatisticsOnThreadChange><con:cancelOnReachedLimit>false</con:cancelOnReachedLimit><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:updateStatisticsPerTestStep>false</con:updateStatisticsPerTestStep></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed requests" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="275cddf0-d446-441f-b30e-f074d5288d23"><con:settings/><con:testStep
type="request" name="2.5.2.2.1 - No nmwg:data"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:inte
rface><con:operation>message</con:operation><con:request name="2.5.2.2.1 -
No nmwg:data" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ <nmwg:parameters>
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.2.2 - No nmwg:metadata"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operati
on><con:request name="2.5.2.2.2 - No nmwg:metadata" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.2.3 - Bad message type"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operati
on><con:request name="2.5.2.2.3 - Bad message type" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="BadMsgType" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ <nmwg:parameters>
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/message_type_not_support|\.common\.action_not_supported)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.2.4 - Bad eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:ope
ration><con:request name="2.5.2.2.4 - Bad eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/badecho/2.0</nmwg:eventType>
+ <nmwg:parameters>
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'query_exception')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.2.5 - Selftest No metadata/data
pair"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2
.2.5 - Selftest No metadata/data pair" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+<!-- Bad metadataIdRef -->
+ <nmwg:data id="data" metadataIdRef="badref"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="a0ec7d20-ca38-40c2-8643-afa21b486ce0"
><con:settings/><con:testStep type="request" name="2.5.2.3.0 - Echo
>Request"><con:settings/><con:config xsi:type="con:RequestStep"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
> name="2.5.2.3.0 - Echo Request" outgoingWss=""
>incomingWss=""><con:settings><con:setting
>id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'(echo/success|success\.echo)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.3.1 - Selftest bad DBSchema
!"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name=
"2.5.2.3.1 - Selftest bad DBSchema !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+<!-- Bad parameter -->
+ <nmwg:parameter name="testDBSchema"
value="fdqs">fqfdsq</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="8800d0a0-93b7-456c-8790-50abaa4afb2f"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("success.ls")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes == 0
+assert noOfbadEventTypes >=
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.3.2 - Selftest bad DBConnection
!"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.2 - Selftest bad DBConnection !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="bad"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("success.ls")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes == 0
+assert noOfbadEventTypes >
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.3.3 - Selftest bad parameter
!"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.3 - Selftest bad parameter !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.Ws
dlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="badTest" value="yes"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion -
Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("success.ls")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes == 0
+assert noOfbadEventTypes >
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testSuite
name="Metadata
Queries"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct requests" searchProperties="true"
id="28c1cfbf-5aa0-418d-9051-698985339cc4"><con:settings/><con:testStep
type="request" name="MetadataKeyRequest -
utilization"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:inte
rface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="MetadataKeyRequest - utilization"><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MetadataKeyRequest" id="mdrq1"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+Â
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+Â
+ <nmwg:data id="data1" metadataIdRef="meta1"/>
+Â
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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="MetadataKeyRequest - errors"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="MetadataKeyRequest - errors"><
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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MetadataKeyRequest" id="mdrq1"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+Â
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/errors/2.0
+ </nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+Â
+ <nmwg:data id="data1" metadataIdRef="meta1"/>
+Â
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/errors/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
.="http://ggf.org/ns/nmwg/characteristic/errors/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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="MetadataKeyRequest -
discards"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="MetadataKeyRequest - discards"><c
on: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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MetadataKeyRequest" id="mdrq1"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+Â
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/discards/2.0
+ </nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+Â
+ <nmwg:data id="data1" metadataIdRef="meta1"/>
+Â
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/discards/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
.="http://ggf.org/ns/nmwg/characteristic/discards/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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="MetadataKeyRequest - SNMP"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="MetadataKeyRequest - SNMP"><con:set
tings><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MetadataKeyRequest" id="mdrq1"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+Â
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+ <!-- This eventType is not recognised by RRD MA > v3.4 (only RRD MA with
eXist DB supports it -->
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/tools/snmp/2.0
+ </nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+Â
+ <nmwg:data id="data1" metadataIdRef="meta1"/>
+Â
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata eventType
(3)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/tools/snmp/2.0"])</path><content>3</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - result
(3)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
.="http://ggf.org/ns/nmwg/tools/snmp/2.0"])</path><content>3</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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="MetadataKeyRequest - NotImplemented"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="MetadataKeyRequest - N
otImplemented"><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MetadataKeyRequest" id="mdrq1"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+Â
+ <nmwg:metadata id="meta1">
+ <nmwg:key>
+ <!-- This should be a valid request -->
+ <!-- Doesn't work with v3.3 and up -->
+ <!-- See 2.1.3 n Interface_Specification.doc -->
+ <nmwg:parameters id="param1">
+ <nmwg:parameter name="file">
+
/usr/lib/perfsonar/services/perfsonar-java-rrd-ma/WEB-INF/samples/rrd/test.rrd
+ </nmwg:parameter>
+ <nmwg:parameter name="dataSource">ds0</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType">
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+Â
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1148370000</nmwg:parameter>
+ <nmwg:parameter name="endTime">1148373000</nmwg:parameter>
+ <nmwg:parameter name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+ <nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+Â Â
+ <nmwg:data id="data1" metadataIdRef="meta1"/>
+Â
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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="MetadataKeyRequest - All Interfaces"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="Metada
taKeyRequest - All Interfaces"><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/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MetadataKeyRequest" id="mdrq1"
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/error/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+Â
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <!-- This should return all interfaces configured in the RRD MA -->
+ <!-- Doesn't work with v3.3 and up -->
+ <!-- See 2.1.3 in Interface_Specification.doc -->
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/error/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+Â
+ <nmwg:data id="data1" metadataIdRef="meta1"/>
+Â
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed requests"
searchProperties="true"><con:settings/><con:properties/></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="I
nvalid data"
searchProperties="true"><con:settings/><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Data
Queries"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct requests" searchProperties="true"
id="6ccb1d64-1fa0-4789-b154-e0224e27ab0a"><con:settings/><con:testStep
type="request" name="SetupDataRequest - interface"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="SetupDataRequest - interface"><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/perfsonar-java-rrd-ma/services/MeasurementArchive
Service</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="SetupDataRequest" id="datarq2-1"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+Â
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <!-- This should return 2 data elements, in and out -->
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">
+ project:geant2
+ </nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+Â
+ <nmwg:metadata id="meta2">
+ <select:subject id="subj2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ </select:parameters>
+ <nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+
+Â </nmwg:message> </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>2</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - count data
(2)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data)</path><content>2</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - count parameters
(5)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:parameters/nmwg:parameter)</path><content>10</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - count datum
(14)"><con:configuration><scriptText>// We should check that:
+// - we have a two nmwg:metadata elements
+// - we have some nmwg:data correctly linked to the corresponding metadata
+// - the IP address inside the metadata elements, matches that of the request
+// - the eventType inside the metadata elements, matches that of the request
+// - the keyword inside the metadata elements, matches that of the request
+
+import com.eviware.soapui.support.XmlHolder
+
+def ResponseHolder = new XmlHolder( messageExchange.responseContentAsXml )
+def RequestHolder = new XmlHolder( messageExchange.requestContentAsXml )
+ResponseHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+ResponseHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+ResponseHolder.namespaces["nmwgr"]="http://ggf.org/ns/nmwg/result/2.0/"
+ResponseHolder.namespaces["netutil"]="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ResponseHolder.namespaces["nmwgt"]="http://ggf.org/ns/nmwg/topology/2.0/"
+RequestHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+RequestHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+RequestHolder.namespaces["perfsonar"]="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+RequestHolder.namespaces["netutil"]="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+RequestHolder.namespaces["nmwgt"]="http://ggf.org/ns/nmwg/topology/2.0/"
+
+// Get the interface IP address from the Request
+def ipAddress =
RequestHolder.getNodeValue('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress')
+// Get the eventType from the Request (must be a single eventType)
+def eventType =
RequestHolder.getNodeValue('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType')
+// Get the keyword from the Request (must be a single keyword)
+def keyword =
RequestHolder.getNodeValue('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="keyword"]')
+
+// Check the metadata elements and get the metadataIdRef
+metadata =
ResponseHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata')
+// We should have two elements in response (in and out)
+assert metadata.size() == 2
+
+metadata.each {
+ // Check that we have only one interface per metadata element
+ metadataIdRef = it.getAttribute("id")
+
+ // Count the number of datums
+ datums =
ResponseHolder.getDomNodes('//nmwg:data[@metadataIdRef="'+metadataIdRef+'"]/netutil:datum')
+ assert datums.size() == 14
+
+}
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - count datum (14)"
disabled="true"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="meta1"]/netutil:datum</path><content/><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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="SetupDataRequest - key"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="SetupDataRequest - key"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></co
n:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message id="msg3"
+ type="SetupDataRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
+Â
+<!-- This request should be working with the test.rrd file given in the RRD
MA pacakge -->
+ <nmwg:metadata id="meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="file">/usr/lib/perfsonar/services/perfsonar-java-rrd-ma/WEB-INF/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+Â
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <!-- Optional parameters -->
+ <nmwg:parameter name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">300</nmwg:parameter>
+ </select:parameters>
+ <nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+Â
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+Â
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]</path><content><nmwg:parameter
name="eventType" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:parameter></content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - count data
(1)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - count datum
(14)"><con:configuration><scriptText>// We should check that:
+// - we have a two nmwg:metadata elements
+// - we have some nmwg:data correctly linked to the corresponding metadata
+// - the IP address inside the metadata elements, matches that of the request
+// - the eventType inside the metadata elements, matches that of the request
+// - the keyword inside the metadata elements, matches that of the request
+
+import com.eviware.soapui.support.XmlHolder
+
+def ResponseHolder = new XmlHolder( messageExchange.responseContentAsXml )
+def RequestHolder = new XmlHolder( messageExchange.requestContentAsXml )
+ResponseHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+ResponseHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+ResponseHolder.namespaces["nmwgr"]="http://ggf.org/ns/nmwg/result/2.0/"
+ResponseHolder.namespaces["netutil"]="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ResponseHolder.namespaces["nmwgt"]="http://ggf.org/ns/nmwg/topology/2.0/"
+RequestHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+RequestHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+RequestHolder.namespaces["perfsonar"]="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+RequestHolder.namespaces["netutil"]="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+RequestHolder.namespaces["nmwgt"]="http://ggf.org/ns/nmwg/topology/2.0/"
+
+// Get the interface IP address from the Request
+def ipAddress =
RequestHolder.getNodeValue('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress')
+// Get the eventType from the Request (must be a single eventType)
+def eventType =
RequestHolder.getNodeValue('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType')
+// Get the keyword from the Request (must be a single keyword)
+def keyword =
RequestHolder.getNodeValue('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="keyword"]')
+
+// Check the metadata elements and get the metadataIdRef
+metadata =
ResponseHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata')
+// We should have a single element in response
+assert metadata.size() == 1
+
+metadata.each {
+ // Check that we have only one interface per metadata element
+ metadataIdRef = it.getAttribute("id")
+
+ // Count the number of datums
+ datums =
ResponseHolder.getDomNodes('//nmwg:data[@metadataIdRef="'+metadataIdRef+'"]/netutil:datum')
+ assert datums.size() == 14
+
+}
+</scriptText></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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="SetupDataRequest - chain"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="SetupDataRequest -
chain"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+ <soapenv:Header/>
+ <soapenv:Body/>
+</soapenv:Envelope></con:request><con:assertion type="SOAP
Response"/><con:credentials><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed requests"
searchProperties="true"><con:settings/><con:properties/></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data"
searchProperties="true"><con:settings/><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Store
Requests"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name=
"Correct requests" searchProperties="true"><con:settings/><con:testStep
type="request" name="MeasurementArchiveStoreRequest - interface -
NotImplemented" disabled="true"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="MeasurementArchiveStoreRequest - interface -
NotImplemented"><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://rrdma-old:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message id="msg4"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+Â
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test descripyion</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+Â
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345" timeValue="1186739400" timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+Â
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>2</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - count data
(2)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data)</path><content>2</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - count parameters
(5)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="meta1"]/nmwg:parameters/nmwg:parameter)</path><content>5</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script
Assertion"><con:configuration><scriptText>// We should check that:
+// - we have a two nmwg:metadata elements
+// - we have some nmwg:data correctly linked to the corresponding metadata
+// - the eventType inside the data elements, matches that of the metadata
+
+import com.eviware.soapui.support.XmlHolder
+
+def ResponseHolder = new XmlHolder( messageExchange.responseContentAsXml )
+def RequestHolder = new XmlHolder( messageExchange.requestContentAsXml )
+ResponseHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+ResponseHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+ResponseHolder.namespaces["nmwgr"]="http://ggf.org/ns/nmwg/result/2.0/"
+RequestHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+RequestHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+RequestHolder.namespaces["perfsonar"]="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+RequestHolder.namespaces["psservice"]="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/"
+
+// Get the accessPoint names from the Request
+// In GEANT implementation, each of those should be a key in the LSstore
(but it's not mandatory as per the protocol), so we can drop the test
+def apKeys =
RequestHolder.getNodeValues('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/perfsonar:subject/psservice:service/psservice:accessPoint')
+
+// Check the metadata element and get the metadataIdRef
+metadata =
ResponseHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata')
+assert metadata.size() == 2
+
+metadata.each {
+ // Check we have only one lsKey per metadata element
+ metadataIdRef = it.getAttribute("id")
+ lsKeys =
ResponseHolder.getDomNodes('//nmwg:metadata[@id="'+metadataIdRef+'"]/nmwg:key/nmwg:parameters/nmwg:parameter[@name="lsKey"]')
+ assert lsKeys.size() == 1
+ lsKey = lsKeys[0].getAttribute("value")
+
+ // Check that the lsKey matches the one in the data element
+ // ... not sure it's mandatory, but it work both for GEANT and
Internet2 implementations
+ data =
ResponseHolder.getDomNode('//nmwg:data[@metadataIdRef="'+metadataIdRef+'"]')
+ assert data.toString().contains(lsKey)
+
+ // From the response message, we have no way to be sure the data is
actually present in the DB
+}
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - count datum (14)"
disabled="true"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="meta1"]/netutil:datum</path><content/><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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="MeasurementArchiveStoreRequest - key - NotImplemented"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveServiceSoap11Binding</con:interface><con:operation>message</con:operation><con:request
name="MeasurementArchiveStoreRequest - key -
NotImplemented"><con:settings><con:setting id="co
m.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://rrdma-old:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message id="msg5"
+ type="MeasurementArchiveStoreRequest"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" >
+
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="keyid">
+ <nmwg:parameters id="param1">
+ <nmwg:parameter name="file">
+ /tmp/perfsonar/data/rrd/test.rrd
+ </nmwg:parameter>
+ <nmwg:parameter name="dataSource">bytes</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1"
+ metadataIdRef="meta1"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/">
+ <netutil:datum value="12345" timeValue="1168000304" timeType="unix" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>2</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - count data
(2)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data)</path><content>2</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - count parameters
(5)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="meta1"]/nmwg:parameters/nmwg:parameter)</path><content>5</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script
Assertion"><con:configuration><scriptText>// We should check that:
+// - we have a two nmwg:metadata elements
+// - we have some nmwg:data correctly linked to the corresponding metadata
+// - the eventType inside the data elements, matches that of the metadata
+
+import com.eviware.soapui.support.XmlHolder
+
+def ResponseHolder = new XmlHolder( messageExchange.responseContentAsXml )
+def RequestHolder = new XmlHolder( messageExchange.requestContentAsXml )
+ResponseHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+ResponseHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+ResponseHolder.namespaces["nmwgr"]="http://ggf.org/ns/nmwg/result/2.0/"
+RequestHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+RequestHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+RequestHolder.namespaces["perfsonar"]="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+RequestHolder.namespaces["psservice"]="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/"
+
+// Get the accessPoint names from the Request
+// In GEANT implementation, each of those should be a key in the LSstore
(but it's not mandatory as per the protocol), so we can drop the test
+def apKeys =
RequestHolder.getNodeValues('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/perfsonar:subject/psservice:service/psservice:accessPoint')
+
+// Check the metadata element and get the metadataIdRef
+metadata =
ResponseHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata')
+assert metadata.size() == 2
+
+metadata.each {
+ // Check we have only one lsKey per metadata element
+ metadataIdRef = it.getAttribute("id")
+ lsKeys =
ResponseHolder.getDomNodes('//nmwg:metadata[@id="'+metadataIdRef+'"]/nmwg:key/nmwg:parameters/nmwg:parameter[@name="lsKey"]')
+ assert lsKeys.size() == 1
+ lsKey = lsKeys[0].getAttribute("value")
+
+ // Check that the lsKey matches the one in the data element
+ // ... not sure it's mandatory, but it work both for GEANT and
Internet2 implementations
+ data =
ResponseHolder.getDomNode('//nmwg:data[@metadataIdRef="'+metadataIdRef+'"]')
+ assert data.toString().contains(lsKey)
+
+ // From the response message, we have no way to be sure the data is
actually present in the DB
+}
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - count datum (14)"
disabled="true"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="meta1"]/netutil:datum</path><content/><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP Settings</con:authType></con:credentials><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:sensitiveInformation/></con:soapui-project>
\ No newline at end of file
Property changes on:
trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/perfsonar-RRD-MA-base2-soapui-project.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/filter.rnc
===================================================================
--- trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/filter.rnc
(rev 0)
+++ trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/filter.rnc
2013-04-17 20:38:53 UTC (rev 6249)
@@ -0,0 +1,162 @@
+# ##############################################################
+#
+# File: filter.rnc - Extensions to support different
+# namespaced parameters.
+# Version: $Id$
+# Purpose: This extension to the basic parameters could be
+# used to help make any implementation code decide
+# on unmarshalling how to handle special cases.
+# Our particular purpose with these constructs is
+# to apply database or statistical operations to
+# datasets.
+# Reference: http://books.xmlschemata.org/relaxng/page2.html
+#
+# ##############################################################
+
+
+# ##############################################################
+# Namespace definitions
+# ##############################################################
+namespace select = "http://ggf.org/ns/nmwg/ops/select/2.0/"
+namespace average = "http://ggf.org/ns/nmwg/ops/average/2.0/"
+namespace mean = "http://ggf.org/ns/nmwg/ops/mean/2.0/"
+namespace median = "http://ggf.org/ns/nmwg/ops/median/2.0/"
+namespace max = "http://ggf.org/ns/nmwg/ops/max/2.0/"
+namespace min = "http://ggf.org/ns/nmwg/ops/min/2.0/"
+namespace cdf = "http://ggf.org/ns/nmwg/ops/cdf/2.0/"
+namespace histogram = "http://ggf.org/ns/nmwg/ops/histogram/2.0/"
+
+
+# ##############################################################
+# TBD
+#
+# Example (using select):
+#
+#
+# ##############################################################
+
+FilterMetadataBlock =
+ (
+ SelectSubject? &
+ (
+ SelectParameters |
+ Parameters
+ )?
+ ) |
+ (
+ AverageSubject? &
+ (
+ AverageParameters |
+ Parameters
+ )?
+ ) |
+ (
+ MeanSubject? &
+ (
+ MeanParameters |
+ Parameters
+ )?
+ ) |
+ (
+ MedianSubject? &
+ (
+ MedianParameters |
+ Parameters
+ )?
+ ) |
+ (
+ MaxSubject? &
+ (
+ MaxParameters |
+ Parameters
+ )?
+ ) |
+ (
+ MinSubject? &
+ (
+ MinParameters |
+ Parameters
+ )?
+ ) |
+ (
+ CDFSubject? &
+ (
+ CDFParameters |
+ Parameters
+ )?
+ ) |
+ (
+ HistogramSubject? &
+ (
+ HistogramParameters |
+ Parameters
+ )?
+ )
+
+FilterParameters =
+ (
+ SelectParameters |
+ AverageParameters |
+ MeanParameters |
+ MedianParameters |
+ MaxParameters |
+ MinParameters |
+ CDFParameters |
+ HistogramParameters
+ )
+
+
+SelectSubject =
+ element select:subject { SubjectContent }
+
+SelectParameters =
+ element select:parameters { ParametersContent }
+
+
+AverageSubject =
+ element average:subject { SubjectContent }
+
+AverageParameters =
+ element average:parameters { ParametersContent }
+
+
+MeanSubject =
+ element mean:subject { SubjectContent }
+
+MeanParameters =
+ element mean:parameters { ParametersContent }
+
+
+MedianSubject =
+ element median:subject { SubjectContent }
+
+MedianParameters =
+ element median:parameters { ParametersContent }
+
+
+MaxSubject =
+ element max:subject { SubjectContent }
+
+MaxParameters =
+ element max:parameters { ParametersContent }
+
+
+MinSubject =
+ element min:subject { SubjectContent }
+
+MinParameters =
+ element min:parameters { ParametersContent }
+
+
+CDFSubject =
+ element cdf:subject { SubjectContent }
+
+CDFParameters =
+ element cdf:parameters { ParametersContent }
+
+
+HistogramSubject =
+ element histogram:subject { SubjectContent }
+
+HistogramParameters =
+ element histogram:parameters { ParametersContent }
Added: trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/nmbase.rnc
===================================================================
--- trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/nmbase.rnc
(rev 0)
+++ trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/nmbase.rnc
2013-04-17 20:38:53 UTC (rev 6249)
@@ -0,0 +1,441 @@
+# ##############################################################
+#
+# File: nmbase.rnc - Main schema definition
+# Version: $Id$
+# Purpose: This is the main schema file, it defines the
+# general structure of an NMWG message or store
+#
+# ##############################################################
+
+
+# ##############################################################
+# Namespace definitions
+# ##############################################################
+namespace nmwg = "http://ggf.org/ns/nmwg/base/2.0/"
+
+
+# ##############################################################
+# Include additional functionality from other files
+# ##############################################################
+include "nmtime.rnc"
+include "filter.rnc"
+
+# ##############################################################
+# Every NMWG document should begin with either a 'store' or
+# 'message' element
+# Patterns are defined for the content of each element.
+#
+# Example (using message):
+#
+# <nmwg:message id="OPTIONAL_ID"
+# messageIdRef="OPTIONAL_REFERENCE_ID"
+# type="REQUIRED_TYPE"
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- OPTIONAL PARAMETERS -->
+#
+# <!-- OPTIONAL (MULTIPLE) METADATA -->
+#
+# <!-- OPTIONAL (MULTIPLE) DATA -->
+#
+# </nmwg:message>
+#
+# ##############################################################
+
+start =
+ (
+ element nmwg:message {
+ MessageContent
+ } |
+ element nmwg:store {
+ StoreContent
+ }
+ )
+
+MessageContent =
+ Identifier? &
+ MessageIdentifierRef? &
+ Type &
+ Parameters? &
+ (
+ Metadata |
+ Data
+ )+
+
+
+StoreContent =
+ Identifier? &
+ MessageIdentifierRef? &
+ Type &
+ Parameters? &
+ (
+ Metadata |
+ Data
+ )+
+
+
+# ##############################################################
+# Metadata is the information that describes data. This
+# information doesn't change over time
+#
+#
+# Example:
+#
+# <nmwg:metadata id="REQUIRED_ID"
+# metadataIdRef="OPTIONAL_REFERENCE_ID"
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- TBD OPTIONAL SUBJECT -->
+#
+# <!-- TBD OPTIONAL PARAMETERS -->
+#
+# <!-- TBD OPTIONAL EVENTTYPE -->
+#
+# <!-- TBD OPTIONAL KEY -->
+#
+# <!-- ANY OPTIONAL (MULTIPLE) ELEMENT IN ANY NAMESPACE -->
+#
+# </nmwg:metadata>
+#
+# ##############################################################
+
+Metadata =
+ element nmwg:metadata {
+ (
+ Identifier &
+ MetadataIdentifierRef? &
+ MetadataContent
+ ),
+ anyElement*
+ }
+
+MetadataBlock =
+ Subject? &
+ Parameters?
+
+MetadataContent =
+ (
+ MetadataBlock |
+ FilterMetadataBlock
+ ) &
+ EventType? &
+ Key?
+
+
+# ##############################################################
+# Subject identifies an endPoint (or points), perhaps the name of
+# a service or some other form of physical location. For the
+# purpose of the general case, we make no assumptions on potential
+# elements and allow all elements, in any namespace. Verification
+# can be handled in subsequent schema files.
+#
+# Example:
+#
+# <nmwg:subject id="REQUIRED_ID"
+# metadataIdRef="OPTIONAL_REFERENCE_ID"
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- ANY ELEMENT IN ANY NAMESPACE -->
+#
+# </nmwg:subject>
+#
+# ##############################################################
+
+Subject =
+ element nmwg:subject {
+ SubjectContent
+ }
+
+SubjectContent =
+ (
+ Identifier &
+ MetadataIdentifierRef?
+ ),
+ anyElement*
+
+
+# ##############################################################
+# Parameters and Parameter elements can be used in a number of
+# ways in: 1) the message to signify items such as time stamp
+# or authorization or 2) metadata or data to specify filters or
+# special cases for the information. A 'parameters' block
+# has an id and encloses one to many 'parameter' elements.
+# These elements have a required 'name', and may contain
+# an attribute, element, or text value (only one please;
+# software using this should consider complex elements, then
+# text, and finally the value attribute; exceptions should
+# be thrown on duplicates).
+#
+# Example:
+#
+# <nmwg:parameters id="REQUIRED_ID"
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <nmwg:parameter name="REQUIRED_NAME" value="OPTIONAL_VALUE"
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- ANY TEXT, OR ANY ELEMENT ANY NAMESPACE (IF YOU DID NOT
+# USE THE VALUE ATTRIBUTE) -->
+#
+# </nmwg:parameter>
+#
+# <!-- MORE PARAMETERS -->
+#
+# </nmwg:parameters>
+#
+# The namespaces can of course be different.
+#
+# ##############################################################
+
+Parameters =
+ element nmwg:parameters {
+ ParametersContent
+ }
+
+ParametersContent =
+ Identifier &
+ Parameter+
+
+Parameter =
+ element nmwg:parameter {
+ attribute name { xsd:string } &
+ (
+ attribute value { xsd:string } |
+ (
+ anyElement |
+ text
+ )
+ )
+ }
+
+
+# ##############################################################
+# Event type is a simple text element used to describe the
+# characteristic or event of the data.
+#
+# Example:
+#
+# <nmwg:eventType xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- TEXT -->
+#
+# </nmwg:eventType>
+#
+# ##############################################################
+
+EventType =
+ element nmwg:eventType { xsd:string }
+
+
+# ##############################################################
+# The key is used to return a 'pointer' or otherwise special piece
+# of identifying information in response to a request. For now,
+# this information is enclosed only within a parameters block.
+# The optional ID can be used to track past searches.
+#
+# Example:
+#
+# <nmwg:key id="OPTIONAL_ID"
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- OPTIONAL PARAMETERS -->
+#
+# </nmwg:key>
+#
+# ##############################################################
+
+Key =
+ element nmwg:key {
+ Identifier? &
+ (
+ Parameters |
+ FilterParameters
+ )
+ }
+
+
+# ##############################################################
+# The data block is complex and has the potential to contain
+# many things. The data block can be used to return a metadata
+# block from a request, commonTime or datum elements, keys,
+# or something that we have perhaps not defined as of yet.
+#
+# Example:
+#
+# <nmwg:data id="REQUIRED_ID"
+# metadataIdRef="OPTIONAL_REFERENCE_ID"
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- OPTIONAL (MULTIPLE) METADATA -->
+#
+# <!-- OR -->
+#
+# <!-- TBD OPTIONAL (MULTIPLE) COMMON TIME ELEMENTS AND
+# OPTIONAL (MULTIPLE) DATUM ELEMENTS-->
+#
+# <!-- OR -->
+#
+# <!-- TBD OPTIONAL (MULTIPLE) DATUM ELEMENTS -->
+#
+# <!-- OR -->
+#
+# <!-- OPTIONAL (MULTIPLE) KEY ELEMENTS -->
+#
+# <!-- OR -->
+#
+# <!-- ANY OPTIONAL (MULTIPLE) ELEMENT IN ANY NAMESPACE -->
+#
+# </nmwg:data>
+#
+# ##############################################################
+
+Data =
+ element nmwg:data {
+ (
+ Identifier &
+ MetadataIdentifierRef? &
+ (
+ Metadata* |
+ (
+ commonTime+ &
+ Datum*
+ ) |
+ Datum* |
+ Key*
+ )
+ ),
+ anyElement*
+ }
+
+# ##############################################################
+# CommonTime is used as a shortcut that is able to 'factor out'
+# a frequently occurring time range that a group of datum (or
+# other) elements might share, thus reducing the verbosity of the
+# XML representation. CommonTime is similar to the other NMWG time
+# stamps (from nmtime.rnc) in its potential time representations.
+#
+# It is unfortunate that it needs to be in this file and not
+# nmtime.rnc, but as it occurs outside the datum, it is here.
+#
+# Example:
+#
+# <nmwg:commonTime type="REQUIRED_TYPE" value="OPTIONAL_VALUE"
+# duration="OPTIONAL_DURATION"
+# inclusive="OPTIONAL_INCLUSIVE_FLAG"
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- TBD OPTIONAL START TIME ELEMENT (USE END TIME OR
+# DURATION) -->
+#
+# <!-- TBD OPTIONAL END TIME ELEMENT (ONLY WITH START TIME) -->
+#
+# <!-- TBD OPTIONAL TIME VALUE ELEMENT (USE IF NO VALUE
+# ATTRIBUTE) -->
+#
+# <!-- TBD OPTIONAL (MULTIPLE) DATUM ELEMENTS -->
+#
+# <!-- ANY OPTIONAL (MULTIPLE) ELEMENT IN ANY NAMESPACE -->
+# </nmwg:commonTime>
+#
+# ##############################################################
+
+commonTime =
+ element nmwg:commonTime {
+ (
+ Type &
+ (
+ TimeStamp |
+ (
+ StartTime &
+ (
+ EndTime |
+ Duration
+ )
+ )
+ ) &
+ Datum*
+ ),
+ anyElement*
+ }
+
+
+# ##############################################################
+# The datum is meant to be generic in this case because specific
+# namespace declarations should be used to better define what
+# format that datum should have.
+#
+# Example:
+#
+# <nmwg:datum ANY_ATTRIBUTE
+# xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+#
+# <!-- ANY ELEMENT IN ANY NAMESPACE OR ANY TEXT -->
+#
+# </nmwg:datum>
+#
+# ##############################################################
+
+Datum =
+ element nmwg:datum {
+ anyThing
+ }
+
+
+# ##############################################################
+# Common elements are defined as named patterns as they are re-
+# used several times.
+# ##############################################################
+
+Identifier =
+ attribute id { xsd:string }
+
+MetadataIdentifierRef =
+ attribute metadataIdRef { xsd:string }
+
+MessageIdentifierRef =
+ attribute messageIdRef { xsd:string }
+
+Type =
+ attribute type { xsd:string }
+
+
+# ##############################################################
+# This sequence allows any element, attribute, or text (regardless
+# of name or namespace) into the document when invoked.
+# ##############################################################
+
+anyElement =
+ element * {
+ anyThing
+ }
+
+anyAttribute =
+ attribute * { text }
+
+anyThing =
+ (
+ anyElement |
+ anyAttribute |
+ text
+ )*
+
+
+# ##############################################################
+# This sequence allows any element, attribute, or text (only in the
+# NMWG namespace) into the document when invoked.
+# ##############################################################
+
+anyNMWGElement =
+ element nmwg:* {
+ anyNMWGThing
+ }
+
+anyNMWGAttribute =
+ attribute * { text }
+
+anyNMWGThing =
+ (
+ anyNMWGElement |
+ anyNMWGAttribute |
+ text
+ )*
Added: trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/nmtime.rnc
===================================================================
--- trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/nmtime.rnc
(rev 0)
+++ trunk/perfsonar-java-rrd-ma-SQL_backend/soapUI/rnc/nmtime.rnc
2013-04-17 20:38:53 UTC (rev 6249)
@@ -0,0 +1,154 @@
+# ##############################################################
+#
+# File: nmtime.rnc - NMWG Time definitions
+# Version: $Id$
+# Purpose: This describes a set of time formats for
+# representing measurements.
+#
+# ##############################################################
+
+
+# ##############################################################
+# Namespace definitions
+# ##############################################################
+namespace nmtm = "http://ggf.org/ns/nmwg/time/20070914/"
+
+
+# ##############################################################
+# Regular time is attached to a specific datum instance; it is
+# essentially the same as before, but cannot have anything
+# 'inside' of it. The type can be simple, like UNIX, or it
+# could be something like timeRange or timeInterval. If this is
+# the case, we would then see the two extra time designators for
+# the start and end (or duration)
+#
+# Example:
+#
+# <nmtm:time type="REQUIRED_TYPE" value="OPTIONAL_VALUE"
+# duration="OPTIONAL_DURATION"
+# inclusive="OPTIONAL_INCLUSIVE_FLAG"
+# xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/">
+#
+# <!-- TBD OPTIONAL START TIME ELEMENT (USE END TIME OR
+# DURATION) -->
+#
+# <!-- TBD OPTIONAL END TIME ELEMENT (ONLY WITH START TIME) -->
+#
+# <!-- TBD OPTIONAL TIME VALUE ELEMENT (USE IF NO VALUE
+# ATTRIBUTE) -->
+#
+# </nmtm:time>
+#
+#
+# Time types are enumerated as follows:
+#
+# * unix: integral seconds since Jan 1, 1970 (UTC)
+#
+# * iso9601/rfc3339:
+#
+# full date/time representation. Examples from RFC-339:
+#
+# Here are some examples of Internet date/time format.
+#
+# 1985-04-12T23:20:50.52Z
+#
+# This represents 20 minutes and 50.52 seconds after the 23rd hour of
+# April 12th, 1985 in UTC.
+#
+# 1996-12-19T16:39:57-08:00
+#
+# This represents 39 minutes and 57 seconds after the 16th hour of
+# December 19th, 1996 with an offset of -08:00 from UTC (Pacific
+# Standard Time). Note that this is equivalent to
1996-12-20T00:39:57Z
+# in UTC.
+#
+# 1990-12-31T23:59:60Z
+#
+# This represents the leap second inserted at the end of 1990.
+#
+# 1990-12-31T15:59:60-08:00
+#
+# This represents the same leap second in Pacific Standard Time, 8
+# hours behind UTC.
+#
+# 1937-01-01T12:00:27.87+00:20
+#
+# This represents the same instant of time as noon, January 1, 1937,
+# Netherlands time. Standard time in the Netherlands was exactly 19
+# minutes and 32.13 seconds ahead of UTC by law from 1909-05-01
through
+# 1937-06-30. This time zone cannot be represented exactly using the
+# HH:MM format, and this timestamp uses the closest representable UTC
+# offset.
+#
+# ##############################################################
+
+Time =
+ element nmtm:time {
+ attribute type { xsd:string } &
+ (
+ TimeStamp |
+ (
+ StartTime &
+ (
+ EndTime |
+ Duration
+ )
+ )
+ )
+ }
+
+# precisionUnits must be one of the recognized SI units
+# The most complete list I could currently find is at:
+# http://en.wikipedia.org/wiki/Orders_of_magnitude_%28time%29
+#
+# synchronized SHOULD be set true if the party generating the timestamp
+# has a clock that is synchronized to UTC using an external source
+# (e.g., the attribute should be set true if GPS hardware is used and it
+# indicates that it has acquired current position and time or if NTP is
+# used and it indicates that it has synchronized to an external source,
+# which includes stratum 0 source, etc.). If there is no notion of
+# external synchronization for the time source, the attribute SHOULD be set
+# to false. If the attribute is not set at all, the synchronization
+# status of the timestamp can not be determined except through external
+# knowledge.
+Precision =
+ (
+ (
+ attribute precision { xsd:unsignedInt } &
+ attribute precisionUnits { xsd:string } &
+ attribute synchronized { xsd:boolean }?
+ ) |
+ element nmtm:precision {
+ attribute precisionUnits { xsd:string } &
+ attribute synchronized { xsd:boolean }? &
+ xsd:unsignedInt
+ }
+ )
+
+
+TimeStamp =
+ (
+ (
+ attribute value { xsd:string } |
+ element nmtm:value { xsd:string }
+ ) &
+ Precision?
+ )
+
+Duration =
+ attribute duration { xsd:string }
+
+TimeContent =
+ attribute type { text } &
+ attribute inclusive { text }? &
+ TimeStamp
+
+StartTime =
+ element nmtm:start {
+ TimeContent
+ }
+
+EndTime =
+ element nmtm:end {
+ TimeContent
+ }
Added:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/deb/perfsonar-java-rrd-ma.xml
===================================================================
--- trunk/perfsonar-java-rrd-ma-SQL_backend/src/deb/perfsonar-java-rrd-ma.xml
(rev 0)
+++ trunk/perfsonar-java-rrd-ma-SQL_backend/src/deb/perfsonar-java-rrd-ma.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -0,0 +1 @@
+<Context path="/perfsonar-java-rrd-ma"
docBase="/usr/lib/perfsonar/services/perfsonar-java-rrd-ma"/>
\ No newline at end of file
Property changes on:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/deb/perfsonar-java-rrd-ma.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/EchoServiceEngine.java
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/EchoServiceEngine.java
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/EchoServiceEngine.java
2013-04-17 20:38:53 UTC (rev 6249)
@@ -19,6 +19,7 @@
import
org.perfsonar.service.measurementArchive.rrdType.storage.DataStorageDAO;
import
org.perfsonar.service.measurementArchive.rrdType.storage.DataStorageDAOFactory;
+import java.util.ArrayList;
import java.util.Collection;
import org.slf4j.Logger;
@@ -29,14 +30,13 @@
// ------------------------------------------------------------- class
fields
- private static final Logger LOGGER =
LoggerFactory.getLogger(EchoServiceEngine.class);
+ protected Logger logger = LoggerFactory.getLogger(getClass());
- public static final String ECHO_RANDOM_FETCH_TEST =
- "http://schemas.perfsonar.net/tools/admin/selftest/1" +
".0/random-fetch-test";
- public static final String ECHO_XMLDB_ACCESS_TEST =
- "http://schemas.perfsonar.net/tools/admin/selftest/1" +
".0/xmldb-access-test";
- public static final String ECHO_XMLDB_CONTENT_TEST =
- "http://schemas.perfsonar.net/tools/admin/selftest/1" +
".0/xmldb-content-test";
+ // TODO: Should eventTypes for success be full URL or only the last bit
(like in the echo success from pSbase2)
+ public static final String ECHO_METADATA_TEST =
+ "http://schemas.perfsonar.net/tools/admin/selftest/1" +
".0/metadata-test";
+ public static final String ECHO_RRD_FETCH_TEST =
+ "http://schemas.perfsonar.net/tools/admin/selftest/1" +
".0/rrd-fetch-test";
protected static final String SERVICE_TYPE_OPTION_NAME = "serviceType";
protected static final String SERVICE_NAME_OPTION_NAME = "serviceName";
@@ -44,18 +44,17 @@
protected String serviceType = "";
protected String serviceName = "";
- protected static final String
RANDOM_FETCH_TEST_SUCCESS_RESULT_CODE_RESPONSE =
- "Fetching data from rrd file is " + "correct.";
+ protected static final String METADATA_TEST_SUCCESS_RESULT_CODE_RESPONSE
=
+ "Fetching data from RRD file is " + "correct.";
+ protected static final String
RRD_FETCH_TEST_SUCCESS_RESULT_CODE_RESPONSE =
+ "Fetching data from RRD file is " + "correct.";
// ------------------------------------------------------------- methods
+ public void takeAction(ServiceMessage serviceRequest, ServiceMessage
serviceResponse) throws PerfSONARException {
+ logger.info("Simple Echo Service Engine started.");
- public void takeAction(ServiceMessage serviceRequest, ServiceMessage
serviceResponse) throws PerfSONARException
- {
-
- LOGGER.debug("Simple echo ServiceEngine started.");
-
Message response = null;
Configuration configuration =
ConfigurationManager.getInstance().getConfiguration();
@@ -68,12 +67,10 @@
response = simpleEchoAction();
} else if (eventType.equals(ECHO_SELF_TEST + "/1.0")) {
response = selfTestAction();
- } else if (eventType.equals(ECHO_RANDOM_FETCH_TEST)) {
- response = randomFetchTestAction(request, "random-fetch-test");
- } else if (eventType.equals(ECHO_XMLDB_ACCESS_TEST)) {
- response = xmldbSimpleTestAction(request, "xmldb-access-test");
- } else if (eventType.equals(ECHO_XMLDB_CONTENT_TEST)) {
- response = xmldbSimpleTestAction(request, "xmldb-content-test");
+ } else if (eventType.equals(ECHO_METADATA_TEST)) {
+ response = metadataTestAction(request, "metadata-test");
+ } else if (eventType.equals(ECHO_RRD_FETCH_TEST)) {
+ response = rrdFetchTestAction(request, "rrd-fetch-test");
} else {
errorCode();
}
@@ -82,26 +79,29 @@
response.addAttribute("type", "EchoResponse");
serviceResponse.setElement(response);
-
}
-
- protected Message simpleEchoAction() throws PerfSONARException
- {
+ protected Message simpleEchoAction() throws PerfSONARException {
+ logger.debug("Echo request received.");
return
ResultCodesUtil.generateResultMessage(ECHO_SUCCESS_RESULT_CODE,
ECHO_SUCCESS_RESULT_CODE_DSC);
}
-
- protected Message selfTestAction() throws PerfSONARException
- {
-
+ /**
+ * An RRD MA self test consist of the following:
+ * - check service is installed properly and is working (this also test
the configuration file can be read)
+ * - response to a EchoRequest
+ * - check the SQL DB can be accessed
+ * - response to a generic MetadataKeyRequest (random/generic metadata
fetch)
+ * - check an RRD file can be read
+ * - response to a generic SetupDataRequest (random/generic fetch)
+ * @return
+ * @throws PerfSONARException
+ */
+ protected Message selfTestAction() throws PerfSONARException {
Message[] testResponses = new Message[3];
- testResponses[0] =
randomFetchTestAction(getNewEchoMessage("EchoRequest",
ECHO_RANDOM_FETCH_TEST),
- "random-fetch-test");
- testResponses[1] =
xmldbSimpleTestAction(getNewEchoMessage("EchoRequest",
ECHO_XMLDB_ACCESS_TEST),
- "xmldb-access-test");
- testResponses[2] =
xmldbSimpleTestAction(getNewEchoMessage("EchoRequest",
ECHO_XMLDB_CONTENT_TEST),
- "xmldb-content-test");
+ testResponses[0] = simpleEchoAction();
+ testResponses[1] =
metadataTestAction(getNewEchoMessage("EchoRequest", ECHO_METADATA_TEST),
"metadata-test");
+ testResponses[2] =
rrdFetchTestAction(getNewEchoMessage("EchoRequest", ECHO_RRD_FETCH_TEST),
"rrd-fetch-test");
Message response = getNewEchoMessage("EchoResponse", ECHO_SELF_TEST
+ "/1.0");
Data responseData = response.getDataCollection().iterator().next();
@@ -110,7 +110,6 @@
Data data = null;
for (int i = 0; i < testResponses.length; i++) {
-
metadata =
testResponses[i].getMetadataCollection().iterator().next();
data = testResponses[i].getDataCollection().iterator().next();
@@ -120,32 +119,69 @@
responseData.addChild(metadata);
responseData.addChild(data);
-
}
return response;
-
}
+ /**
+ * This test that the metadata DB is actually available.
+ *
+ * We could also add a test to check that the DB schema is correct.
+ *
+ * @param request
+ * @param testName
+ * @return
+ */
+ protected Message metadataTestAction(Message request, String testName) {
+ logger.debug("We're being asked to do a metadata test.");
- protected Message randomFetchTestAction(Message request, String testName)
- {
+ try {
+ Element element = getMetadataConfigurationElements(request);
+ if (element != null) {
+ logger.info("Metadata test is ok!");
+ return getResultMessage(
+ ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
+ + "/success/1.0",
METADATA_TEST_SUCCESS_RESULT_CODE_RESPONSE);
+ } else {
+ throw new PerfSONARException("test_exception", "Could not
get element from metadata DB.");
+ }
+ } catch (PerfSONARException ex) {
+ logger.warn("Metadata test action failed: {}",
ex.getResultDescription());
+ return getResultMessage(
+ ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
+ + "/failure/1.0", ex.getResultDescription());
+ }
+ }
+
+ /**
+ * This test that at least a RRD file is readable.
+ *
+ * @param request
+ * @param testName
+ * @return
+ */
+ protected Message rrdFetchTestAction(Message request, String testName) {
+ logger.debug("We're being asked to do a rrd fetch test.");
+
try {
-
Element element = getMetadataConfigurationElements(request);
if (element == null) {
+ String msg = "No data elements in the metadata
configuration.";
+ logger.warn(msg);
return getResultMessage(
ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
- + "/failure/1.0", "No data elements in the metadata
configuration.");
+ + "/failure/1.0", msg);
}
Key key = ((Data) element).getKey();
if (key == null) {
+ String msg = "No key in data element with id='" +
element.getId() + "' in the metadata configuration.";
+ logger.warn(msg);
return getResultMessage(
ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
- + "/failure/1.0",
- "No key in data element with id='" + element.getId() +
"' in the metadata configuration.");
+ + "/failure/1.0", msg);
}
Metadata metadata = new Metadata();
@@ -160,15 +196,18 @@
Data fetchedData = dao.fetch(dataRequest);
if (fetchedData != null) {
+ logger.info("RRD fetch test is ok!");
return getResultMessage(
ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
- + "/success/1.0",
RANDOM_FETCH_TEST_SUCCESS_RESULT_CODE_RESPONSE);
+ + "/success/1.0",
RRD_FETCH_TEST_SUCCESS_RESULT_CODE_RESPONSE);
} else {
+ logger.warn("RRD fetch test action failed: No data fetched
from rrd file.");
return getResultMessage(
ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
+ "/failure/1.0", "No data fetched from rrd file.");
}
} catch (PerfSONARException ex) {
+ logger.warn("RRD fetch test action failed: {}",
ex.getResultDescription());
return getResultMessage(
ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
+ "/failure/1.0", ex.getResultDescription());
@@ -176,46 +215,35 @@
}
-
- protected Message xmldbSimpleTestAction(Message request, String testName)
- {
-
- try {
- Element element = getMetadataConfigurationElements(request);
-
- if (element != null) {
- return getResultMessage(
- ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
- + "/success/1.0", (Data) element);
- } else {
- throw new PerfSONARException("test_exception", "Could not
get element from xml db.");
- }
- } catch (PerfSONARException ex) {
- return getResultMessage(
- ECHO_SELF_TEST + "/" + serviceType + "/" +
serviceName.replace(' ', '_') + "/" + testName
- + "/failure/1.0", ex.getResultDescription());
- }
-
- }
-
-
- protected Element getMetadataConfigurationElements(Message request)
throws PerfSONARException
- {
+
+ /**
+ * Reads a metadata element from the metadata DB
+ * @param request
+ * @return
+ * @throws PerfSONARException
+ */
+ protected Element getMetadataConfigurationElements(Message request)
throws PerfSONARException {
MetadataStorageDAO dao = MetadataStorageDAOFactory.getDAO();
- Collection<Element> results = dao.fetch(request);
+ ArrayList<Element> results = (ArrayList<Element>) dao.fetch(request);
Element element = null;
- if (results != null && results.size() == 1) {
- element = results.iterator().next();
+ if (results != null && results.size() == 2) {
+ // We're only interested in the second Element (data)
+ element = results.get(1);
}
return element;
}
- protected Message getNewEchoMessage(String messageType, String
eventType) throws PerfSONARException
- {
-
+ /**
+ * Generates a Echo Request message to be used by the Self Test
+ * @param messageType
+ * @param eventType
+ * @return
+ * @throws PerfSONARException
+ */
+ protected Message getNewEchoMessage(String messageType, String
eventType) throws PerfSONARException {
Message message = new Message();
message.setType(messageType);
@@ -229,12 +257,10 @@
message.setData(data);
return message;
-
}
- protected void errorCode() throws PerfSONARException
- {
+ protected void errorCode() throws PerfSONARException {
throw new PerfSONARException("query_exception", "Wrong echo
eventType value in the request.");
}
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/SetupDataServiceEngine.java
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/SetupDataServiceEngine.java
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/SetupDataServiceEngine.java
2013-04-17 20:38:53 UTC (rev 6249)
@@ -99,7 +99,7 @@
}
- LOGGER.debug("Response: {}", response);
+ LOGGER.trace("Response: {}", response);
serviceResponse.setElement(response);
}
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/MysqlMetadataStorageDAOImpl.java
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/MysqlMetadataStorageDAOImpl.java
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/MysqlMetadataStorageDAOImpl.java
2013-04-17 20:38:53 UTC (rev 6249)
@@ -71,8 +71,8 @@
@Override
public boolean testConnectivity() {
+ logger.debug("Testing MySQL connectivity");
try {
- logger.debug("Testing MySQL connectivity");
Query q = em.createNamedQuery(Interfaces.ALL);
q.getResultList();
} catch (PersistenceException e) {
@@ -105,12 +105,12 @@
@Override
public void run() throws PerfSONARException {
- // TODO Auto-generated method stub
-
+ // No scheduler to run for us
}
@Override
public Collection<Element> fetch(Element request) throws
PerfSONARException {
+ logger.trace("Fetching: {}", request);
long t1 = System.currentTimeMillis();
checkMetadataCorectness((Message) request);
@@ -125,12 +125,13 @@
Collection<Element> result = new ArrayList<Element>();
for (Metadata metadata : message.getMetadataCollection()) {
+ // In the RRD MA, Interfaces.TABLE is a given, no other table
exist (so far...)
Query query = qg.getQuery(em, metadata, Interfaces.TABLE);
result = sdkr.fetchElements(query.getResultList().iterator());
}
long t2 = System.currentTimeMillis();
- logger.info("TIME of Fetch: {}", t2 - t1);
+ logger.debug("Time of fetch: {} ms", t2 - t1);
return result;
}
@@ -148,6 +149,7 @@
@Override
public String rawFetch(Element request) throws PerfSONARException {
+ logger.trace("Raw fetching: {}", request);
long t1 = System.currentTimeMillis();
checkMetadataCorectness((Message) request);
Metadata metadata = ((Message)
request).getMetadataCollection().iterator().next();
@@ -158,30 +160,26 @@
String result =
mKRR.fetchMetadataMessage(query.getResultList().iterator());
long t2 = System.currentTimeMillis();
- logger.info("TIME of rawFetch: {}", t2 - t1);
+ logger.debug("Time of rawFetch: {} ms", t2 - t1);
return result;
}
@Override
public void remove(Element request) throws PerfSONARException {
- // TODO Auto-generated method stub
-
+ throw new PerfSONARException("removing_not_supported", "Can not
remove metadata elements.");
}
@Override
public void store(Element request) throws PerfSONARException {
- // TODO Auto-generated method stub
-
+ throw new PerfSONARException("storing_not_supported", "Can not store
metadata elements.");
}
@Override
public void update(Element request) throws PerfSONARException {
- // TODO Auto-generated method stub
-
+ throw new PerfSONARException("updating_not_supported", "Can not
update metadata elements.");
}
-
private void checkMetadataCorectness(Message request) throws
PerfSONARException {
if (request.getMetadataCollection().isEmpty()) {
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/query/QueryGenerator.java
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/query/QueryGenerator.java
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/query/QueryGenerator.java
2013-04-17 20:38:53 UTC (rev 6249)
@@ -6,28 +6,38 @@
import javax.persistence.EntityManager;
import javax.persistence.Query;
-import org.perfsonar.base2.xml.nmwg.EventType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.xml.Element;
+import org.perfsonar.base2.xml.nmwg.EventType;
import org.perfsonar.base2.xml.nmwg.Metadata;
import org.perfsonar.base2.xml.nmwg.Parameters;
-import
org.perfsonar.service.measurementArchive.rrdType.storage.exist.QueryGeneratorManager;
+
import
org.perfsonar.service.measurementArchive.rrdType.storage.persistence.entity.Interfaces;
-
/**
+ * This class translate any perfSONAR (nmwg XML) received query into a
native DB query (SQL)
+ *
* @author Piotr Pikusa
()
+ * @author Antoine Delvaux -
*/
public class QueryGenerator
{
- protected static final Logger LOGGER =
LoggerFactory.getLogger(QueryGeneratorManager.class);
+ protected Logger logger = LoggerFactory.getLogger(getClass());
- public Query getQuery(EntityManager em, Metadata metadata, String
tableName) throws PerfSONARException
- {
+ /**
+ * Builds a DB (SQL) query out of the perfSONAR request received
+ * @param em
+ * @param metadata
+ * @param tableName
+ * @return
+ * @throws PerfSONARException
+ */
+ public Query getQuery(EntityManager em, Metadata metadata, String
tableName) throws PerfSONARException {
Map<String, String> parametersMap = getParametersMap(metadata,
tableName);
- LOGGER.info("QUERY: " + parametersMap.get("query"));
+ logger.info("SQL query: " + parametersMap.get("query"));
Query query = em.createNativeQuery(parametersMap.get("query"),
Interfaces.class);
for (String parameter : parametersMap.keySet()) {
@@ -41,18 +51,15 @@
/**
- * Method gets map with all the parameters needed to create query object
of Query class. It also includes a
- * native sql query under
- * the "query" key.
+ * Maps all the metadata parameters to create query object to the DB.
+ * It also includes a native sql query under the "query" key.
*
* @param metadata
* @param tableName
* @return
* @throws PerfSONARException
*/
- public Map<String, String> getParametersMap(Metadata metadata, String
tableName) throws PerfSONARException
- {
-
+ public Map<String, String> getParametersMap(Metadata metadata, String
tableName) throws PerfSONARException {
Map<String, String> resultMap = new HashMap<String, String>();
String keyword = null;
@@ -62,13 +69,29 @@
String ifName = null;
String ifDescription = null;
String ifAddressType = null;
- String ifIndex = null;
- String type = null;
String direction = null;
String classOfService = null;
String capacity = null;
+ // Currently unused
+ String ifIndex = null;
+ String type = null;
+
+ // We first dispatch on the eventType in case we need to answer a
selftest request
+ String eventType = getEventType(metadata.getFirstEventType());
+ if
(eventType.contains("http://schemas.perfsonar.net/tools/admin/selftest/1.0/metadata-test"))
{
+ // A metadata test consist of reading any metadata information
inside the metadata DB
+ logger.debug("dipatch to metadata-test");
+ resultMap.put("query", "SELECT * FROM " + tableName + " LIMIT
1;");
+ return resultMap;
+
+ } else if
(eventType.contains("http://schemas.perfsonar.net/tools/admin/selftest/1.0/rrd-fetch-test"))
{
+ // An rrd-fetch test consist of reading any RRD file available
+ logger.debug("dipatch to rrd-fetch-test");
+ resultMap.put("query", "SELECT * FROM " + tableName + " LIMIT
1;");
+ return resultMap;
+ }
-
+ logger.debug("Mapping query parameters.");
if (metadata.getSubject() != null) {
Element interf =
metadata.getSubject().getFirstChild("interface");
@@ -102,14 +125,18 @@
ifAddressType = null;
}
} else {
- throw new PerfSONARException("query_exception", "no
interface element in metadata element");
+ String msg = "Missing interface element in metadata
element.";
+ logger.warn("Query cannot be performed: {}", msg);
+ throw new PerfSONARException("query_exception", "");
}
} else {
- throw new PerfSONARException("query_exception", "no subject
element in metadata element");
+ String msg = "Missing subject element in metadata element.";
+ logger.warn("Query cannot be performed: {}", msg);
+ throw new PerfSONARException("query_exception", msg);
}
keyword = getKeyword(metadata.getParameters());
- resultMap.put("eventType",
getEventType(metadata.getFirstEventType()));
+ resultMap.put("eventType", eventType);
if (ifAddress != null
|| hostName != null
@@ -136,7 +163,6 @@
}
return buildQuery(resultMap, tableName);
-
}
/**
@@ -148,11 +174,9 @@
* @return Under the key "query" it stores the value of the query. Other
keys are named with the parameters of
* query and store their values.
*/
- protected Map<String, String> buildQuery(Map<String, String>
parametersMap, String tableName)
- {
-
+ protected Map<String, String> buildQuery(Map<String, String>
parametersMap, String tableName) {
StringBuilder sb = new StringBuilder();
- sb.append("select * from ").append(tableName).append(" where ");
+ sb.append("SELECT * FROM ").append(tableName).append(" WHERE ");
int i = 1;
for (String key : parametersMap.keySet()) {
@@ -168,8 +192,7 @@
}
- protected Map<String, String> querySelectWithCriteria(Map<String,
String> parametersMap) throws PerfSONARException
- {
+ protected Map<String, String> querySelectWithCriteria(Map<String,
String> parametersMap) throws PerfSONARException {
if (parametersMap.get("ifAddress") != null) {
if (parametersMap.get("ifAddress").isEmpty()) {
@@ -246,7 +269,6 @@
}
return parametersMap;
-
}
@@ -256,15 +278,13 @@
* @param parameters
* @return keyword value string
*/
- protected String getKeyword(Parameters parameters)
- {
+ protected String getKeyword(Parameters parameters) {
if (parameters != null) {
- LOGGER.info("parameters not null");
if (parameters.getFirstParameter("keyword") != null) {
- LOGGER.info("keyword not null:" +
parameters.getFirstParameter("keyword").getText());
- return (parameters.getFirstParameter("keyword").getText());
+ String keyword =
parameters.getFirstParameter("keyword").getText();
+ logger.debug("Keyword is: {}", keyword);
+ return (keyword);
}
-
}
return null;
@@ -277,24 +297,24 @@
* @return eventType url
* @throws PerfSONARException when eventType is null or equals ""
*/
- protected String getEventType(EventType eventType) throws
PerfSONARException
- {
-
+ protected String getEventType(EventType eventType) throws
PerfSONARException {
String et = "";
try {
et = eventType.getEventType().trim();
} catch (Exception e) {
- LOGGER.warn("can not find eventType in metadata element");
- throw new PerfSONARException("query_exception", "can not find
eventType in metadata element");
+ String msg = "Cannot find any eventType in metadata element.";
+ logger.warn(msg);
+ throw new PerfSONARException("query_exception", msg);
}
if (et == null || et.isEmpty()) {
- LOGGER.warn("can not find any eventType in metadata element");
- throw new PerfSONARException("query_exception", "can not find
any eventType in metadata element");
+ String msg = "Cannot find any eventType in metadata element.";
+ logger.warn(msg);
+ throw new PerfSONARException("query_exception", msg);
}
- LOGGER.info("EventType: " + et);
+ logger.debug("EventType: " + et);
return et;
}
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/configuration.xml
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/configuration.xml
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/configuration.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -1,13 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?><!-- $Id: configuration-ma.xml 4915M
2010-03-18 12:05:18Z (local) $ --><configuration
xmlns="http://service.perfsonar.org/ns/config/base/0.9/">
-
<service name="PerfsonarService">
-
<!--
....................................................................................
-->
+ <!-- Lookup Info of the LS instance - note that LS registration is not
working in this version -->
- <!-- Lookup Info of the LS instance -->
-
<lookupInformation>
<option name="accessPoint"
value="http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService"/>
@@ -19,7 +16,6 @@
</lookupInformation>
<!--
....................................................................................
-->
-
<!-- Message Handlers - message types and service engines -->
<messageHandler>
@@ -42,49 +38,18 @@
</messageHandler>
<!--
....................................................................................
-->
-
<!-- Additional auxiliary components -->
<auxiliaryComponents>
- <component
className="org.perfsonar.base2.service.storage.xml.XMLDBComponent"
name="exist">
- <option name="dataStorageClassName"
value="org.perfsonar.base2.service.storage.xml.exist.ExistHTTPDataStorage"/>
- <option name="uri"
value="http://localhost:8080/exist/rest/db/rrdmaconfig"/>
- <option name="username" value="rrdmaservice"/>
- <option name="password" value="rrdmaservice"/>
- </component>
-
- <component
className="org.perfsonar.service.measurementArchive.rrdType.storage.exist.QueryGeneratorManager"
name="queryGeneratorManager">
-
- <option name="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.UtilizationQueryGenerator"/>
-
- <option name="http://ggf.org/ns/nmwg/characteristic/errors/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.ErrorsQueryGenerator"/>
-
- <option name="http://ggf.org/ns/nmwg/characteristic/discards/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.DiscardsQueryGenerator"/>
-
- <option name="http://ggf.org/ns/nmwg/tools/snmp/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.SNMPQueryGenerator"/>
-
- <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/random-fetch-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.RandomFetchTestQueryGenerator"/>
-
- <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-access-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.XmlDbAccessTestQueryGenerator"/>
-
- <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-content-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.XmlDbContentTestQueryGenerator"/>
-
- </component>
-
- <component
className="org.perfsonar.service.measurementArchive.rrdType.storage.exist.ExistMetadataStorageDAOImpl"
name="metadataStorageDAO">
- <option name="exist-config" value="exist"/> <!-- reference to eXist
DB XML component config-->
- <option name="queryGeneratorManager-config"
value="queryGeneratorManager"/> <!-- reference to queryGeneratorManager
component config-->
- </component>
-
<component
className="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.RRDDataStorageDAOImpl"
name="dataStorageDAO">
<option
name="eventType::http://ggf.org/ns/nmwg/characteristic/utilization/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.UtilizationResponseGenerator"/>
- <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/discards/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.DiscardsResponseGenerator"/>
- <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/errors/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.ErrorsResponseGenerator"/>
+ <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/discards/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.DiscardsResponseGenerator"/>
+ <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/errors/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.ErrorsResponseGenerator"/>
</component>
<component name="migrator"
className="org.perfsonar.base2.service.configuration.migration.MigratorComponent">
- <option name ="config-directory"
value="/usr/lib/perfsonar/services/geant2-java-rrd-ma/WEB-INF/classes/perfsonar/conf"/>
+ <option name ="config-directory"
value="/usr/lib/perfsonar/services/geant2-java-rrd-ma/WEB-INF/classes/perfsonar/conf"/>
</component>
<component
className="org.perfsonar.service.measurementArchive.rrdType.storage.sql.MysqlMetadataStorageDAOImpl"
name="metadataStorageDAO2">
@@ -96,18 +61,16 @@
<!-- Scheduler -->
<component
className="org.perfsonar.base2.service.scheduler.SchedulingComponent"
name="scheduling">
-
<option name="schedulerClassName"
value="org.perfsonar.base2.service.scheduler.SimpleScheduler"/>
<option name="interval" value="1800"/> <!-- sec -->
<actions>
-
<action
className="org.perfsonar.base2.service.registration.LSRegistrationAction"
name="registration">
-
- <option name="status" value="on"/>
+ <!-- LS registration from base2 relies on metadata being
present in eXist DB, but we don't have it anymore since v3.4 -->
+ <option name="status" value="off"/>
<option name="interval" value="3500"/> <!-- sec -->
- <option name="registerDataSource"
value="org.perfsonar.base2.service.registration.MetadataExistDBRegisterDataSource"/>
- <option name="registerEventType"
value="http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/registration/summary/2.0"/>
+ <option name="registerDataSource"
value="org.perfsonar.base2.service.registration.MetadataExistDBRegisterDataSource"/>
+ <option name="registerEventType"
value="http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/registration/summary/2.0"/>
<option name="registrator"
value="org.perfsonar.base2.service.registration.GenericLSRegistrator"/>
<option name="lsAddress-1"
value="http://localhost:8080/perfsonar-java-xml-ls/services/LookupService"/>
<!--
@@ -116,13 +79,10 @@
<option name ="lsAddress-4"></option>
<option name ="lsAddress-5"></option>
-->
-
</action>
-
</actions>
</component>
-
<!-- auth configuration -->
<component
className="org.perfsonar.base2.service.authn.component.wssec.WSSecAuthNComponent"
name="auth">
<option name="as_endpoint"
value="http://homer.rediris.es:8080/geant2-java-as-1.2/services/SimpleService"/>
@@ -131,17 +91,7 @@
</auxiliaryComponents>
-
-
- <extension name="registerExtension-registerDataSource">
- <option name="exist-config" value="exist"/>
- </extension>
-
-
-
<!--
....................................................................................
-->
-
-
<!-- Protocol mappings, XML elements and their bingings -->
<protocolMappings>
@@ -170,8 +120,6 @@
<!--
....................................................................................
-->
-
</service>
-
</configuration>
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/rrdma_db.sql
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/rrdma_db.sql
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/rrdma_db.sql
2013-04-17 20:38:53 UTC (rev 6249)
@@ -6,7 +6,6 @@
USE perfsonar_rrdma
-
#CREATE USER IF NOT EXISTS
# perfsonar_rrdma;
@@ -15,7 +14,6 @@
perfsonar_rrdma.* TO 'perfsonar_rrdma'@'localhost'
IDENTIFIED BY 'testpass';
-
CREATE TABLE IF NOT EXISTS
interfaces
(metadataId INT NOT NULL AUTO_INCREMENT,
@@ -27,9 +25,9 @@
ifDescription VARCHAR(255) NOT NULL,
direction VARCHAR(20) NOT NULL,
capacity VARCHAR(20) NOT NULL,
- keyword VARCHAR(100),
- eventType VARCHAR(100) NOT NULL,
- file VARCHAR(100) NOT NULL,
+ keyword VARCHAR(255),
+ eventType VARCHAR(255) NOT NULL,
+ file VARCHAR(255) NOT NULL,
dataSource VARCHAR(20) NOT NULL,
valueUnits VARCHAR(20) NOT NULL,
dataSourceStep VARCHAR(20),
@@ -38,4 +36,4 @@
dataSourceMinValue VARCHAR(20),
dataSourceMaxValue VARCHAR(20),
PRIMARY KEY (metadataId));
-
+
\ No newline at end of file
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/test_rrdma_db.sql
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/test_rrdma_db.sql
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf/test_rrdma_db.sql
2013-04-17 20:38:53 UTC (rev 6249)
@@ -3,7 +3,6 @@
USE perfsonar_rrdma
-
INSERT
INTO interfaces
VALUES (NULL, 'subj1', 'test-hostName1', '10.1.2.1', 'ipv4',
'TenGigabitEthernet1/1', 'test1', 'in',
@@ -11,7 +10,6 @@
'/usr/lib/perfsonar/services/perfsonar-java-rrd-ma/WEB-INF/samples/rrd/test.rrd',
'inoctets', 'Bps', '300', 'ABSOLUTE', '100', '0', '10000000');
-
INSERT
INTO interfaces
VALUES (NULL, 'subj1', 'test-hostName1', '10.1.2.1', 'ipv4',
'TenGigabitEthernet1/1', 'test1', 'out',
@@ -29,18 +27,31 @@
INSERT
INTO interfaces
VALUES (NULL, 'subj1', 'test-hostName1', '10.1.2.1', 'ipv4',
'TenGigabitEthernet1/1', 'test1', 'in',
+'1000000000', 'project:geant',
'http://ggf.org/ns/nmwg/characteristic/errors/2.0',
+
'/usr/lib/perfsonar/services/perfsonar-java-rrd-ma/WEB-INF/samples/rrd/test.rrd',
+'outerrors', 'Eps', '300', 'ABSOLUTE', '100', '0', '10000000');
+
+INSERT
+ INTO interfaces
+ VALUES (NULL, 'subj1', 'test-hostName1', '10.1.2.1', 'ipv4',
'TenGigabitEthernet1/1', 'test1', 'in',
'1000000000', 'project:geant',
'http://ggf.org/ns/nmwg/characteristic/discards/2.0',
'/usr/lib/perfsonar/services/perfsonar-java-rrd-ma/WEB-INF/samples/rrd/test.rrd',
'indiscards', 'Dps', '300', 'ABSOLUTE', '100', '0', '10000000');
INSERT
INTO interfaces
+ VALUES (NULL, 'subj1', 'test-hostName1', '10.1.2.1', 'ipv4',
'TenGigabitEthernet1/1', 'test1', 'in',
+'1000000000', 'project:geant',
'http://ggf.org/ns/nmwg/characteristic/discards/2.0',
+
'/usr/lib/perfsonar/services/perfsonar-java-rrd-ma/WEB-INF/samples/rrd/test.rrd',
+'outdiscards', 'Dps', '300', 'ABSOLUTE', '100', '0', '10000000');
+
+INSERT
+ INTO interfaces
VALUES (NULL, 'subj1', 'test-hostName2', '10.1.2.2', 'ipv4',
'TenGigabitEthernet1/1', 'test1', 'in',
'1000000000', 'project:geant2',
'http://ggf.org/ns/nmwg/characteristic/utilization/2.0',
'/usr/lib/perfsonar/services/perfsonar-java-rrd-ma/WEB-INF/samples/rrd/test.rrd',
'inoctets', 'Bps', '300', 'ABSOLUTE', '100', '0', '10000000');
-
INSERT
INTO interfaces
VALUES (NULL, 'subj1', 'test-hostName2', '10.1.2.2', 'ipv4',
'TenGigabitEthernet1/1', 'test1', 'out',
@@ -48,4 +59,3 @@
'/usr/lib/perfsonar/services/perfsonar-java-rrd-ma/WEB-INF/samples/rrd/test.rrd',
'inoctets', 'Bps', '300', 'ABSOLUTE', '100', '0', '10000000');
-
Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/test/resources/perfsonar/conf/configuration.xml
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/test/resources/perfsonar/conf/configuration.xml
2013-04-11 17:08:09 UTC (rev 6248)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/test/resources/perfsonar/conf/configuration.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -1,13 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?><!-- $Id: configuration-ma.xml 4915M
2010-03-18 12:05:18Z (local) $ --><configuration
xmlns="http://service.perfsonar.org/ns/config/base/0.9/">
-
<service name="PerfsonarService">
-
<!--
....................................................................................
-->
+ <!-- Lookup Info of the LS instance - note that LS registration is not
working in this version -->
- <!-- Lookup Info of the LS instance -->
-
<lookupInformation>
<option name="accessPoint"
value="http://localhost:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService"/>
@@ -19,7 +16,6 @@
</lookupInformation>
<!--
....................................................................................
-->
-
<!-- Message Handlers - message types and service engines -->
<messageHandler>
@@ -42,49 +38,18 @@
</messageHandler>
<!--
....................................................................................
-->
-
<!-- Additional auxiliary components -->
<auxiliaryComponents>
- <component
className="org.perfsonar.base2.service.storage.xml.XMLDBComponent"
name="exist">
- <option name="dataStorageClassName"
value="org.perfsonar.base2.service.storage.xml.exist.ExistHTTPDataStorage"/>
- <option name="uri"
value="http://localhost:8080/exist/rest/db/rrdmaconfig"/>
- <option name="username" value="rrdmaservice"/>
- <option name="password" value="rrdmaservice"/>
- </component>
-
- <component
className="org.perfsonar.service.measurementArchive.rrdType.storage.exist.QueryGeneratorManager"
name="queryGeneratorManager">
-
- <option name="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.UtilizationQueryGenerator"/>
-
- <option name="http://ggf.org/ns/nmwg/characteristic/errors/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.ErrorsQueryGenerator"/>
-
- <option name="http://ggf.org/ns/nmwg/characteristic/discards/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.DiscardsQueryGenerator"/>
-
- <option name="http://ggf.org/ns/nmwg/tools/snmp/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.SNMPQueryGenerator"/>
-
- <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/random-fetch-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.RandomFetchTestQueryGenerator"/>
-
- <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-access-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.XmlDbAccessTestQueryGenerator"/>
-
- <option
name="http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-content-test"
value="org.perfsonar.service.measurementArchive.rrdType.storage.exist.query.XmlDbContentTestQueryGenerator"/>
-
- </component>
-
- <component
className="org.perfsonar.service.measurementArchive.rrdType.storage.exist.ExistMetadataStorageDAOImpl"
name="metadataStorageDAO">
- <option name="exist-config" value="exist"/> <!-- reference to eXist
DB XML component config-->
- <option name="queryGeneratorManager-config"
value="queryGeneratorManager"/> <!-- reference to queryGeneratorManager
component config-->
- </component>
-
<component
className="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.RRDDataStorageDAOImpl"
name="dataStorageDAO">
<option
name="eventType::http://ggf.org/ns/nmwg/characteristic/utilization/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.UtilizationResponseGenerator"/>
- <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/discards/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.DiscardsResponseGenerator"/>
- <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/errors/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.ErrorsResponseGenerator"/>
+ <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/discards/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.DiscardsResponseGenerator"/>
+ <option
name="eventType::http://ggf.org/ns/nmwg/characteristic/errors/2.0"
value="org.perfsonar.service.measurementArchive.rrdType.storage.rrd.ErrorsResponseGenerator"/>
</component>
<component name="migrator"
className="org.perfsonar.base2.service.configuration.migration.MigratorComponent">
- <option name ="config-directory"
value="/usr/lib/perfsonar/services/geant2-java-rrd-ma/WEB-INF/classes/perfsonar/conf"/>
+ <option name ="config-directory"
value="/usr/lib/perfsonar/services/geant2-java-rrd-ma/WEB-INF/classes/perfsonar/conf"/>
</component>
<component
className="org.perfsonar.service.measurementArchive.rrdType.storage.sql.MysqlMetadataStorageDAOImpl"
name="metadataStorageDAO2">
@@ -96,18 +61,16 @@
<!-- Scheduler -->
<component
className="org.perfsonar.base2.service.scheduler.SchedulingComponent"
name="scheduling">
-
<option name="schedulerClassName"
value="org.perfsonar.base2.service.scheduler.SimpleScheduler"/>
<option name="interval" value="1800"/> <!-- sec -->
<actions>
-
<action
className="org.perfsonar.base2.service.registration.LSRegistrationAction"
name="registration">
-
- <option name="status" value="on"/>
+ <!-- LS registration from base2 relies on metadata being
present in eXist DB, but we don't have it anymore since v3.4 -->
+ <option name="status" value="off"/>
<option name="interval" value="3500"/> <!-- sec -->
- <option name="registerDataSource"
value="org.perfsonar.base2.service.registration.MetadataExistDBRegisterDataSource"/>
- <option name="registerEventType"
value="http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/registration/summary/2.0"/>
+ <option name="registerDataSource"
value="org.perfsonar.base2.service.registration.MetadataExistDBRegisterDataSource"/>
+ <option name="registerEventType"
value="http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/registration/summary/2.0"/>
<option name="registrator"
value="org.perfsonar.base2.service.registration.GenericLSRegistrator"/>
<option name="lsAddress-1"
value="http://localhost:8080/perfsonar-java-xml-ls/services/LookupService"/>
<!--
@@ -116,13 +79,10 @@
<option name ="lsAddress-4"></option>
<option name ="lsAddress-5"></option>
-->
-
</action>
-
</actions>
</component>
-
<!-- auth configuration -->
<component
className="org.perfsonar.base2.service.authn.component.wssec.WSSecAuthNComponent"
name="auth">
<option name="as_endpoint"
value="http://homer.rediris.es:8080/geant2-java-as-1.2/services/SimpleService"/>
@@ -131,17 +91,7 @@
</auxiliaryComponents>
-
-
- <extension name="registerExtension-registerDataSource">
- <option name="exist-config" value="exist"/>
- </extension>
-
-
-
<!--
....................................................................................
-->
-
-
<!-- Protocol mappings, XML elements and their bingings -->
<protocolMappings>
@@ -170,8 +120,6 @@
<!--
....................................................................................
-->
-
</service>
-
</configuration>
Modified:
trunk/perfsonar-java-xml-ls/soapUI/perfsonar-LS-base2-soapui-project.xml
===================================================================
--- trunk/perfsonar-java-xml-ls/soapUI/perfsonar-LS-base2-soapui-project.xml
2013-04-11 17:08:09 UTC (rev 6248)
+++ trunk/perfsonar-java-xml-ls/soapUI/perfsonar-LS-base2-soapui-project.xml
2013-04-17 20:38:53 UTC (rev 6249)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<con:soapui-project name="perfSONAR - Lookup Service"
resourceRoot="${projectDir}" soapui-version="4.0.1.1" abortOnError="false"
runType="SEQUENTIAL" defaultScriptLanguage="Groovy"
xmlns:con="http://eviware.com/soapui/config"><con:description>Full
functionnal test suite for the perfSONAR Lookup Service.
+<con:soapui-project name="Lookup Service" resourceRoot="${projectDir}"
soapui-version="4.5.1" abortOnError="false" runType="SEQUENTIAL"
defaultScriptLanguage="Groovy" activeEnvironment="Default"
xmlns:con="http://eviware.com/soapui/config"><con:description>Full
functionnal test suite for the perfSONAR Lookup Service.
This test suite targets any LS implementation. Currently, some exceptions
are made in the test cases when the behavior of GEANT and Internet2 services
differ.
@@ -115,7 +115,7 @@
<http:address
location="http://150.254.149.195:8080/perfsonar-java-xml-ls/services/LookupService.LookupServiceHttpEndpoint/"/>
</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/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://150.254.149.194:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://ndb1.internet2.edu:9991/perfSONAR_PS/services/gLS</con:endpoint><con:endpoint>http://localhost:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://150.140.8.15:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://150.140.8.58:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://ls:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://ls.sonar.net.switch.ch:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:endpoint
>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://ls.perfsonar.pionier.net.pl:9990/perfSONAR_PS/services/gLS</con:endpoint><con:endpoint>http://ps1.es.net:9990/perfSONAR_PS/services/gLS</con:endpoint></con:endpoints><con:operation
> isOneWay="false" action="urn:message" name="message"
>bindingOperationName="message" type="Request-Response" inputName=""
>receivesAttachments="false" sendsAttachments="false" anonymous="optional"
>id="a31dafe9-07ce-48f6-a8b6-f30ba72fa8b8"><con:settings/><con:call
>name="discovery" outgoingWss="" incomingWss=""
>id="aa5c6df3-469a-4fb9-8dc8-ae2d02be6eef"><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/en
velope/" xmlns:axis="http://axis2interface.service.base2.perfsonar.org">
+</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://150.254.149.194:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://ndb1.internet2.edu:9991/perfSONAR_PS/services/gLS</con:endpoint><con:endpoint>http://localhost:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://150.140.8.15:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://150.140.8.58:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://ls:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://ls.sonar.net.switch.ch:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:endpoint
>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:endpoint>http://ls.perfsonar.pionier.net.pl:9990/perfSONAR_PS/services/gLS</con:endpoint><con:endpoint>http://ps1.es.net:9990/perfSONAR_PS/services/gLS</con:endpoint></con:endpoints><con:operation
> isOneWay="false" action="urn:message" name="message"
>bindingOperationName="message" type="Request-Response" inputName=""
>receivesAttachments="false" sendsAttachments="false" anonymous="optional"
>id="a31dafe9-07ce-48f6-a8b6-f30ba72fa8b8"><con:settings/><con:call
>name="discovery" outgoingWss="" incomingWss=""
>id="aa5c6df3-469a-4fb9-8dc8-ae2d02be6eef"><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope
/" xmlns:axis="http://axis2interface.service.base2.perfsonar.org">
<soapenv:Header/>
<soapenv:Body>
@@ -179,7 +179,7 @@
<!-- End XML -->
</soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508" action="urn:message"/><con:wsrmConfig
version="1.2"/></con:call><con:call name="query" outgoingWss=""
incomingWss=""
id="4a6f890a-f7c3-467c-897c-9f37e4a941fa"><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+</soapenv:Envelope>]]></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508" action="urn:message"/><con:wsrmConfig
version="1.2"/></con:call><con:call name="query" outgoingWss=""
incomingWss=""
id="4a6f890a-f7c3-467c-897c-9f37e4a941fa"><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -204,7 +204,7 @@
<nmwg:data id="data1" metadataIdRef="meta1" />
</nmwg:message>
</soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508" action="urn:message"/><con:wsrmConfig
version="1.2"/></con:call><con:call name="dfasva" outgoingWss=""
incomingWss=""
id="b578b2bd-75e7-4f89-9bc4-712e24e1f6da"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+</soapenv:Envelope>]]></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508" action="urn:message"/><con:wsrmConfig
version="1.2"/></con:call><con:call name="dfasva" outgoingWss=""
incomingWss=""
id="b578b2bd-75e7-4f89-9bc4-712e24e1f6da"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
id="message1262167219" type="EchoRequest">
@@ -215,7 +215,7 @@
</nmwg:message>
</soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508" action="urn:message"/><con:wsrmConfig
version="1.2"/></con:call><con:call name="dfasf" outgoingWss=""
incomingWss=""
id="c6a43cf4-5122-4868-93d5-17306a146c5e"><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+</soapenv:Envelope>]]></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508" action="urn:message"/><con:wsrmConfig
version="1.2"/></con:call><con:call name="dfasf" outgoingWss=""
incomingWss=""
id="c6a43cf4-5122-4868-93d5-17306a146c5e"><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<nmwg:message type="LSRegisterRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
@@ -305,7 +305,7 @@
At the beginning of this test suite, the DB is initialised (empty), see
Setup Script. Most of those tests use the variables (properties) defined at
the project level. Some tests are re-used in the following test suites (see
their descriptions).
-A Load Test of registrations has also been implemented to see how the
service cope with a lot of incoming request
queries.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Single Registration" searchProperties="true"
id="3e654b7b-53a4-4f13-8628-6d7bfc9c4512"><con:description>Register a single
service and get back the resulting
lsKey</con:description><con:settings/><con:testStep type="request"
name="Single Service Registration"
id="d48c2e06-1479-4918-b27a-fc2d1f6aaba3"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Single Service Registration" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:s
etting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service registration with data -->
+A Load Test of registrations has also been implemented to see how the
service cope with a lot of incoming request
queries.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Single Registration" searchProperties="true"
id="3e654b7b-53a4-4f13-8628-6d7bfc9c4512"><con:description>Register a single
service and get back the resulting
lsKey</con:description><con:settings/><con:testStep type="request"
name="Single Service Registration"
id="d48c2e06-1479-4918-b27a-fc2d1f6aaba3"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Single Service Registration" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:s
etting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service registration with data -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -405,7 +405,7 @@
// Check that the description also matches the key
def data =
ResponseHolder.getDomNode('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+metadataIdRef+'"]')
assert data.toString().contains(lsKey)
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="transfer" name="lsKey"
id="cb5eb897-c325-4b9d-9e4f-b15474d6fa85"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="true" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Single
Service Registration</con:sourceStep><con:sourcePath>declare namespace
soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="transfer" name="lsKey"
id="cb5eb897-c325-4b9d-9e4f-b15474d6fa85"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="true" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Single
Service Registration</con:sourceStep><con:sourcePath>declare namespace
soapenv='http
://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace nmwgr="http://ggf.org/ns/nmwg/result/2.0/";
@@ -419,7 +419,7 @@
def lsKeyExisttc = tc.testSuite.getTestCaseByName("Test lsKey exist")
lsKeyExisttc.setPropertyValue("lsKey", lsKey)
-</script></con:config></con:testStep><con:properties><con:property><con:name>ParentThread</con:name><con:value>04</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Test lsKey exist" searchProperties="true"
id="064b9943-a570-4d82-9c34-94084cd2286c"><con:settings/><con:testStep
type="request" name="Test lsKey is registred"
id="bbbfca6b-6c68-4446-8b93-14b9de1f296b"><con:settings/><con:config
xsi:type="con:RequestStep" xmlns:xsi="http://www.w
3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test lsKey is registred" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Check the lsKey is present: Keepaliave Request -->
+</script></con:config></con:testStep><con:properties><con:property><con:name>ParentThread</con:name><con:value>04</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Test lsKey exist" searchProperties="true"
id="064b9943-a570-4d82-9c34-94084cd2286c"><con:settings/><con:testStep
type="request" name="Test lsKey is registred"
id="bbbfca6b-6c68-4446-8b93-14b9de1f296b"><con:settings/><con:config
xsi:type="con:RequestStep" xmlns:xsi="http://www.w
3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test lsKey is registred" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Check the lsKey is present: Keepaliave Request -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -481,7 +481,7 @@
def data =
ResponseHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+metadataIdRef+'"]/nmwgr:datum')
assert data.size() == 1
assert data[0].getValueAsString().contains(apKey)
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Double Registration" searchProperties="true"
id="724f833a-ee9d-46e3-a0ad-02b1d7e11205"><con:settings/><con:testStep
type="request" name="Double Service Registration"
id="c047b0c2-2c93-419b-8713-47dc9c4145fc"><con:settings/><con:config
xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001
/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Double Service Registration" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Two Services registration with data -->
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Double Registration" searchProperties="true"
id="724f833a-ee9d-46e3-a0ad-02b1d7e11205"><con:settings/><con:testStep
type="request" name="Double Service Registration"
id="c047b0c2-2c93-419b-8713-47dc9c4145fc"><con:settings/><con:config
xsi:type="c
on:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Double Service Registration" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Two Services registration with data -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -626,7 +626,7 @@
// From the response message, we have no way to be sure the data is
actually present in the DB
}
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="transfer" name="lsKeys"
id="13c3e7d8-2058-49c3-a598-a1ad1550c0d6"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="false" transferTextContent="true" failOnError="true"
disabled="false" entitize="false" ignoreEmpty="true"
transferChildNodes="false" transferToAll="false"
useXQuery="false"><con:name>lsKeyA-GN</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Double
Service Registration</con:sourceStep><con:sourcePath>declare namespace
soapenv='http://schemas.xmlsoap.org/soa
p/envelope/';
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="transfer" name="lsKeys"
id="13c3e7d8-2058-49c3-a598-a1ad1550c0d6"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="false" transferTextContent="true" failOnError="true"
disabled="false" entitize="false" ignoreEmpty="true"
transferChildNodes="false" transferToAll="false"
useXQuery="false"><con:name>lsKeyA-GN</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Double
Service Registration</con:sourceStep><con:sourcePath>declare
namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace nmwgr="http://ggf.org/ns/nmwg/result/2.0/";
@@ -664,7 +664,7 @@
} else
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.1.2.1.1 - Single Reg"
id="5e2233b7-b024-4251-8f60-afcb8411b51d"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con
:runMode></con:config></con:testStep><con:testStep type="transfer"
name="transfer lsKey"
id="e031e64f-ad57-4ef0-b268-3a5761e80565"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.1.2.1.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.1.2.1.1
- Test
exist</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.1.2.1.1 - Test exist"
id="ceda54eb-9896-4ff7-b7db-2c298346b5cf"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTes
tCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.1.2.1.2 - Double Reg"
id="1a7fbda6-927f-4858-b361-4a0e2ceeeb71"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKeya</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB<
/con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.1.2.1.3 - Chained data"
id="2d935c9e-d29c-4f88-8310-7aad92dbfeec"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.1.3 - Chained data" outgoingWss="" inco
mingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.support.AbstractHttpRequest@follow-redirects">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service Registration with chained data-metadata -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.1.2.1.1 - Single Reg"
id="5e2233b7-b024-4251-8f60-afcb8411b51d"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con
:runMode></con:config></con:testStep><con:testStep type="transfer"
name="transfer lsKey"
id="e031e64f-ad57-4ef0-b268-3a5761e80565"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.1.2.1.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.1.2.1.1
- Test
exist</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.1.2.1.1 - Test exist"
id="ceda54eb-9896-4ff7-b7db-2c298346b5cf"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTes
tCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.1.2.1.2 - Double Reg"
id="1a7fbda6-927f-4858-b361-4a0e2ceeeb71"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKeya</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB<
/con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.1.2.1.3 - Chained data"
id="2d935c9e-d29c-4f88-8310-7aad92dbfeec"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.1.3 - Chained data" outgoingWss="" inco
mingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.support.AbstractHttpRequest@follow-redirects">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service Registration with chained data-metadata -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -753,7 +753,7 @@
// From the response message, we have no way to be sure the data is
actually present in the DB
}
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.1.4 - Changed NS"
id="800020c6-6d14-4235-a50b-294cdfef7bb9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.1.4 - Changed NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service Registration with modified namespace -->
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.1.4 - Changed NS"
id="800020c6-6d14-4235-a50b-294cdfef7bb9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.1.4 - Changed NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
> Single Service Registration with modified namespace -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -824,11 +824,11 @@
// Check that the description also matches the key
def data =
ResponseHolder.getDomNode('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+metadataIdRef+'"]')
assert data.toString().contains(lsKey)
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Simple Registration Empty DB"
id="3058398c-9d2e-4743-80ff-6999a6fb4ca7"><con:settings/><con:threadCount>10</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>300</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:loadS
trategy><con:assertion type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:statisticsLogFolder/><con:statisticsLogInterval>0</con:statisticsLogInterval><con:logStatisticsOnThreadChange>false</con:logStatisticsOnThreadChange><con:cancelOnReachedLimit>false</con:cancelOnReachedLimit><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:setupScript>//
Init an empty DB
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Simple Registration Empty DB"
id="3058398c-9d2e-4743-80ff-6999a6fb4ca7"><con:settings/><con:threadCount>10</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>300</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>1000</testDelay><random
Factor>0.5</randomFactor></con:config></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:statisticsLogFolder/><con:statisticsLogInterval>0</con:statisticsLogInterval><con:logStatisticsOnThreadChange>false</con:logStatisticsOnThreadChange><con:cancelOnReachedLimit>false</con:cancelOnReachedLimit><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:setupScript>//
Init an empty DB
def tc = loadTestRunner.loadTest.testCase
def initscript =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initscript.run(null, false)
-</con:setupScript><con:updateStatisticsPerTestStep>false</con:updateStatisticsPerTestStep></con:loadTest><con:loadTest
name="Simple Registration Existing DB"
id="305ed745-49c1-427a-8d6b-250f2ec1a210"><con:settings/><con:threadCount>10</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>300</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:setupScript>//
We don't initialis
e the DB in this
one</con:setupScript></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests - 2.1.2.2" searchProperties="true"
id="0697fd4c-a651-46e8-97a8-2a5c2cb6a0fa" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="request"
name="2.1.2.2.1 - S-Reg - Bad nmwg NS"
id="ade0a0dc-2ba2-4394-a3ee-d2a57fdadc11"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.2.1 - S-Reg - Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service registration with data -->
+</con:setupScript><con:updateStatisticsPerTestStep>false</con:updateStatisticsPerTestStep></con:loadTest><con:loadTest
name="Simple Registration Existing DB"
id="305ed745-49c1-427a-8d6b-250f2ec1a210"><con:settings/><con:threadCount>10</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>300</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:setupScript>//
We don't initialis
e the DB in this
one</con:setupScript></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests - 2.1.2.2" searchProperties="true"
id="0697fd4c-a651-46e8-97a8-2a5c2cb6a0fa" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="request"
name="2.1.2.2.1 - S-Reg - Bad nmwg NS"
id="ade0a0dc-2ba2-4394-a3ee-d2a57fdadc11"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.2.1 - S-Reg - Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service registration with data -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -883,7 +883,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.2.2 - D-Reg - Bad nmwg NS"
id="8e28db35-9d23-471f-86f0-2bd013868f8c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.2.2 -
D-Reg - Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Double Service registration with data -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.2.2 - D-Reg - Bad nmwg NS"
id="8e28db35-9d23-471f-86f0-2bd013868f8c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>messa
ge</con:operation><con:request name="2.1.2.2.2 - D-Reg - Bad nmwg NS"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Double Service registration with data -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -939,7 +939,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.2.3 - Chained - Bad nmwg NS"
id="a486fff7-ae37-474f-8c57-bc7ff1ce2f07"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.2.3
- Chained - Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service Registration with chained data-metadata -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.2.3 - Chained - Bad nmwg NS"
id="a486fff7-ae37-474f-8c57-bc7ff1ce2f07"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>mes
sage</con:operation><con:request name="2.1.2.2.3 - Chained - Bad nmwg NS"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Single Service Registration with chained data-metadata -->
<!-- nmwg is declared with a wrong identifier -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -985,7 +985,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.2.4 - No metadata/data pair - a"
id="ebcd917b-d23d-4c25-9e54-645d6b6d6cca"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.
2.4 - No metadata/data pair - a" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.2.4 - No metadata/data pair - a"
id="ebcd917b-d23d-4c25-9e54-645d6b6d6cca"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation
>message</con:operation><con:request name="2.1.2.2.4 - No metadata/data pair
>- a" outgoingWss="" incomingWss=""><con:settings><con:setting
>id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -1044,7 +1044,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.2.4 - No metadata/data pair - b"
id="b4ba3d68-c77e-405a-b387-29582656859e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:re
quest name="2.1.2.2.4 - No metadata/data pair - b" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.2.4 - No metadata/data pair - b"
id="b4ba3d68-c77e-405a-b387-29582656859e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interf
ace><con:operation>message</con:operation><con:request name="2.1.2.2.4 - No
metadata/data pair - b" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -1104,7 +1104,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.2.4 - No metadata/data pair - c"
id="455e6805-ffe6-4273-870f-cc5c6db6c725"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:re
quest name="2.1.2.2.4 - No metadata/data pair - c" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.2.4 - No metadata/data pair - c"
id="455e6805-ffe6-4273-870f-cc5c6db6c725"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interf
ace><con:operation>message</con:operation><con:request name="2.1.2.2.4 - No
metadata/data pair - c" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -1163,7 +1163,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.2.5 - No message type"
id="e4374790-1791-4d83-bf29-91872d36539e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name
="2.1.2.2.5 - No message type" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.2.5 - No message type"
id="e4374790-1791-4d83-bf29-91872d36539e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:o
peration>message</con:operation><con:request name="2.1.2.2.5 - No message
type" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1212,7 +1212,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(no_message_type|common\.action_not_supported)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests"
id="290c7e82-a0e6-45a8-af41-3beae910ebef"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/r
esult/2.0/';
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(no_message_type|common\.action_not_supported)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests"
id="290c7e82-a0e6-45a8-af41-3beae910ebef"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -1220,7 +1220,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.1.2.2.6 - One correct, one
invalid</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.1.2.2.6 - Missing nmwg:data"
id="fdbf2381-7202-4b7c-864c-3a8488c5b872"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.2.6 - Missing nmwg:data" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:
soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.1.2.2.6 - One correct, one
invalid</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.1.2.2.6 - Missing nmwg:data"
id="fdbf2381-7202-4b7c-864c-3a8488c5b872"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.2.6 - Missing nmwg:data" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soa
penv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1250,7 +1250,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.no_metadata_data_pair</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.2.6 - One correct, one invalid"
id="9763fc3a-320d-40ab-a712-9bbeb7df98f0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.2.6 - One correct, one
invalid" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.no_metadata_data_pair</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.2.6 - One correct, one invalid"
id="9763fc3a-320d-40ab-a712-9bbeb7df98f0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operatio
n><con:request name="2.1.2.2.6 - One correct, one invalid" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1361,7 +1361,7 @@
// Check that the description also matches the key
def data =
ResponseHolder.getDomNode('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+metadataIdRef+'"]')
assert data.toString().contains(lsKey)
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data - 2.1.2.3" searchProperties="true"
id="05b0a611-bf1c-4b25-bb29-dca2251ecd56" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="request"
name="2.1.2.3.1 - No accessPoint"
id="472b0a30-2970-4bd8-adb7-54b4f40136af"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:requ
est name="2.1.2.3.1 - No accessPoint" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data - 2.1.2.3" searchProperties="true"
id="05b0a611-bf1c-4b25-bb29-dca2251ecd56" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="request"
name="2.1.2.3.1 - No accessPoint"
id="472b0a30-2970-4bd8-adb7-54b4f40136af"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interfac
e><con:operation>message</con:operation><con:request name="2.1.2.3.1 - No
accessPoint" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1407,7 +1407,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(no_access_point|register\.missing_value)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.3.2 - One correct, one invalid"
id="fa0b089a-9728-474b-a406-ebb1791782de"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.3.2 - One correct, one invalid" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
One correct request and one erroneous one in a single message -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(no_access_point|register\.missing_value)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.3.2 - One correct, one invalid"
id="fa0b089a-9728-474b-a406-ebb1791782de"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><
con:operation>message</con:operation><con:request name="2.1.2.3.2 - One
correct, one invalid" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
One correct request and one erroneous one in a single message -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1529,7 +1529,7 @@
for $metadata in //nmwg:message/nmwg:metadata[starts-with(nmwg:eventType,
"error.ls.")]
let $metadata_id := $metadata/@id
let $data :=
//nmwg:message/nmwg:data[@metadataIdRef=$metadata_id]
- return $data/nmwgr:datum</path><content><nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">*</nmwgr:datum></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests"
id="3210bf72-1767-4694-b9fc-f9801332934c"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+ return $data/nmwgr:datum</path><content><nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">*</nmwgr:datum></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests"
id="3210bf72-1767-4694-b9fc-f9801332934c"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -1537,7 +1537,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>Empty (keep for I2
switch)</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.1.2.3.4 - No serviceType"
id="d0e5c551-11d4-42f5-9728-620683cada87"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.3.4 - No serviceType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Missing psservice:serviceType eleme
nt in serviceParameters -->
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>Empty (keep for I2
switch)</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.1.2.3.4 - No serviceType"
id="d0e5c551-11d4-42f5-9728-620683cada87"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.3.4 - No serviceType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Missing psservice:serviceType element
in serviceParameters -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1569,7 +1569,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.ls.no_service_type</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.3.5 - One correct, one invalid"
id="ee105ce8-6a32-454d-b7ca-5f5a21a868f4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.3.5 - One correct, one invalid"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.ls.no_service_type</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.3.5 - One correct, one invalid"
id="ee105ce8-6a32-454d-b7ca-5f5a21a868f4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:req
uest name="2.1.2.3.5 - One correct, one invalid" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1640,7 +1640,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(//nmwg:message/nmwg:data[@metadataIdRef=data(../nmwg:metadata[child::nmwg:eventType="error.ls.no_service_type"]/@id)]/nmwgr:datum,
'error.ls.no_service_type')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.3.6 - No serviceName"
id="50c8d130-6e4e-4f38-b25d-ff57e65bab9b"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:ope
ration><con:request name="2.1.2.3.6 - No serviceName" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+matches(//nmwg:message/nmwg:data[@metadataIdRef=data(../nmwg:metadata[child::nmwg:eventType="error.ls.no_service_type"]/@id)]/nmwgr:datum,
'error.ls.no_service_type')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.3.6 - No serviceName"
id="50c8d130-6e4e-4f38-b25d-ff57e65bab9b"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Bindi
ng</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.3.6 - No serviceName" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1670,7 +1670,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.ls.no_service_name</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.1.2.3.7 - One correct, one invalid"
id="120d9869-6a52-43fc-ab01-7bbc397c2069"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.1.2.3.7 - One correct, one invalid"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.ls.no_service_name</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.1.2.3.7 - One correct, one invalid"
id="120d9869-6a52-43fc-ab01-7bbc397c2069"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:req
uest name="2.1.2.3.7 - One correct, one invalid" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1745,7 +1745,7 @@
for $metadata in
//nmwg:message/nmwg:metadata[nmwg:eventType="error.ls.no_service_name"]
let $metadata_id := $metadata/@id
let $data :=
//nmwg:message/nmwg:data[@metadataIdRef=$metadata_id]
- return $data/nmwgr:datum</path><content><nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">[error.ls.no_service_name]:
No serviceName in
request</nmwgr:datum></content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="properties" name="Empty (keep for I2 switch)"
id="2303fed3-af8b-408d-936a-e89fac58238e"><con:settings/><con:config
xsi:type="con:PropertiesStep" saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:properties/></con:testCase><con:properties/><con:setupScript>//
Init an empty DB
+ return $data/nmwgr:datum</path><content><nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">[error.ls.no_service_name]:
No serviceName in
request</nmwgr:datum></content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="properties" name="Empty (keep for I2 switch)"
id="2303fed3-af8b-408d-936a-e89fac58238e"><con:settings/><con:config
xsi:type="con:PropertiesStep" saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:properties/></con:testCase><con:properties/><con:setupScript>//
Init an em
pty DB
def initscript =
testSuite.getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initscript.run(null, false)
</con:setupScript></con:testSuite><con:testSuite name="Deregistration"
id="dfad4ad0-bf72-44e0-abb7-4c8a5c3e7c3a"><con:description>Test Suite for
deregistration requests. The tests are divided as follows:
@@ -1759,7 +1759,7 @@
A Load Test of registrations and deregistrations has also been implemented
to see how the service cope with a lot of incoming request
queries.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Single Deregistration" searchProperties="true"
id="01c061ba-e53c-42f2-b08b-6f705a53e8af"><con:description>This step tries to
deregister an lsKey. It's ok if the key doesn't exist.
Then check the lsKey is actually deleted.
-</con:description><con:settings/><con:testStep type="request" name="Single
Service Dereg Attempt"
id="e0cd5ec4-0c1a-4eba-a440-2041e4f75ef7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Single Service Dereg Attempt" outgoingWss=""
incomingWss=""><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister a service -->
+</con:description><con:settings/><con:testStep type="request" name="Single
Service Dereg Attempt"
id="e0cd5ec4-0c1a-4eba-a440-2041e4f75ef7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Single Service Dereg Attempt" outgoingWss=""
incomingWss=""><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -1820,7 +1820,7 @@
assert resultData[0].getValueAsString().contains(apKey)
} else assert resultCode ==~ "error.ls.(deregister.)?key_not_found"
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="Test is deleted"
id="4b89f216-457c-4ea2-a637-f9169fda19e7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test is deleted" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>U
TF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Check the first Service has been deleted -->
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="Test is deleted"
id="4b89f216-457c-4ea2-a637-f9169fda19e7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test is deleted" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragm
ent/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Check the first Service has been deleted -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -1884,7 +1884,7 @@
def data =
ResponseHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+metadataIdRef+'"]/nmwgr:datum')
assert data.size() == 1
assert data[0].getValueAsString().contains(apKey)
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct Requests - 2.2.2.1" searchProperties="true"
id="92378658-9e75-495d-85d8-a880281aa939" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:description>This test case does register
a new MA, then de-register it and check if it is indeed removed. This is
done for a single
and double registration, with single and double deletion.
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct Requests - 2.2.2.1" searchProperties="true"
id="92378658-9e75-495d-85d8-a880281aa939" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:description>This test case does register
a new MA, then de-register it and check if
it is indeed removed. This is done for a single and double registration,
with single and double deletion.
In each of the 3 registrations, the lsKeys are stored inside a test property
so that we can retreive it later to de-register and check if the key is still
present.
@@ -1907,7 +1907,7 @@
} else
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.2.2.1.1 - Single Reg"
id="1f2a0b5a-7e45-432f-96b9-ee2fb54f492a"><con:settings/><con:config
xsi:type="con:RunTestCaseStep" copyLoadTestProperties="false"
copyHttpSession="false" ignoreEmptyProperties="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name>
<con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="transfer" name="2.2.2.1.1 - transfer lsKey"
id="6d5e1f85-0adc-47ff-8f79-de9e425d8068"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.1.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.1.1
-
Dereg</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestca
se" name="2.2.2.1.1 - Dereg"
id="3adf63aa-0059-42f7-9fed-06c223bc733a"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>01c061ba-e53c-42f2-b08b-6f705a53e8af</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.2.2.1.2 - Double Reg"
id="33246791-0a60-4c44-8e0c-e70d3db00bb6"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>ParentThread
</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKeya</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKeyA</con:entry><con:entry>lsKeyB</con:entry></con:returnProperties><con:runMode>
PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="transfer" name="2.2.2.1.2 - transfer lsKeys"
id="26717627-f3b2-41b0-8da7-713148684301"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKeyB</con:name><con:sourceType>lsKeyB</con:sourceType><con:sourceStep>2.2.2.1.2
- Double
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.1.2
- Test B exist</con:targetStep></con:transfers><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
disabled="false" entitize="false" ignoreEmpty="false"
transferChildNodes="false" transferToAll="false"
useXQuery="false"><con:name>lsKeyA</con:name><con:sourceType>lsKeya</con:sourceType><con:sou
rceStep>2.2.2.1.2 - Double Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.1.2
- Dereg A</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.2.2.1.2 - Dereg A"
id="cc3ee1f1-ce1f-4451-a42a-d99a7d98c12d"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>01c061ba-e53c-42f2-b08b-6f705a53e8af</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.2.2.1.2 - Test B exist"
id="4430b970-7a19-47e5-a6ae-6fb10e7d311f"><con:settings/><con:config
xsi:type="con:RunTes
tCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.2.2.1.3 - Double Reg"
id="91f3e65a-5710-401a-937c-c7faec8e93e3"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value
></con:property><con:property><con:name>lsKeya</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKeyA</con:entry><con:entry>lsKeyB</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
> type="request" name="2.2.2.1.3 - Double Dereg" id="
c7b3be15-6cd4-4fec-a62b-d4d39b987248"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.1.3 - Double Dereg" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister the 2 previously registered services -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.2.2.1.1 - Single Reg"
id="1f2a0b5a-7e45-432f-96b9-ee2fb54f492a"><con:settings/><con:config
xsi:type="con:RunTestCaseStep" copyLoadTestProperties="false"
copyHttpSession="false" ignoreEmptyProperties="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name>
<con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="transfer" name="2.2.2.1.1 - transfer lsKey"
id="6d5e1f85-0adc-47ff-8f79-de9e425d8068"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.1.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.1.1
-
Dereg</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestca
se" name="2.2.2.1.1 - Dereg"
id="3adf63aa-0059-42f7-9fed-06c223bc733a"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>01c061ba-e53c-42f2-b08b-6f705a53e8af</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.2.2.1.2 - Double Reg"
id="33246791-0a60-4c44-8e0c-e70d3db00bb6"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>ParentThread
</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKeya</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKeyA</con:entry><con:entry>lsKeyB</con:entry></con:returnProperties><con:runMode>
PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="transfer" name="2.2.2.1.2 - transfer lsKeys"
id="26717627-f3b2-41b0-8da7-713148684301"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKeyB</con:name><con:sourceType>lsKeyB</con:sourceType><con:sourceStep>2.2.2.1.2
- Double
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.1.2
- Test B exist</con:targetStep></con:transfers><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
disabled="false" entitize="false" ignoreEmpty="false"
transferChildNodes="false" transferToAll="false"
useXQuery="false"><con:name>lsKeyA</con:name><con:sourceType>lsKeya</con:sourceType><con:sou
rceStep>2.2.2.1.2 - Double Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.1.2
- Dereg A</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.2.2.1.2 - Dereg A"
id="cc3ee1f1-ce1f-4451-a42a-d99a7d98c12d"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>01c061ba-e53c-42f2-b08b-6f705a53e8af</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.2.2.1.2 - Test B exist"
id="4430b970-7a19-47e5-a6ae-6fb10e7d311f"><con:settings/><con:config
xsi:type="con:RunTes
tCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.2.2.1.3 - Double Reg"
id="91f3e65a-5710-401a-937c-c7faec8e93e3"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value
></con:property><con:property><con:name>lsKeya</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKeyA</con:entry><con:entry>lsKeyB</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
> type="request" name="2.2.2.1.3 - Double Dereg" id="
c7b3be15-6cd4-4fec-a62b-d4d39b987248"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.1.3 - Double Dereg" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister the 2 previously registered services -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1997,7 +1997,7 @@
ResultCodeDesc =
ResponseHolder.getNodeValue('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+idRef+'"]/nmwgr:datum')
assert ResultCodeDesc.contains(key)
}
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.2.2.1.3 - Test Deleted"
id="599331d0-5fc0-4072-9417-9cbc5a318043"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.1.3 - Test Deleted" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settin
gs><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Check the 2 service have been deleted -->
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.2.2.1.3 - Test Deleted"
id="599331d0-5fc0-4072-9417-9cbc5a318043"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.1.3 - Test Deleted" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-head
ers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Check the 2 service have been deleted -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2090,11 +2090,11 @@
ResultCodeDesc =
ResponseHolder.getNodeValue('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+idRef+'"]/nmwgr:datum')
assert ResultCodeDesc.contains(key)
}
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Reg-Dereg Empty DB"
id="b2219f28-c69c-4e89-99b9-7e7b5f32817e"><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>300</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></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:setupScript>//
Init an empty DB
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Reg-Dereg Empty DB"
id="b2219f28-c69c-4e89-99b9-7e7b5f32817e"><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>300</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></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:setupScript>//
Init an empty DB
def tc = loadTestRunner.loadTest.testCase
def initscript =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initscript.run(null, false)
-</con:setupScript></con:loadTest><con:setupScript/><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests - 2.2.2.2" searchProperties="true"
id="cc442184-44e0-4c94-b000-531daed36720" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep
type="calltestcase" name="2.2.2.2.1 - Single Reg"
id="f1f11e2f-b280-44cb-b7f7-42af0a96a4eb"><con:settings/><con:config
xsi:type="con:RunTestCaseStep" copyLoadTestProperties="false"
copyHttpSession="false" ignoreEmptyProperties="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>s00-0.load.serv
ice.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="transfer" name="2.2.2.2.1 - transfer lsKey"
id="f952e309-5cc4-4361-b42e-a5f6d673a476"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" en
titize="false" transferChildNodes="false"><con:name>lsKey
2</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.2.1 -
Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.2.2
- Test still exist</con:targetStep></con:transfers><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
disabled="false" entitize="false" ignoreEmpty="false"
transferChildNodes="false" transferToAll="false"
useXQuery="false"><con:name>lsKey
4</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.2.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.2.4
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true"
transferTextContent="true" failOnError="true" disabled="false"
entitize="false" ignoreEmpty="false" transferChildNodes="false"
transferToAll="false" useXQ
uery="false"><con:name>lsKey
5</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.2.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.2.5
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers></con:config></con:testStep><con:testStep
type="request" name="2.2.2.2.1 - Dereg Bad nmwg NS"
id="8369e9ee-7818-4b69-8a5b-62cd64f69046"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.2.1 - Dereg Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>U
TF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+</con:setupScript></con:loadTest><con:setupScript/><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests - 2.2.2.2" searchProperties="true"
id="cc442184-44e0-4c94-b000-531daed36720" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep
type="calltestcase" name="2.2.2.2.1 - Single Reg"
id="f1f11e2f-b280-44cb-b7f7-42af0a96a4eb"><con:settings/><con:config
xsi:type="con:RunTestCaseStep" copyLoadTestProperties="false"
copyHttpSession="false" ignoreEmptyProperties="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>s00-0.load.serv
ice.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="transfer" name="2.2.2.2.1 - transfer lsKey"
id="f952e309-5cc4-4361-b42e-a5f6d673a476"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" en
titize="false" transferChildNodes="false"><con:name>lsKey
2</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.2.1 -
Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.2.2
- Test still exist</con:targetStep></con:transfers><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
disabled="false" entitize="false" ignoreEmpty="false"
transferChildNodes="false" transferToAll="false"
useXQuery="false"><con:name>lsKey
4</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.2.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.2.4
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true"
transferTextContent="true" failOnError="true" disabled="false"
entitize="false" ignoreEmpty="false" transferChildNodes="false"
transferToAll="false" useXQ
uery="false"><con:name>lsKey
5</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.2.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.2.5
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers></con:config></con:testStep><con:testStep
type="request" name="2.2.2.2.1 - Dereg Bad nmwg NS"
id="8369e9ee-7818-4b69-8a5b-62cd64f69046"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.2.1 - Dereg Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>U
TF-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id = "blah1" messageIdRef="blah2"
type="LSDeregisterRequest"
@@ -2129,7 +2129,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.common\.(internal_error|parse_error)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests"
id="7472b55c-3f78-464d-b712-44884d37c1e1"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/
';
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.common\.(internal_error|parse_error)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests"
id="7472b55c-3f78-464d-b712-44884d37c1e1"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare na
mespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -2137,7 +2137,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.2.2.2.4 - Dereg no
name:lsKey</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.2.2.2.2 - Dereg no nmwg:data"
id="35efb8f0-6b93-43ff-8edf-c59114de2fd0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.2.2 - Dereg no nmwg:data" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to deregister a se
rvice -->
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.2.2.2.4 - Dereg no
name:lsKey</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.2.2.2.2 - Dereg no nmwg:data"
id="35efb8f0-6b93-43ff-8edf-c59114de2fd0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.2.2 - Dereg no nmwg:data" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to deregister a servi
ce -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2171,7 +2171,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.no_metadata_data_pair</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.2.2.2.2 - Test still exist"
id="78d90d27-112b-46cb-8906-3568243842dd"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:val
ue>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.2.4 - Dereg no name:lsKey"
id="8cf1c93c-fa7e-4088-beb2-7c10a8bb0658"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.2.4 - Dereg no name:lsKey" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:e
ndpoint><con:request><![CDATA[<!-- Deregister a service -->
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.no_metadata_data_pair</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.2.2.2.2 - Test still exist"
id="78d90d27-112b-46cb-8906-3568243842dd"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties
><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
> type="request" name="2.2.2.2.4 - Dereg no name:lsKey"
>id="8cf1c93c-fa7e-4088-beb2-7c10a8bb0658"><con:settings/><con:config
>xsi:type="con:RequestStep"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
> name="2.2.2.2.4 - Dereg no name:lsKey" outgoingWss=""
>incomingWss=""><con:settings><con:setting
>id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfs
onar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2204,7 +2204,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(deregister\.key_not_found|no_key)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="Simple NotContains" name="Not Contains - lsKey"
id="8bebbd23-ec38-4a95-a85e-543114f144ad"><con:configuration><token>${2.2.2.2.1
- Single
Reg#lsKey}</token><ignoreCase>true</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.2.2.2.4 - Test still exist"
id="c66082ac-4fdb-4fc7-8708-6c0e05fdb095"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.2.5 - Dereg no metadata/data pair"
id="42055c05-f58b-4384-aedb-87213a7d05c0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.2.5 - Dereg no metadata/data pair" outgoingWss=""
incomingWss=""><con:settings><con:setting id="com.eviware.soapui.im
pl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister a service -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(deregister\.key_not_found|no_key)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="Simple NotContains" name="Not Contains - lsKey"
id="8bebbd23-ec38-4a95-a85e-543114f144ad"><con:configuration><token>${2.2.2.2.1
- Single
Reg#lsKey}</token><ignoreCase>true</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="c
alltestcase" name="2.2.2.2.4 - Test still exist"
id="c66082ac-4fdb-4fc7-8708-6c0e05fdb095"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.2.5 - Dereg no metadata/data pair"
id="42055c05-f58b-4384-aedb-87213a7d05c0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.2.5 - Dereg no metadata/data pair" outgoingWss=""
incomingWss=""><co
n:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2237,7 +2237,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common\.no_metadata_data_pair|ls\.data_trigger)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="Simple NotContains" name="Not Contains - lsKey"
id="f920269f-0e8e-45a8-89c6-c781cd4feb5c"><con:configuration><token>${2.2.2.2.1
- Single
Reg#lsKey}</token><ignoreCase>true</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.2.2.2.5 - Test sti
ll exist"
id="574d4f5f-9eaf-45cc-9e86-bfe8f6d40c40"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid Data - 2.2.2.3" searchProperties="true"
id="a6b85723-2ab1-48fa-97d2-ec8281fb300a" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep
type="calltestcase" name="2.2.2.3.1 - Single Reg"
id="f46db85f-80b3-41d9-b74f-01873aa76aac"><con:settings/><con:config
xsi:type="con:Run
TestCaseStep" copyLoadTestProperties="false" copyHttpSession="false"
ignoreEmptyProperties="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>ls
Key</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="transfer" name="2.2.2.3.1 - transfer lsKey"
id="5d74bdf5-e903-491e-b191-4919b59fd892"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey
1</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.1
- Test still exist</con:targetStep></con:transfers><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
disabled="false" entitize="false" ignoreEmpty="false"
transferChildNodes="false" transferToAll="false"
useXQuery="false"><con:name>lsKey 4</c
on:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.4
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true"
transferTextContent="true" failOnError="true" disabled="false"
entitize="false" ignoreEmpty="false" transferChildNodes="false"
transferToAll="false" useXQuery="false"><con:name>lsKey
5</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.5
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true"
transferTextContent="true" failOnError="true" disabled="false"
entitize="false" ignoreEmpty="false" transferChildNodes="false"
transferToAll="false" use
XQuery="false"><con:name>lsKey
3</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.3
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true"
transferTextContent="true" failOnError="true" disabled="false"
entitize="false" ignoreEmpty="false" transferChildNodes="false"
transferToAll="false" useXQuery="false"><con:name>lsKey
2</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.2
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers></con:config></con:testStep><con:testStep
type="request" name="2.2.2.3.1 - Dereg no key element"
id="f2100238-ba5a-45eb-aefb-06322a2fffd9"><con:settings/><con:con
fig xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.1 - Dereg no key element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to deregister a service -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common\.no_metadata_data_pair|ls\.data_trigger)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="Simple NotContains" name="Not Contains - lsKey"
id="f920269f-0e8e-45a8-89c6-c781cd4feb5c"><con:configuration><token>${2.2.2.2.1
- Single
Reg#lsKey}</token><ignoreCase>true</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testSt
ep type="calltestcase" name="2.2.2.2.5 - Test still exist"
id="574d4f5f-9eaf-45cc-9e86-bfe8f6d40c40"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid Data - 2.2.2.3" searchProperties="true"
id="a6b85723-2ab1-48fa-97d2-ec8281fb300a" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep
type="calltestcase" name="2.2.2.3.1 - Single Reg"
id="f46db85f-80b3-41d9-b74f-01873aa76
aac"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
copyLoadTestProperties="false" copyHttpSession="false"
ignoreEmptyProperties="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></c
on:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="transfer" name="2.2.2.3.1 - transfer lsKey"
id="5d74bdf5-e903-491e-b191-4919b59fd892"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey
1</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.1
- Test still exist</con:targetStep></con:transfers><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
disabled="false" entitize="false" ignoreEmpty="false"
transferChildNodes="false" transferToA
ll="false" useXQuery="false"><con:name>lsKey
4</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.4
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true"
transferTextContent="true" failOnError="true" disabled="false"
entitize="false" ignoreEmpty="false" transferChildNodes="false"
transferToAll="false" useXQuery="false"><con:name>lsKey
5</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.5
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true"
transferTextContent="true" failOnError="true" disabled="false"
entitize="false" ignoreEmpty="false" tra
nsferChildNodes="false" transferToAll="false"
useXQuery="false"><con:name>lsKey
3</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.3
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true"
transferTextContent="true" failOnError="true" disabled="false"
entitize="false" ignoreEmpty="false" transferChildNodes="false"
transferToAll="false" useXQuery="false"><con:name>lsKey
2</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath
xsi:nil="true"/><con:targetType>lsKey</con:targetType><con:targetStep>2.2.2.3.2
- Test still exist</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers></con:config></con:testStep><con:testStep
type="request" name="2.2.2.3.1 - Dereg no key element" id="f2100238-ba5
a-45eb-aefb-06322a2fffd9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.1 - Dereg no key element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to deregister a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2265,7 +2265,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(no_key|deregister\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.2.2.3.1 - Test still exist"
id="0f739824-04df-4d2f-b725-50d1e4925d5e"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:n
ame>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.3.2 - Dereg empty lsKey"
id="3c8400ee-77d9-4f49-a34f-9371f9fbd40b"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.2 - Dereg empty lsKey" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/servi
ces/LookupService</con:endpoint><con:request><![CDATA[<!-- Try to deregister
a service -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(no_key|deregister\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.2.2.3.1 - Test still exist"
id="0f739824-04df-4d2f-b725-50d1e4925d5e"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:ta
rgetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.3.2 - Dereg empty lsKey"
id="3c8400ee-77d9-4f49-a34f-9371f9fbd40b"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.2 - Dereg empty lsKey" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to deregister a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2298,7 +2298,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(deregister\.)?key_not_found')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.2.2.3.2 - Test still exist"
id="1d9a5abf-427d-4860-9ba4-31a05ded142f"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>ls
Key</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.3.3 - Dereg lsKey not existing"
id="29555808-12be-4047-bd80-ef928438af90"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.3 - Dereg lsKey not existing" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-
ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister a service -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(deregister\.)?key_not_found')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.2.2.3.2 - Test still exist"
id="1d9a5abf-427d-4860-9ba4-31a05ded142f"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTe
stCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.3.3 - Dereg lsKey not existing"
id="29555808-12be-4047-bd80-ef928438af90"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.3 - Dereg lsKey not existing" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:e
ndpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Deregister a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2358,7 +2358,7 @@
def data =
ResponseHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+metadataIdRef+'"]/nmwgr:datum')
assert data.size() == 1
assert data[0].getValueAsString().contains(apKey)
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.2.2.3.3 - Test still exist"
id="f251a12c-07ce-4952-a8c2-1479008d3a1b"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="requ
est" name="2.2.2.3.4 - Dereg bad key element"
id="5391a988-aea7-491b-b775-6b943f47e0d4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.4 - Dereg bad key element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to deregister a service -->
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.2.2.3.3 - Test still exist"
id="f251a12c-07ce-4952-a8c2-1479008d3a1b"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></c
on:config></con:testStep><con:testStep type="request" name="2.2.2.3.4 -
Dereg bad key element"
id="5391a988-aea7-491b-b775-6b943f47e0d4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.4 - Dereg bad key element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to deregister a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2396,7 +2396,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(no_key|deregister\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.2.2.3.4 - Test still exist"
id="38d93545-e0e6-4c17-bbde-890d0ec328b2"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:n
ame>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.3.5 - Dereg missing nmwg:key"
id="2d9f27b8-3a6d-41ed-b14a-947251783523"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.5 - Dereg missing nmwg:key" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xm
l-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(no_key|deregister\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.2.2.3.4 - Test still exist"
id="38d93545-e0e6-4c17-bbde-890d0ec328b2"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:ta
rgetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.2.2.3.5 - Dereg missing nmwg:key"
id="2d9f27b8-3a6d-41ed-b14a-947251783523"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.2.2.3.5 - Dereg missing nmwg:key" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id = "blah1" messageIdRef="blah2"
type="LSDeregisterRequest"
@@ -2431,7 +2431,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(no_key|deregister\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.2.2.3.5 - Test still exist"
id="5993dfdd-6cc5-4e97-8103-ed2e2a0ead34"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:property><con:n
ame>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:properties/></con:testCase><con:properties/><con:setupScript>//
Init an empty DB
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(no_key|deregister\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.2.2.3.5 - Test still exist"
id="5993dfdd-6cc5-4e97-8103-ed2e2a0ead34"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:ta
rgetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:properties/></con:testCase><con:properties/><con:setupScript>//
Init an empty DB
def initscript =
testSuite.getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initscript.run(null, false)
</con:setupScript></con:testSuite><con:testSuite name="Keepalive"
id="8a5b81fe-a6a1-4a18-8b82-00f1b8c7f19b"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct Requests - 2.3.2.1" searchProperties="true"
id="52e5f6af-468f-4811-bc30-54c5ed797319" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="groovy"
name="Set Registration Properties"
id="6649eac6-84ca-41be-8a4a-6e0201b26ba5"><con:settings/><con:config><script>//
Set Herited properties so that the Test Run have correct values
@@ -2452,7 +2452,7 @@
} else
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.3.2.1.1 - Single Reg"
id="f55da2cc-484b-4ef7-8346-e5cdc3f51b7b"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con
:runMode></con:config></con:testStep><con:testStep type="transfer"
name="2.3.2.1.1 - transfer lsKey"
id="62cbd31d-df3a-4a2b-98fb-c6d9a13ee4f9"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.3.2.1.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.3.2.1.1
- Single
Keepalive</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.3.2.1.1 - Single Keepalive"
id="25f36856-83be-4a18-9594-7e2914d95874"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-940
84cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.3.2.1.2 - Double Reg"
id="fa0997f5-8373-417c-b34f-0006354e3f28"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:pr
operty><con:name>lsKeyB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKeyA</con:entry><con:entry>lsKeyB</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.3.2.1.2 - Double Keepalive"
id="dd765ac0-4d97-4e05-b40d-f537da89baf6"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:inte
rface><con:operation>message</con:operation><con:request name="2.3.2.1.2 -
Double Keepalive" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Check the lsKeys are present: Double Keepaliave Request -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.3.2.1.1 - Single Reg"
id="f55da2cc-484b-4ef7-8346-e5cdc3f51b7b"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con
:runMode></con:config></con:testStep><con:testStep type="transfer"
name="2.3.2.1.1 - transfer lsKey"
id="62cbd31d-df3a-4a2b-98fb-c6d9a13ee4f9"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.3.2.1.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.3.2.1.1
- Single
Keepalive</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.3.2.1.1 - Single Keepalive"
id="25f36856-83be-4a18-9594-7e2914d95874"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-940
84cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.3.2.1.2 - Double Reg"
id="fa0997f5-8373-417c-b34f-0006354e3f28"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:pr
operty><con:name>lsKeyB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKeyA</con:entry><con:entry>lsKeyB</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.3.2.1.2 - Double Keepalive"
id="dd765ac0-4d97-4e05-b40d-f537da89baf6"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:inte
rface><con:operation>message</con:operation><con:request name="2.3.2.1.2 -
Double Keepalive" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Check the lsKeys are present: Double Keepaliave Request -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2542,7 +2542,7 @@
}
assert match == 1
}
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests - 2.3.2.2" searchProperties="true"
id="a78fec81-1f82-4a3e-b462-7f54447a6a88" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="groovy"
name="Set Registration Properties"
id="582a5a05-4873-4df8-9d4a-a16cb3001497"><con:settings/><con:config><script>//
Set Herited properties so that the Test Run have correct values
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests - 2.3.2.2" searchProperties="true"
id="a78fec81-1f82-4a3e-b462-7f54447a6a88" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="groovy"
name="Set Registration Properties"
id="582a5a05-4873-4df8-9d4a-a16cb3001497"><con:settings/><con:config><script>//
Set Herited properties so that the Test Run have correct values
// We store the accessPoint and the lsKey in a property to keep it safe and
be able to re-use it
def tc = testRunner.testCase
def apName = tc.testSuite.project.getPropertyValue("AccessPoint-name")
@@ -2560,7 +2560,7 @@
} else
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.3.2.2.1 - Single Reg"
id="fb317709-f9a8-4daf-9738-809b233807f6"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con
:runMode></con:config></con:testStep><con:testStep type="transfer"
name="2.3.2.2.1 - transfer lsKey"
id="30d17ee8-c6b4-42a7-b7d3-b83bcb73e93d"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.3.2.2.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.3.2.2.1
- Check
registration</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.3.2.2.1 - Check registration"
id="5641cbbd-b1d8-44c6-b2a2-62def5e96ec3"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34
-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.3.2.2.1 - Keepalive Bad nmwg NS"
id="875f8315-3731-4eb6-9523-adb1b10cd525"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.3.2.2.1 - Keepalive Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.3.2.2.1 - Single Reg"
id="fb317709-f9a8-4daf-9738-809b233807f6"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con
:runMode></con:config></con:testStep><con:testStep type="transfer"
name="2.3.2.2.1 - transfer lsKey"
id="30d17ee8-c6b4-42a7-b7d3-b83bcb73e93d"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.3.2.2.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.3.2.2.1
- Check
registration</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.3.2.2.1 - Check registration"
id="5641cbbd-b1d8-44c6-b2a2-62def5e96ec3"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34
-94084cd2286c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.3.2.2.1 - Keepalive Bad nmwg NS"
id="875f8315-3731-4eb6-9523-adb1b10cd525"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.3.2.2.1 - Keepalive Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2592,7 +2592,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests"
id="2c29addd-fb94-4a5d-993b-58f82352001a"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests"
id="2c29addd-fb94-4a5d-993b-58f82352001a"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare namespa
ce nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -2600,7 +2600,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.3.2.2.4 - Keepalive Bad
nmwg:parameter</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.3.2.2.2 - Keepalive empty message"
id="14729f17-10f7-4943-a167-9bdd9bb094aa"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.3.2.2.2 - Keepalive empty message" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try
to check the lsKey is present -->
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.3.2.2.4 - Keepalive Bad
nmwg:parameter</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.3.2.2.2 - Keepalive empty message"
id="14729f17-10f7-4943-a167-9bdd9bb094aa"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.3.2.2.2 - Keepalive empty message" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to
check the lsKey is present -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2624,7 +2624,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.3.2.2.4 - Keepalive Bad nmwg:parameter"
id="f27f58ba-b0f5-48f7-bb30-72474b62613c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con
:request name="2.3.2.2.4 - Keepalive Bad nmwg:parameter" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.3.2.2.4 - Keepalive Bad nmwg:parameter"
id="f27f58ba-b0f5-48f7-bb30-72474b62613c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:int
erface><con:operation>message</con:operation><con:request name="2.3.2.2.4 -
Keepalive Bad nmwg:parameter" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2655,7 +2655,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/ls/no_key|\.ls\.no_key|\.ls\.keepalive\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.3.2.2.5 - Keepalive No metadata/data pair"
id="c5bbe983-46f6-42ba-8817-b1d3d7112422"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operat
ion><con:request name="2.3.2.2.5 - Keepalive No metadata/data pair"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/ls/no_key|\.ls\.no_key|\.ls\.keepalive\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.3.2.2.5 - Keepalive No metadata/data pair"
id="c5bbe983-46f6-42ba-8817-b1d3d7112422"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding<
/con:interface><con:operation>message</con:operation><con:request
name="2.3.2.2.5 - Keepalive No metadata/data pair" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2688,7 +2688,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid Data - 2.3.2.3" searchProperties="true"
timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="1926f550-515f-4d45-bd50-b45b4da5e834"><con:settings/><con:testStep
type="cal
ltestcase" name="2.3.2.3.1 - Single Reg"
id="eead877b-a515-481a-92bf-10b58b859b68"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="tra
nsfer" name="2.3.2.3.1 - transfer lsKey"
id="2fb43156-0b76-46a6-887a-0207a56cfae2"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.3.2.3.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.3.2.3.1
- Check
registration</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.3.2.3.1 - Check registration"
id="c174a762-885e-4e66-b45a-7cfbf70fb9a9"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd2286c</con:targetTestCase><con:properties><con:prope
rty><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.3.2.3.1 - Keepalive lsKey not existing"
id="6cbed944-acd1-47f0-b70f-ea2e5528c4a8"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.3.2.3.1 - Keepalive lsKey not existing" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:
8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid Data - 2.3.2.3" searchProperties="true"
timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="1926f550-515f-4d45-bd50-b45
b4da5e834"><con:settings/><con:testStep type="calltestcase" name="2.3.2.3.1
- Single Reg"
id="eead877b-a515-481a-92bf-10b58b859b68"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></
con:config></con:testStep><con:testStep type="transfer" name="2.3.2.3.1 -
transfer lsKey"
id="2fb43156-0b76-46a6-887a-0207a56cfae2"><con:settings/><con:config
xsi:type="con:PropertyTransfersStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers
setNullOnMissingSource="true" transferTextContent="true" failOnError="true"
ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false"
transferChildNodes="false"><con:name>lsKey</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.3.2.3.1
- Single
Reg</con:sourceStep><con:targetType>lsKey</con:targetType><con:targetStep>2.3.2.3.1
- Check
registration</con:targetStep></con:transfers></con:config></con:testStep><con:testStep
type="calltestcase" name="2.3.2.3.1 - Check registration"
id="c174a762-885e-4e66-b45a-7cfbf70fb9a9"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>064b9943-a570-4d82-9c34-94084cd228
6c</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.3.2.3.1 - Keepalive lsKey not existing"
id="6cbed944-acd1-47f0-b70f-ea2e5528c4a8"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.3.2.3.1 - Keepalive lsKey not existing" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UT
F-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2719,7 +2719,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(keepalive\.)?key_not_found')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.3.2.3.2 - Keepalive no key element"
id="9ad1c48c-d2e8-4483-b67f-2d6192fd4a7e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.3.2.3
.2 - Keepalive no key element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.ls\.(keepalive\.)?key_not_found')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.3.2.3.2 - Keepalive no key element"
id="9ad1c48c-d2e8-4483-b67f-2d6192fd4a7e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>
message</con:operation><con:request name="2.3.2.3.2 - Keepalive no key
element" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is present -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2750,7 +2750,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/ls/no_key|\.ls\.no_key|\.ls\.keepalive\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:testSuite
name="Query"
id="82c8ef23-4bdd-4f4c-be65-7f1d8f1dedfe"><con:description/><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Discovery" sea
rchProperties="true"
id="d2073c66-232a-40b8-98ef-14c90fdb8454"><con:settings/><con:testStep
type="request" name="IPv4 Address through xQuery"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="IPv4 Address through xQuery" outgoingWss=""
incomingWss=""><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/ls/no_key|\.ls\.no_key|\.ls\.keepalive\.key_not_found)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testSuite
name="Query"
id="82c8ef23-4bdd-4f4c-be65-7f1d8f1dedfe"><con:description/><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSe
ssion="false" maxResults="0" name="Discovery" searchProperties="true"
id="d2073c66-232a-40b8-98ef-14c90fdb8454"><con:settings/><con:testStep
type="request" name="IPv4 Address through xQuery"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="IPv4 Address through xQuery" outgoingWss=""
incomingWss=""><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- XPath query: lookup for an IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
@@ -2794,7 +2794,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-count(//perfsonar:subject/nmwgt:interface/nmwgt:ifAddress[@type="ipv4"]['${#TestCase#IPv4}'])</path><content>${#TestCase#Quantity}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests (no summary)"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+count(//perfsonar:subject/nmwgt:interface/nmwgt:ifAddress[@type="ipv4"]['${#TestCase#IPv4}'])</path><content>${#TestCase#Quantity}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests (no summary)"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.
0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -2802,7 +2802,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>Empty (keep for I2
switch)</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="IPv4 Address through
summary"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="IPv4 Address through summary" outgoingWss=""
incomingWss=""><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>Empty (keep for I2
switch)</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="IPv4 Address through
summary"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="IPv4 Address through summary" outgoingWss=""
incomingWss=""><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:axis="http://axis2interface.service.base2.perfsonar.org">
<soapenv:Header/>
@@ -2859,7 +2859,7 @@
let $data :=
//nmwg:message/nmwg:data[@metadataIdRef=$metadata_id]
return if ($data//psservice:service)
then data($data//psservice:accessPoint)
- else
""</path><content>${#TestCase#accessPoint}</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="properties" name="Empty (keep for I2
switch)"><con:settings/><con:config xsi:type="con:PropertiesStep"
saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:properties><con:property><con:name>IPv4</con:name><con:value>1.1.1.1</con:value></con:property><con:property><con:name>Quantity</con:name><con:value>0</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value/></con:property></con:properties></con:testCase><con:testCa
se failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct Requests - 2.4.2.1" searchProperties="true"
timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="1bf181e4-8dcb-464e-b2de-fc03dd6140a8"><con:description>The load test
cannot be run in a threaded environment, the test conditions will not be
correct.</con:description><con:settings/><con:testStep type="groovy"
name="Set Registration Properties"><con:settings/><con:config><script>// Set
Herited properties so that the Test Run have correct values
+ else
""</path><content>${#TestCase#accessPoint}</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="properties" name="Empty (keep for I2
switch)"><con:settings/><con:config xsi:type="con:PropertiesStep"
saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:properties><con:property><con:name>IPv4</con:name><con:value>1.1.1.1</con:value></con:property><con:property><con:name>Quantity</con:name><con:value>0</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value/></con:pro
perty></con:properties></con:testCase><con:testCase failOnError="false"
failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Correct
Requests - 2.4.2.1" searchProperties="true" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""
id="1bf181e4-8dcb-464e-b2de-fc03dd6140a8"><con:description>The load test
cannot be run in a threaded environment, the test conditions will not be
correct.</con:description><con:settings/><con:testStep type="groovy"
name="Set Registration Properties"><con:settings/><con:config><script>// Set
Herited properties so that the Test Run have correct values
// We store the lsKey in a property to keep it safe and be able to re-use it
def tc = testRunner.testCase
def apName = tc.testSuite.project.getPropertyValue("AccessPoint-name")
@@ -2899,7 +2899,7 @@
discProps.setPropertyValue("accessPoint", AP)
}
}
-</script></con:config></con:testStep><con:testStep type="properties"
name="Thread Properties"><con:settings/><con:config
xsi:type="con:PropertiesStep" saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>ServicesCount</con:name><con:value>3</con:value></con:property></con:properties></con:config></con:testStep><con:testStep
type="calltestcase" name="2.4.2.1.1 - Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property>
<con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.4.2.1.1 - XPath ServType Test"
id="fde41be2-6f6e-4da6-84a2-75135236863c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.1 - XPath ServType Test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachment
s">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+</script></con:config></con:testStep><con:testStep type="properties"
name="Thread Properties"><con:settings/><con:config
xsi:type="con:PropertiesStep" saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>ServicesCount</con:name><con:value>3</con:value></con:property></con:properties></con:config></con:testStep><con:testStep
type="calltestcase" name="2.4.2.1.1 - Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property>
<con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.4.2.1.1 - XPath ServType Test"
id="fde41be2-6f6e-4da6-84a2-75135236863c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.1 - XPath ServType Test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachment
s">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -2957,7 +2957,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/psservice:datum,
"${2.4.2.1.1 - Single
Reg#accessPoint}")</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.4.2.1.1 - Double Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:
property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKeyA</con:entry><con:entry>lsKeyB</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:
testStep><con:testStep type="request" name="2.4.2.1.1 - XPath Double
ServType Test"
id="3cf11671-20ea-4c2e-9dee-03613d9ee6ac"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.1 - XPath Double ServType Test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/psservice:datum,
"${2.4.2.1.1 - Single
Reg#accessPoint}")</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.4.2.1.1 - Double Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>Paren
tThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKeyA</con:entry><con:entry>lsKeyB</con:entry></con:returnProperties><con:r
unMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.4.2.1.1 - XPath Double ServType Test"
id="3cf11671-20ea-4c2e-9dee-03613d9ee6ac"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.1 - XPath Double ServType Test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3021,7 +3021,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-/soapenv:Envelope//nmwg:metadata/perfsonar:subject/psservice:service[psservice:serviceName="${#Project#ServiceName}
- ${Thread Properties#ParentThread} - ${Thread Properties#Counter} -
b"]/psservice:accessPoint</path><content>http://s${Thread
Properties#ParentThread}-${Thread
Properties#Counter}-b.${#Project#AccessPoint-name}:${#Project#AccessPoint-port}${#Project#AccessPoint-path}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.1.1 - XPath ServType and ServName
Test"><con:settings/><con:co
nfig xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.1 - XPath ServType and ServName Test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType and
serviceName -->
+/soapenv:Envelope//nmwg:metadata/perfsonar:subject/psservice:service[psservice:serviceName="${#Project#ServiceName}
- ${Thread Properties#ParentThread} - ${Thread Properties#Counter} -
b"]/psservice:accessPoint</path><content>http://s${Thread
Properties#ParentThread}-${Thread
Properties#Counter}-b.${#Project#AccessPoint-name}:${#Project#AccessPoint-port}${#Project#AccessPoint-path}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.1.1 - XPath S
ervType and ServName Test"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.1 - XPath ServType and ServName Test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType and
serviceName -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3087,7 +3087,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-/soapenv:Envelope//nmwg:metadata/perfsonar:subject/psservice:service[psservice:serviceName="${#Project#ServiceName}
- ${Thread Properties#ParentThread} - ${Thread Properties#Counter} -
b"]/psservice:serviceType</path><content>${#Project#serviceType}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.1.1 - XPath count registered Services"
id="52feed01-0381-47fe-b0e8-f83f17ba7f5c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:int
erface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.1 - XPath count registered Services" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Count registered Services -->
+/soapenv:Envelope//nmwg:metadata/perfsonar:subject/psservice:service[psservice:serviceName="${#Project#ServiceName}
- ${Thread Properties#ParentThread} - ${Thread Properties#Counter} -
b"]/psservice:serviceType</path><content>${#Project#serviceType}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.1.1 - XPath count registered Services"
id="52feed01-0381-47fe-b0e8-f83f17ba7f5c"><con:settings/><con:config
xsi:type="con:RequestStep" xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.1 - XPath count registered Services" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Count registered Services -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -3140,7 +3140,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/psservice:datum,
${Thread Properties#ServicesCount} cast as
xs:string?)</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.1.2 - XPath non existing ServName"
id="71031270-b2d2-4b0c-a965-5227b5bd36c9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.2 - XPath non existing ServName" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Query for a non existing service -->
+contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/psservice:datum,
${Thread Properties#ServicesCount} cast as
xs:string?)</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.1.2 - XPath non existing ServName"
id="71031270-b2d2-4b0c-a965-5227b5bd36c9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><
con:operation>message</con:operation><con:request name="2.4.2.1.2 - XPath
non existing ServName" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Query for a non existing service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3193,7 +3193,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-not(exists(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data//perfsonar:subject))</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.1.2 - XPath non existing ServType"
id="557417f8-fb15-4ae2-98cb-1304689faeb0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.2 - XPath non existing ServType" o
utgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Query for non existing serviceType -->
+not(exists(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data//perfsonar:subject))</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.1.2 - XPath non existing ServType"
id="557417f8-fb15-4ae2-98cb-1304689faeb0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.2 - XPath non existing ServType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Query for non existing serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3247,7 +3247,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-not(exists(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data//perfsonar:subject))</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.1.3 - XPath non valid exp"
id="d4d1a993-b994-48a1-81f6-f375637298a8"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.3 - XPath non valid exp" outgoingWss="" in
comingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query but asking for non existing data -->
+not(exists(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data//perfsonar:subject))</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.1.3 - XPath non valid exp"
id="d4d1a993-b994-48a1-81f6-f375637298a8"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2
.4.2.1.3 - XPath non valid exp" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query but asking for non existing data -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3297,7 +3297,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-not(exists(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data//perfsonar:subject))</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.4.2.1.4 - Single IPv4
discovery"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>d2073c66-232a-40b8-98ef-14c90fdb8454</con:targetTestCase><con:properties><con:property><con:name>IPv4</con:name><con:value>62.42.1.1</con:value></con:property><con:property><c
on:name>Quantity</con:name><con:value>1</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="goto" name="No I2 tests (no summary)"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+not(exists(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data//perfsonar:subject))</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.4.2.1.4 - Single IPv4
discovery"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>d2073c66-232a-40b8-98ef-14c90fdb8454</con:targetTestCase><con:properties><con:property><con:name>IPv4</con:name><con:value>62.
42.1.1</con:value></con:property><con:property><con:name>Quantity</con:name><con:value>1</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="goto" name="No I2 tests (no summary)"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -3305,7 +3305,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.4.2.1.4 - Double IPv4
discovery</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.4.2.1.4 - Discovery Summary double IP"
id="4154158b-731d-4b5f-b096-7ea34e89e2d0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.4 - Discovery Summary double IP" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
v
ersion='1.0' encoding='UTF-8'?>
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.4.2.1.4 - Double IPv4
discovery</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.4.2.1.4 - Discovery Summary double IP"
id="4154158b-731d-4b5f-b096-7ea34e89e2d0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.4 - Discovery Summary double IP" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
vers
ion='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -3371,7 +3371,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace
summary='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/';
-/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/summary:subject/nmtb:address</path><content>${#Project#Interface-AddressIPv4}.${=${Thread
Properties#ParentThread}+1}.${=Integer.parseInt("${Thread
Properties#Counter}").mod(254)+1}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="calltestcase" name="2.4.2.1.4 - Double IPv4
discovery"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>d2073c66-232a-40b8-98ef-14c90fdb8454</con
:targetTestCase><con:properties><con:property><con:name>IPv4</con:name><con:value>62.40.1.1</con:value></con:property><con:property><con:name>Quantity</con:name><con:value>2</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.4.2.1.5 - Non existing IPv4
discovery"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>d2073c66-232a-40b8-98ef-14c90fdb8454</con:targetTestCase><con:properties><con:property><con:name>IPv4</con:name><con:value>62.30.1.1</con:value></con:property><con:property><con:name>Quantity</con:name><con:value>0</con:value></con:property><con:property><con:name>accessPoint</con:name></co
n:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.4.2.1.4 - Discovery utilization eventType"
id="f7e3ec2a-57c4-4b17-8336-d973038d19df"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.4 - Discovery utilization eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/summary:subject/nmtb:address</path><content>${#Project#Interface-AddressIPv4}.${=${Thread
Properties#ParentThread}+1}.${=Integer.parseInt("${Thread
Properties#Counter}").mod(254)+1}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="calltestcase" name="2.4.2.1.4 - Double IPv4
discovery"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetT
estCase>d2073c66-232a-40b8-98ef-14c90fdb8454</con:targetTestCase><con:properties><con:property><con:name>IPv4</con:name><con:value>62.40.1.1</con:value></con:property><con:property><con:name>Quantity</con:name><con:value>2</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="2.4.2.1.5 - Non existing IPv4
discovery"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>d2073c66-232a-40b8-98ef-14c90fdb8454</con:targetTestCase><con:properties><con:property><con:name>IPv4</con:name><con:value>62.30.1.1</con:value></con:property><con:property><con:name>Quantity</con:name><con:value>0</con:value></con:property><
con:property><con:name>accessPoint</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="2.4.2.1.4 - Discovery utilization eventType"
id="f7e3ec2a-57c4-4b17-8336-d973038d19df"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.4 - Discovery utilization eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1
.0' encoding='UTF-8'?>
<!-- Query for all the utilisation data registered -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:axis="http://axis2interface.service.base2.perfsonar.org">
<soapenv:Header/>
@@ -3417,7 +3417,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/perfsonar:subject)>=2</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.1.6 - Discovery non valid
exp"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.6 - Discovery non valid exp" outgoingWss=""
incomingWss=""><con:settin
gs><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/perfsonar:subject)>=2</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.1.6 - Discovery non valid
exp"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.1.6 - Discovery non val
id exp" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:axis="http://axis2interface.service.base2.perfsonar.org">
<soapenv:Header/>
@@ -3470,7 +3470,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Registrations and
queries"><con:settings/><con:threadCount>20</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:lim
itType><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:setupScript>//
Init an empty DB
+count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Registrations and
queries"><con:settings/><con:threadCount>20</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:testLim
it>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:setupScript>//
Init an empty DB
def tc = loadTestRunner.loadTest.testCase
def initscript =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initscript.run(null, false)
@@ -3495,7 +3495,7 @@
} else
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.4.2.2.1 - Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:
testStep type="request" name="2.4.2.2.1 - Bad nmwg
NS"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.1 - Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.4.2.2.1 - Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:
testStep type="request" name="2.4.2.2.1 - Bad nmwg
NS"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.1 - Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3545,7 +3545,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.2.2 - Bad xquery tag"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.2 - Bad xquery tag" outgoingWss="" incomingWss=""><
con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.2.2 - Bad xquery tag"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.2
- Bad xquery tag" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3595,7 +3595,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.2.3 - Summary Bad nmwg
NS"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.3 - Summary Bad nmwg NS" outgoingWss="" incomi
ngWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.2.3 - Summary Bad nmwg
NS"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2
.2.3 - Summary Bad nmwg NS" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -3641,7 +3641,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.2.4 - Summary Bad tag"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.4 - Summary Bad tag" outgoingWss="" incomingWss=""
><con:settings><con:setting
>id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
> version='1.0' encoding='UTF-8'?>
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.2.4 - Summary Bad tag"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.4
- Summary Bad tag" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -3687,7 +3687,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.
0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -3695,7 +3695,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.4.2.2.6 - No message
type</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.4.2.2.5 - No metadata/data
pair"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.5 - No metadata/data pair" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.4.2.2.6 - No message
type</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.4.2.2.5 - No metadata/data
pair"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.5 - No metadata/data pair" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -3740,7 +3740,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.2.6 - No message type"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.6 - No message type" outgoingWss
="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.2.6 - No message type"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:reque
st name="2.4.2.2.6 - No message type" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3790,7 +3790,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(no_message_type|transport\.parse_error)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.2.7 - Bad eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.7 - Bad eventType" outgoingWss="" incomingW
ss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(no_message_type|transport\.parse_error)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.2.7 - Bad eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.
4.2.2.7 - Bad eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3841,7 +3841,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/unsupported query
message|\.ls\.query\.eventType)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.2.8 - No eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.8 - No eventType" outgoingWss="" in
comingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/unsupported query
message|\.ls\.query\.eventType)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.2.8 - No eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.2.8 - No eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3891,7 +3891,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(no_event_type|ls\.query\.eventType)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data - 2.4.2.3" searchProperties="true"
timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="1d4bc99a-33e8-4555-bc94-1a29d3324c03"><con:settings/><con:testStep
type="groovy" name="Se
t Registration Properties"><con:settings/><con:config><script>// Set Herited
properties so that the Test Run have correct values
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(no_event_type|ls\.query\.eventType)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data - 2.4.2.3" searchProperties="true"
timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="1d4bc99a-33e8-4555-bc94-1a29d3324c03"><c
on:settings/><con:testStep type="groovy" name="Set Registration
Properties"><con:settings/><con:config><script>// Set Herited properties so
that the Test Run have correct values
// We store the accessPoint and the lsKey in a property to keep it safe and
be able to re-use it
def tc = testRunner.testCase
def apName = tc.testSuite.project.getPropertyValue("AccessPoint-name")
@@ -3909,7 +3909,7 @@
} else
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.4.2.3.1 - Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:
testStep type="request" name="2.4.2.3.1 - Missing
xquery"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.1 - Missing xquery" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="2.4.2.3.1 - Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties><con:entry>lsKey</con:entry></con:returnProperties><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:
testStep type="request" name="2.4.2.3.1 - Missing
xquery"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.1 - Missing xquery" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3948,7 +3948,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.3.2 - Missing xquery
content"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.2 - Missing xquery content" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.3.2 - Missing xquery
content"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.
4.2.3.2 - Missing xquery content" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -3989,7 +3989,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.3.3 - Bad xquery
content"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.3 - Bad xquery content" outgoingWss="" incoming
Wss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.3.3 - Bad xquery
content"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.
3.3 - Bad xquery content" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4033,7 +4033,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|transport)\.parse_error')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.
0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -4041,7 +4041,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.4.2.3.8 - Missing Summary
element</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.4.2.3.4 - Summary Bad
content"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.4 - Summary Bad content" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.4.2.3.8 - Missing Summary
element</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.4.2.3.4 - Summary Bad
content"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.4 - Summary Bad content" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -4091,7 +4091,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.3.5 - Summary Bad
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.5 - Summary Bad element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@in
line-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.3.5 - Summary Bad
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.5 - Summary Bad element" outgoingWss=""
incomingWss=""><con:settings><con:settin
g
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -4142,7 +4142,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.3.6 - Summary No
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.6 - Summary No element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inli
ne-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.3.6 - Summary No
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.6 - Summary No element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -4192,7 +4192,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.3.7 - Summary and
xquery"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.7 - Summary and xquery" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inli
ne-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.3.7 - Summary and
xquery"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.7 - Summary and xquery" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -4253,7 +4253,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.4.2.3.8 - Missing Summary
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.8 - Missing Summary element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRe
quest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
+count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.4.2.3.8 - Missing Summary
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.4.2.3.8 - Missing Summary element" outgoingWss=""
incomingWss=""><con:settings><co
n:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -4304,12 +4304,12 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:setupScript>//
Init an empty DB
+count(/soapenv:Envelope//perfsonar:subject)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:setupScript>//
Init an empty DB
def initscript =
testSuite.getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initscript.run(null, false)
</con:setupScript></con:testSuite><con:testSuite name="Echo"
id="737cc852-3a97-439e-a52e-416664706e62"><con:description>Echo Requests
messages. GEANT service support DBConnection and DBSchema tests, but I2
services don't.
-The invalid data request actually gives no errored result... not sure it is
intended.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="true"
maxResults="0" name="Correct requests" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="6a908806-14bd-43c0-a930-c286101f7e67" amfAuthorisation="false"
amfEndpoint="" amfLogin=""
amfPassword=""><con:description/><con:settings/><con:testStep type="request"
name="2.5.2.1.1 - Echo Request"
id="788efbc0-de8e-47de-adc7-99b16fdaf4e4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.1 - Echo Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">fal
se</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+The invalid data request actually gives no errored result... not sure it is
intended.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="true"
maxResults="0" name="Correct requests" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="6a908806-14bd-43c0-a930-c286101f7e67" amfAuthorisation="false"
amfEndpoint="" amfLogin=""
amfPassword=""><con:description/><con:settings/><con:testStep type="request"
name="2.5.2.1.1 - Echo Request"
id="788efbc0-de8e-47de-adc7-99b16fdaf4e4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.1 - Echo Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">fal
se</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4339,7 +4339,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>success.echo</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>success.echo</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -4347,7 +4347,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>Empty (keep for I2
switch)</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.5.2.1.2 - Selftest DBConnection yes"
id="aafa6fb0-065a-4b09-8838-164530d29505"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.2 - Selftest DBConnection yes" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>Empty (keep for I2
switch)</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.5.2.1.2 - Selftest DBConnection yes"
id="aafa6fb0-065a-4b09-8838-164530d29505"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.2 - Selftest DBConnection yes" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xml
ns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4400,7 +4400,7 @@
}
assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.1.3 - Selftest DBConnection true"
id="a3430915-d0c4-405a-9538-c53f8cb599e1"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.3 - Selftest DBConnection true" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@requ
est-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.1.3 - Selftest DBConnection true"
id="a3430915-d0c4-405a-9538-c53f8cb599e1"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.3 - Selftest DBConnection true" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4454,7 +4454,7 @@
}
assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.1.4 - Selftest DBConnection test"
id="901d3d5b-399c-49ba-8602-4b2ebcdb9a89"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.4 - Selftest DBConnection test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@requ
est-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.1.4 - Selftest DBConnection test"
id="901d3d5b-399c-49ba-8602-4b2ebcdb9a89"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.4 - Selftest DBConnection test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4508,7 +4508,7 @@
}
assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.1.5 - Selftest DBSchema true"
id="3a1cba9a-9edd-4b9b-a686-b7201e41bda1"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.5 - Selftest DBSchema true" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-head
ers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.1.5 - Selftest DBSchema true"
id="3a1cba9a-9edd-4b9b-a686-b7201e41bda1"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.5 - Selftest DBSchema true" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4562,7 +4562,7 @@
}
assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.1.6 - Selftest DBSchema test"
id="f27ad163-7f2c-4d6e-9237-6115ed7669db"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.6 - Selftest DBSchema test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-head
ers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.1.6 - Selftest DBSchema test"
id="f27ad163-7f2c-4d6e-9237-6115ed7669db"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.6 - Selftest DBSchema test" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4616,7 +4616,7 @@
}
assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.1.7 - Selftest DBSchema
yes"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.7 - Selftest DBSchema yes" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:s
ettings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.1.7 - Selftest DBSchema
yes"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.7 - Selftest DBSchema yes" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4670,7 +4670,7 @@
}
assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.1.8 - Selftest DBConnectionSchema
yes"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.8 - Selftest DBConnectionSchema yes" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.1.8 - Selftest DBConnectionSchema
yes"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.1.8 - Selftest DBConnectionSchema yes" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4724,7 +4724,7 @@
}
assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="properties" name="Empty (keep for I2
switch)"><con:settings/><con:config xsi:type="con:PropertiesStep"
saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:loadTest
name="Echo LoadTest"
id="e5a889b1-7125-4aac-a5bd-c6e5e331be0a"><con:settings/><con:threadCount>32</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountCh
ange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:statisticsLogFolder/><con:statisticsLogInterval>0</con:statisticsLogInterval><con:logStatisticsOnThreadChange>false</con:logStatisticsOnThreadChange><con:cancelOnReachedLimit>false</con:cancelOnReachedLimit><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:updateStatisticsPerTestStep>false</con:updateStatisticsPerTestStep></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="43f43874-cc59-4e93-9fa9-5fe0fc90d8e1"><con:settings/>
<con:testStep type="request" name="2.5.2.2.1 - No nmwg:data"
id="b568eef6-931b-4b3f-84ba-680b4d824467"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.2.1 - No nmwg:data" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="properties" name="Empty (keep for I2
switch)"><con:settings/><con:config xsi:type="con:PropertiesStep"
saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:loadTest
name="Echo LoadTest"
id="e5a889b1-7125-4aac-a5bd-c6e5e331be0a"><con:settings/><con:threadCount>32</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCou
ntChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:statisticsLogFolder/><con:statisticsLogInterval>0</con:statisticsLogInterval><con:logStatisticsOnThreadChange>false</con:logStatisticsOnThreadChange><con:cancelOnReachedLimit>false</con:cancelOnReachedLimit><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:updateStatisticsPerTestStep>false</con:updateStatisticsPerTestStep></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" id="43f4
3874-cc59-4e93-9fa9-5fe0fc90d8e1"><con:settings/><con:testStep
type="request" name="2.5.2.2.1 - No nmwg:data"
id="b568eef6-931b-4b3f-84ba-680b4d824467"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.2.1 - No nmwg:data" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4757,7 +4757,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.2.2 - No nmwg:metadata"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.2.2 - No nmwg:metadata" outgoingW
ss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.2.2 - No nmwg:metadata"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:requ
est name="2.5.2.2.2 - No nmwg:metadata" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4784,7 +4784,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.2.3 - Bad message type"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.2.3 - Bad message type" outgoingW
ss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.2.3 - Bad message type"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:requ
est name="2.5.2.2.3 - Bad message type" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4818,7 +4818,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/message_type_not_support|\.common\.action_not_supported)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
Service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/message_type_not_support|\.common\.action_not_supported)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
Service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://
ggf.org/ns/nmwg/result/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -4826,7 +4826,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.5.2.2.5 - Selftest No
metadata/data
pair</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.5.2.2.4 - Bad eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.2.4 - Bad eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/env
elope/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>2.5.2.2.5 - Selftest No
metadata/data
pair</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.5.2.2.4 - Bad eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.2.4 - Bad eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelo
pe/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4860,7 +4860,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.event(_)?type_not_supported')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.2.5 - Selftest No metadata/data
pair"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.2.5 - Selftest No metadata/d
ata pair" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.event(_)?type_not_supported')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.2.5 - Selftest No metadata/data
pair"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con
:request name="2.5.2.2.5 - Selftest No metadata/data pair" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4899,7 +4899,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="695bccb0-a8e3-46c8-924a-a3cd89dc7ac4"><con:settings/><con:testStep
type="request" name
="2.5.2.3.0 - Echo Request"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.0 - Echo Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error\.(common|ls)\.(data_trigger|no_metadata_data_pair)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="695bccb0-a8e3-46c8-924a-a3cd89dc7ac4"
><con:settings/><con:testStep type="request" name="2.5.2.3.0 - Echo
>Request"><con:settings/><con:config xsi:type="con:RequestStep"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
> name="2.5.2.3.0 - Echo Request" outgoingWss=""
>incomingWss=""><con:settings><con:setting
>id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4929,7 +4929,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>success.echo</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="No I2 tests" disabled="true"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
Service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType</path><content>success.echo</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="No I2 tests" disabled="true"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>I2
Service</con:name><con:type>XPATH</con:type><con:expression>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilisation/2.0/';
declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -4937,7 +4937,7 @@
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>Empty (keep for I2
switch)</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.5.2.3.1 - Selftest bad DBSchema !"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.1 - Selftest bad DBSchema !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.
xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+exists(//nmwg:message[starts-with(@id,
"message")])</con:expression><con:targetStep>Empty (keep for I2
switch)</con:targetStep></con:condition></con:config></con:testStep><con:testStep
type="request" name="2.5.2.3.1 - Selftest bad DBSchema !"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.1 - Selftest bad DBSchema !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xml
soap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4987,7 +4987,7 @@
}
assert noOfcorrectEventTypes == 0
-assert noOfbadEventTypes >=
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.3.2 - Selftest bad DBConnection !"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.2 - Selftest bad DBConnection !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fra
gment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes >=
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.3.2 - Selftest bad DBConnection !"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.2 - Selftest bad DBConnection !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.i
mpl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -5040,7 +5040,7 @@
}
assert noOfcorrectEventTypes == 0
-assert noOfbadEventTypes >
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="2.5.2.3.3 - Selftest bad parameter !"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.3 - Selftest bad parameter !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+assert noOfbadEventTypes >
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="2.5.2.3.3 - Selftest bad parameter !"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="2.5.2.3.3 - Selftest bad parameter !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsd
l.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -5093,7 +5093,7 @@
}
assert noOfcorrectEventTypes == 0
-assert noOfbadEventTypes >
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="properties" name="Empty (keep for I2 switch)"
disabled="true"><con:settings/><con:config xsi:type="con:PropertiesStep"
saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Load Tests"
id="d4277068-0d20-49d1-aaa7-e3d31804df68"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Registrations" searchProperties="true" tim
eout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="5d8b6bc0-8038-4d7d-9229-a3129bd0ddbf"><con:description>Lots of
registrations.</con:description><con:settings/><con:testStep type="groovy"
name="Set Herited Properties"><con:settings/><con:config><script>// Set
Herited properties so that the Test Run have correct values
+assert noOfbadEventTypes >
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="properties" name="Empty (keep for I2 switch)"
disabled="true"><con:settings/><con:config xsi:type="con:PropertiesStep"
saveFirst="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Load Tests"
id="d4277068-0d20-49d1-aaa7-e3d31804df68"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0"
name="Registrations" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="5d8b6bc0-8038-4d7d-9229-a3129bd0ddbf"><con:description>Lots of
registrations.</con:description><con:settings/><con:testStep type="groovy"
name="Set Herited Properties"><con:settings/><con:config><script>// Set
Herited properties so that the Test Run have correct values
// We store the lsKey in a property to keep it safe and be able to re-use it
def tc = testRunner.testCase
def apName = tc.testSuite.project.getPropertyValue("AccessPoint-name")
@@ -5177,7 +5177,7 @@
} else
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</script></con:config></con:testStep><con:testStep type="request" name="Test
Single Service exist"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Single Service exist" outgoingWss=""
incomingWss=""><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType and
serviceName -->
+</script></con:config></con:testStep><con:testStep type="request" name="Test
Single Service exist"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Single Service exist" outgoingWss=""
incomingWss=""><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType and
serviceName -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -5208,7 +5208,7 @@
</nmwg:message>
</soapenv:Body>
</soapenv:Envelope>
-]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="Condition Single Service"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>Count
results</con:name><con:type>XPATH</con:type><con:expression>declare
namespace psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="Condition Single Service"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>Count
results</con:name><con:type>XPATH</con:type><con:expression>declare
namespace psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
@@ -5221,7 +5221,7 @@
if (prop) counter = prop.toInteger()
else counter = 0
ts.setPropertyValue("ServicesCounter", String.format('%d',++counter))
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0012</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0028.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0012.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="Test Double Se
rvice exist"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Double Service exist" outgoingWss=""
incomingWss=""><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType and
serviceName -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0012</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0028.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0012.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="Test Double Se
rvice exist"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Double Service exist" outgoingWss=""
incomingWss=""><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType and
serviceName -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -5252,7 +5252,7 @@
</nmwg:message>
</soapenv:Body>
</soapenv:Envelope>
-]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="Condition Double Service"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>Count
results</con:name><con:type>XPATH</con:type><con:expression>declare
namespace psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="Condition Double Service"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>Count
results</con:name><con:type>XPATH</con:type><con:expression>declare
namespace psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
@@ -5265,7 +5265,7 @@
if (prop) counter = prop.toInteger()
else counter = 0
ts.setPropertyValue("ServicesCounter", String.format('%d',++counter))
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Double Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0026</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0020-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0020-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0026-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchive
Service</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0026-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="Test Dereg Service exist"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Dereg Service exist" outgoingWss=""
incomingWss=""><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://ls-1-6-c5:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registere
d services of given serviceType and serviceName -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Double Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0026</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0020-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0020-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0026-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchive
Service</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0026-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="Test Dereg Service exist"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Dereg Service exist" outgoingWss=""
incomingWss=""><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered s
ervices of given serviceType and serviceName -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -5296,7 +5296,7 @@
</nmwg:message>
</soapenv:Body>
</soapenv:Envelope>
-]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><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="goto" name="Condition Dereg Service"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>Count
results</con:name><con:type>XPATH</con:type><con:expression>declare
namespace psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><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="goto" name="Condition Dereg Service"><con:settings/><con:config
xsi:type="con:GotoStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:condition><con:name>Count
results</con:name><con:type>XPATH</con:type><con:expression>declare
namespace psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
- [pS-dev] [GEANT/SA2/ps-java-services] r6249 - in trunk: perfsonar-base/messaging perfsonar-java-rrd-ma -SQL_backend perfsonar-java-rrd-ma-SQL_backend/samples /requests perfsonar-java-rrd-ma-SQL_backend/samples/rrd perfsonar-java-rrd-ma-SQL_backend/soapUI perfsonar-java- rrd-ma-SQL_backend/soapUI/rnc perfsonar-java-rrd-ma-SQL _backend/src/deb perfsonar-java-rrd-ma-SQL_backend/src /main/java/org/perfsonar/service/measurementArchive/rrdTyp e perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/pe rfsonar/service/measurementArchive/rrdType/storage perfson ar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/s ervice/measurementArchive/rrdType/storage/sql perfsonar-ja va-rrd-ma-SQL_backend/src/main/java/org/perfsonar/servic e/measurementArchive/rrdType/storage/sql/query perfsonar-j ava-rrd-ma-SQL_backend/src/main/resources/perfsonar/conf perfsonar-java-rrd-ma-SQL_backend/src/test/resources/pe rfsonar/conf perfsonar-java-xml-ls/soapUI, svn-noreply, 04/17/2013
Archive powered by MHonArc 2.6.16.