perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5900 - in trunk/perfsonar-java-xml-ls: . log4j log4j/developm ent log4j/test packaging packaging/debian src/main/java/or g/perfsonar/service/lookupservice src/main/java/org/perfso nar/service/lookupservice/components src/main/java/org/per fsonar/service/lookupservice/registerService src/main/java /org/perfsonar/service/lookupservice/registration/summariz ation src/main/java/org/perfsonar/service/lookupservice/sc hedulerActions src/main/java/org/perfsonar/service/lookups ervice/servlets src/main/java/org/perfsonar/service/lookup service/storage src/main/java/org/perfsonar/service/lookup service/storage/exist src/main/java/org/perfsonar/service/ lookupservice/storage/exist/dao src/main/resources/perfson ar/conf src/main/webapp/WEB-INF src/test src/test/java/org /perfsonar/tests src/test/java/org/perfsonar/tests/actions src/test/java/org/perfsonar/tests/components src/test/jav a/org/perfsonar/tests/dao src/test/java/org/perfsonar/test s/suite src/test/jav a/org/perfsonar/tests/summarization s rc/test/java/org/perfsonar/tests/utilities src/test/resour ces src/test/resources/perfsonar src/test/resources/perfso nar/conf src/test/soapUI
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r5900 - in trunk/perfsonar-java-xml-ls: . log4j log4j/developm ent log4j/test packaging packaging/debian src/main/java/or g/perfsonar/service/lookupservice src/main/java/org/perfso nar/service/lookupservice/components src/main/java/org/per fsonar/service/lookupservice/registerService src/main/java /org/perfsonar/service/lookupservice/registration/summariz ation src/main/java/org/perfsonar/service/lookupservice/sc hedulerActions src/main/java/org/perfsonar/service/lookups ervice/servlets src/main/java/org/perfsonar/service/lookup service/storage src/main/java/org/perfsonar/service/lookup service/storage/exist src/main/java/org/perfsonar/service/ lookupservice/storage/exist/dao src/main/resources/perfson ar/conf src/main/webapp/WEB-INF src/test src/test/java/org /perfsonar/tests src/test/java/org/perfsonar/tests/actions src/test/java/org/perfsonar/tests/components src/test/jav a/org/perfsonar/tests/dao src/test/java/org/perfsonar/test s/suite src/test/jav a/org/perfsonar/tests/summarization s rc/test/java/org/perfsonar/tests/utilities src/test/resour ces src/test/resources/perfsonar src/test/resources/perfso nar/conf src/test/soapUI
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5900 - in trunk/perfsonar-java-xml-ls: . log4j log4j/developm ent log4j/test packaging packaging/debian src/main/java/or g/perfsonar/service/lookupservice src/main/java/org/perfso nar/service/lookupservice/components src/main/java/org/per fsonar/service/lookupservice/registerService src/main/java /org/perfsonar/service/lookupservice/registration/summariz ation src/main/java/org/perfsonar/service/lookupservice/sc hedulerActions src/main/java/org/perfsonar/service/lookups ervice/servlets src/main/java/org/perfsonar/service/lookup service/storage src/main/java/org/perfsonar/service/lookup service/storage/exist src/main/java/org/perfsonar/service/ lookupservice/storage/exist/dao src/main/resources/perfson ar/conf src/main/webapp/WEB-INF src/test src/test/java/org /perfsonar/tests src/test/java/org/perfsonar/tests/actions src/test/java/org/perfsonar/tests/components src/test/jav a/org/perfsonar/tests/dao src/test/java/org/perfsonar/test s/suite src/test/jav a/org/perfsonar/tests/summarization s rc/test/java/org/perfsonar/tests/utilities src/test/resour ces src/test/resources/perfsonar src/test/resources/perfso nar/conf src/test/soapUI
- Date: Thu, 8 Mar 2012 11:08:46 +0000 (GMT)
Author: dante.delvaux
Date: 2012-03-08 11:08:46 +0000 (Thu, 08 Mar 2012)
New Revision: 5900
Added:
trunk/perfsonar-java-xml-ls/log4j/development/
trunk/perfsonar-java-xml-ls/log4j/development/log4j.properties
trunk/perfsonar-java-xml-ls/packaging/debian/
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.dirs
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.docs
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.install
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.postinst
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.postrm
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.preinst
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.prerm
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DiscoveryQueryGeneratorTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/suite/
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/suite/LSTestSuite.java
trunk/perfsonar-java-xml-ls/src/test/resources/
trunk/perfsonar-java-xml-ls/src/test/resources/perfsonar/
trunk/perfsonar-java-xml-ls/src/test/resources/perfsonar/conf/
trunk/perfsonar-java-xml-ls/src/test/resources/perfsonar/conf/configuration.xml
Removed:
trunk/perfsonar-java-xml-ls/packaging/deb/
trunk/perfsonar-java-xml-ls/packaging/debian/dirs
trunk/perfsonar-java-xml-ls/packaging/debian/docs
trunk/perfsonar-java-xml-ls/packaging/debian/files
trunk/perfsonar-java-xml-ls/packaging/debian/install
trunk/perfsonar-java-xml-ls/packaging/debian/postinst
trunk/perfsonar-java-xml-ls/packaging/debian/postrm
trunk/perfsonar-java-xml-ls/packaging/debian/preinst
trunk/perfsonar-java-xml-ls/packaging/debian/prerm
trunk/perfsonar-java-xml-ls/packaging/package.conf
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/utilities/ExistDBManagerTests.java
Modified:
trunk/perfsonar-java-xml-ls/
trunk/perfsonar-java-xml-ls/log4j/test/log4j.properties
trunk/perfsonar-java-xml-ls/packaging/debian/changelog
trunk/perfsonar-java-xml-ls/packaging/debian/conffiles
trunk/perfsonar-java-xml-ls/packaging/debian/control
trunk/perfsonar-java-xml-ls/packaging/debian/rules
trunk/perfsonar-java-xml-ls/packaging/package.sh
trunk/perfsonar-java-xml-ls/pom.xml
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/DiscoveryQueryGenerator.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/EchoServiceEngine.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSDiscoveryAction.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSQueryAction.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSRegisterServiceEngine.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/components/ModificationCounterComponent.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/components/XMLDBComponent.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/registerService/LSRegisterServiceHelper.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/registration/summarization/SummarizeIpAddrs.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/schedulerActions/SummarySynchronizationAction.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/servlets/ExistDbInitializerServlet.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/LookupServiceDAOFactory.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/XQueryDAOSupportImpl.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/MultipleFilesDAOImpl.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/SingleFileDAOImpl.java
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/SummarizationDAOImpl.java
trunk/perfsonar-java-xml-ls/src/main/resources/perfsonar/conf/configuration.xml
trunk/perfsonar-java-xml-ls/src/main/webapp/WEB-INF/web.xml
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DeregistrationActionTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/EchoActionTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/QueryActionTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/RegistrationActionTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/DataSourceComponentTest.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/ModificationCounterComponentTest.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/XMLDBComponentTest.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/CommonExistDaoTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/SummarizationDaoTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/XQueryExistDAOImplTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/summarization/SummarizationTests.java
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/utilities/AsynchTester.java
trunk/perfsonar-java-xml-ls/src/test/soapUI/perfsonar-LS-base2-soapui-project.xml
Log:
All XML-DB collections are now correctly created as the lookup service user,
refs PSSERVICES-563
Other changes:
- improved code readability and debugging:
- better logging and exception handling
- added and clarified some code documentation
- improved testing:
- better unit testing coverage
- better functional testing with SaopUI
- improved build process
- webadmin configuration included in web.xml servlet configuration
- better Maven configuration
- better Debian package building
Property changes on: trunk/perfsonar-java-xml-ls
___________________________________________________________________
Modified: svn:ignore
- jars
bin
target
.classpath
.project
.settings
+ jars
bin
target
.classpath
.project
.settings
.gitignore
Added: trunk/perfsonar-java-xml-ls/log4j/development/log4j.properties
===================================================================
--- trunk/perfsonar-java-xml-ls/log4j/development/log4j.properties
(rev 0)
+++ trunk/perfsonar-java-xml-ls/log4j/development/log4j.properties
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,19 @@
+log4j.rootLogger=WARN, stdout
+
+#log4j.logger.org.perfsonar=INFO
+#log4j.logger.org.perfsonar.service.lookupservice=INFO
+log4j.logger.org.perfsonar.service.lookupservice.DiscoveryQueryGenerator=TRACE
+#log4j.logger.org.perfsonar.service.lookupservice.LSRegisterServiceEngine=TRACE
+#log4j.logger.org.perfsonar.service.lookupservice.LSQueryServiceEngine=DEBUG
+#log4j.logger.org.perfsonar.service.lookupservice.LSQueryAction=DEBUG
+#log4j.logger.org.perfsonar.service.lookupservice.components=DEBUG
+#log4j.logger.org.perfsonar.service.lookupservice.components.XMLDBComponent=TRACE
+#log4j.logger.org.perfsonar.service.lookupservice.storage=DEBUG
+log4j.logger.org.perfsonar.tests=DEBUG
+#log4j.logger.org.perfsonar.base2.service.configuration=DEBUG
+#log4j.logger.org.exist.xmldb=DEBUG
+#log4j.logger.org.exist.protocolhandler.xmlrpc=DEBUG
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d - [%p] %c{1}:%L - %m%n
Property changes on:
trunk/perfsonar-java-xml-ls/log4j/development/log4j.properties
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/perfsonar-java-xml-ls/log4j/test/log4j.properties
===================================================================
--- trunk/perfsonar-java-xml-ls/log4j/test/log4j.properties 2012-03-08
10:34:48 UTC (rev 5899)
+++ trunk/perfsonar-java-xml-ls/log4j/test/log4j.properties 2012-03-08
11:08:46 UTC (rev 5900)
@@ -6,11 +6,9 @@
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%p] %c{1}:%L - %m%n
-
log4j.appender.out=org.apache.log4j.RollingFileAppender
-log4j.appender.out.MaxFileSize=100KB
-log4j.appender.out.MaxBackupIndex=1
+log4j.appender.out.MaxFileSize=10MB
+log4j.appender.out.MaxBackupIndex=2
log4j.appender.out.layout=org.apache.log4j.PatternLayout
-log4j.appender.out.layout.ConversionPattern=[%p] %c{1} - %m%n
+log4j.appender.out.layout.ConversionPattern=%d - [%p] %c{1} - %m%n
log4j.appender.out.File=../logs/perfsonar.log
-
Modified: trunk/perfsonar-java-xml-ls/packaging/debian/changelog
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/changelog 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/changelog 2012-03-08
11:08:46 UTC (rev 5900)
@@ -1,3 +1,8 @@
+perfsonar-java-xml-ls (1.5.1-1) stable; urgency=low
+
+ * Fixes: PSSERVICES-572, PSSERVICES-563, PSSERVICES-558
+ -- Antoine Delvaux
<>
Thu, 08 Mar 2012 10:20:00 +0000
+
perfsonar-java-xml-ls (1.5-1) stable; urgency=low
* Final release
Modified: trunk/perfsonar-java-xml-ls/packaging/debian/conffiles
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/conffiles 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/conffiles 2012-03-08
11:08:46 UTC (rev 5900)
@@ -1,6 +1,5 @@
-/usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/classes/perfsonar/conf/configuration.xml
-/usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/classes/perfsonar/conf/configuration-rules.xml
-/usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/classes/log4j.properties
-/usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/conf/axis2.xml
-/usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/web.xml
-
+usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/classes/perfsonar/conf/configuration.xml
+usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/classes/perfsonar/conf/configuration-rules.xml
+usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/classes/log4j.properties
+usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/conf/axis2.xml
+usr/lib/perfsonar/services/perfsonar-java-xml-ls/WEB-INF/web.xml
Modified: trunk/perfsonar-java-xml-ls/packaging/debian/control
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/control 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/control 2012-03-08
11:08:46 UTC (rev 5900)
@@ -1,12 +1,13 @@
Source: perfsonar-java-xml-ls
Section: web
Priority: extra
-Maintainer: Krzysztof Jedrzejewski
<>
+Maintainer: Antoine Delvaux
<>
+Homepage: http://perfsonar.forge.geant.net
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2
Package: perfsonar-java-xml-ls
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, exist, java6-runtime, tomcat5.5
+# an issue exists with JAVA_HOME in tomcat5.5
+Depends: sun-java6-jdk, tomcat5.5, exist (>=1.2.6)
Description: perfSONAR Lookup Service
-
Deleted: trunk/perfsonar-java-xml-ls/packaging/debian/dirs
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/dirs 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/dirs 2012-03-08 11:08:46
UTC (rev 5900)
@@ -1,3 +0,0 @@
-/usr/lib/perfsonar/services/perfsonar-java-xml-ls
-/usr/lib/perfsonar/services/geant2-java-xml-ls
-/var/run/perfsonar-java-xml-ls
Deleted: trunk/perfsonar-java-xml-ls/packaging/debian/docs
===================================================================
Deleted: trunk/perfsonar-java-xml-ls/packaging/debian/files
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/files 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/files 2012-03-08 11:08:46
UTC (rev 5900)
@@ -1 +0,0 @@
-perfsonar-java-xml-ls_2.0-1_all.deb web extra
Deleted: trunk/perfsonar-java-xml-ls/packaging/debian/install
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/install 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/install 2012-03-08
11:08:46 UTC (rev 5900)
@@ -1,5 +0,0 @@
-build/perfsonar-java-xml-ls/*
/usr/lib/perfsonar/services/perfsonar-java-xml-ls
-build/geant2-java-xml-ls/* /usr/lib/perfsonar/services/geant2-java-xml-ls
-doc/* /usr/lib/perfsonar/services/perfsonar-java-xml-ls/doc
-samples/* /usr/lib/perfsonar/services/perfsonar-java-xml-ls/samples
-
Added: trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.dirs
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.dirs
(rev 0)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.dirs
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,3 @@
+usr/lib/perfsonar/services/perfsonar-java-xml-ls
+usr/lib/perfsonar/services/geant2-java-xml-ls
+var/run/perfsonar-java-xml-ls
Added: trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.docs
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.docs
(rev 0)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.docs
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,2 @@
+perfsonar-java-xml-ls/doc/Collaboration.txt
+perfsonar-java-xml-ls/doc/License.txt
\ No newline at end of file
Added:
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.install
===================================================================
---
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.install
(rev 0)
+++
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.install
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,8 @@
+perfsonar-java-xml-ls/db usr/lib/perfsonar/services/perfsonar-java-xml-ls
+perfsonar-java-xml-ls/META-INF
usr/lib/perfsonar/services/perfsonar-java-xml-ls
+perfsonar-java-xml-ls/schema usr/lib/perfsonar/services/perfsonar-java-xml-ls
+perfsonar-java-xml-ls/temp usr/lib/perfsonar/services/perfsonar-java-xml-ls
+perfsonar-java-xml-ls/WEB-INF
usr/lib/perfsonar/services/perfsonar-java-xml-ls
+geant2-java-xml-ls usr/lib/perfsonar/services
+wa usr/lib/perfsonar/services/perfsonar-java-xml-ls
+index.jsp usr/lib/perfsonar/services/perfsonar-java-xml-ls
Added:
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.postinst
===================================================================
---
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.postinst
(rev 0)
+++
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.postinst
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,88 @@
+#!/bin/sh
+# postinst script for perfsonar-java-xml-ls
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+OLD_SERVICENAME="geant2-java-xml-ls"
+SERVICENAME="perfsonar-java-xml-ls"
+SERVICEPATH="/usr/lib/perfsonar/services"
+
+
+
+case "$1" in
+ configure)
+ if [ -h /var/lib/tomcat5.5/webapps/$SERVICENAME ]
+ then
+ rm -rf /var/lib/tomcat5.5/webapps/$SERVICENAME
+ fi
+ ln -sf $SERVICEPATH/$SERVICENAME /var/lib/tomcat5.5/webapps/$SERVICENAME
|| true
+ if [ -h /etc/$SERVICENAME ]
+ then
+ rm -rf /etc/$SERVICENAME
+ fi
+ ln -sf $SERVICEPATH/$SERVICENAME/WEB-INF/classes/perfsonar/conf
/etc/$SERVICENAME || true
+
+ if [ -h /var/log/$SERVICENAME ]
+ then
+ rm -rf /var/log/$SERVICENAME
+ fi
+ mkdir -p $SERVICEPATH/$SERVICENAME/WEB-INF/log
+ ln -sf $SERVICEPATH/$SERVICENAME/WEB-INF/log /var/log/$SERVICENAME ||
true
+
+ if [ -h /usr/share/doc/$SERVICENAME/spec ]
+ then
+ rm -rf /usr/share/doc/$SERVICENAME/spec
+ fi
+ ln -sf $SERVICEPATH/$SERVICENAME/doc /usr/share/doc/$SERVICENAME/spec ||
true
+ # servlet-context-redirector
+ ln -sf $SERVICEPATH/$OLD_SERVICENAME
/var/lib/tomcat5.5/webapps/$OLD_SERVICENAME
+
+ chown -R tomcat55
$SERVICEPATH/$SERVICENAME/WEB-INF/classes/perfsonar/conf
+ chown tomcat55 $SERVICEPATH/$SERVICENAME/WEB-INF/log
+
+ /etc/init.d/tomcat5.5 stop
+
+ # Correct Tomcat configuration so we can start without errors
+ if [[ `grep -c '^JAVA_HOME' /etc/default/tomcat5.5` == 0 ]]
+ then
+ sed -i
's/#JAVA_HOME=\/usr\/lib\/jvm\/java-6-sun/JAVA_HOME=\/usr\/lib\/jvm\/java-6-sun/'
/etc/default/tomcat5.5
+ fi
+ if [[ `grep -c '^TOMCAT5_SECURITY' /etc/default/tomcat5.5` == 0 ]]
+ then
+ sed -i 's/#TOMCAT5_SECURITY=yes/TOMCAT5_SECURITY=no/'
/etc/default/tomcat5.5
+ fi
+
+ /etc/init.d/tomcat5.5 restart
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
Added:
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.postrm
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.postrm
(rev 0)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.postrm
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,72 @@
+#!/bin/sh
+# postrm script for geant2-java-xml-ls
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+SERVICENAME="perfsonar-java-xml-ls"
+OLD_SERVICENAME="geant2-java-xml-ls"
+SERVICEPATH="/usr/lib/perfsonar/services"
+
+
+case "$1" in
+ purge)
+ if [ -h /var/lib/tomcat5.5/webapps/$SERVICENAME ]
+ then
+ rm /var/lib/tomcat5.5/webapps/$SERVICENAME
+ fi
+
+ if [ -h /etc/$SERVICENAME ]
+ then
+ rm /etc/$SERVICENAME
+ fi
+
+ if [ -h /var/log/$SERVICENAME ]
+ then
+ rm /var/log/$SERVICENAME
+ fi
+ rm -fr $SERVICEPATH/$SERVICENAME/WEB-INF/log
+
+ if [ -h /usr/share/doc/$SERVICENAME/spec ]
+ then
+ rm /usr/share/doc/$SERVICENAME/spec
+ fi
+
+ if [ -h /usr/share/tomcat5.5/webapps/$OLD_SERVICENAME ]
+ then
+ rm -rf /usr/share/tomcat5.5/webapps/$OLD_SERVICENAME
+ fi
+ ;;
+
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
Added:
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.preinst
===================================================================
---
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.preinst
(rev 0)
+++
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.preinst
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,89 @@
+#!/bin/sh
+# preinst script for perfsonar-java-xml-ls
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+SERVICEPATH="/usr/lib/perfsonar/services"
+SERVICENAME="geant2-java-xml-ls"
+
+
+
+case "$1" in
+ install|upgrade)
+
+ if [ -f /etc/init.d/tomcat5.5 ]
+ then
+ /etc/init.d/tomcat5.5 stop
+ fi
+
+ if [ -f /etc/default/tomcat5.5 ]
+ then
+ # Correct Tomcat configuration so we can start
+ if [[ `grep -c '^JAVA_HOME' /etc/default/tomcat5.5` == 0 ]]
+ then
+ sed -i
's/#JAVA_HOME=\/usr\/lib\/jvm\/java-6-sun/JAVA_HOME=\/usr\/lib\/jvm\/java-6-sun/'
/etc/default/tomcat5.5
+ fi
+ if [[ `grep -c '^TOMCAT5_SECURITY' /etc/default/tomcat5.5` == 0 ]]
+ then
+ sed -i 's/#TOMCAT5_SECURITY=yes/TOMCAT5_SECURITY=no/'
/etc/default/tomcat5.5
+ fi
+ fi
+
+ if [ -h $SERVICEPATH/$SERVICENAME ]
+ then
+ rm -rf $SERVICEPATH/$SERVICENAME
+ fi
+
+ if [ -h /var/lib/tomcat5.5/webapps/$SERVICENAME ]
+ then
+ rm -rf /var/lib/tomcat5.5/webapps/$SERVICENAME
+ fi
+
+ if [ -h /usr/share/tomcat5.5/webapps/$SERVICENAME ]
+ then
+ rm -rf /usr/share/tomcat5.5/webapps/$SERVICENAME
+ fi
+
+ if [ -h /etc/$SERVICENAME ]
+ then
+ rm -rf /etc/$SERVICENAME
+ fi
+
+ if [ -h /var/log/$SERVICENAME ]
+ then
+ rm -rf /var/log/$SERVICENAME
+ fi
+
+ if [ -h /usr/share/doc/$SERVICENAME/spec ]
+ then
+ rm -rf /usr/share/doc/$SERVICENAME/spec
+ fi
+
+ ;;
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
Added:
trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.prerm
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.prerm
(rev 0)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/perfsonar-java-xml-ls.prerm
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,40 @@
+#!/bin/sh
+# prerm script for geant2-java-xml-ls
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
Deleted: trunk/perfsonar-java-xml-ls/packaging/debian/postinst
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/postinst 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/postinst 2012-03-08
11:08:46 UTC (rev 5900)
@@ -1,76 +0,0 @@
-#!/bin/sh
-# postinst script for geant2-java-xml-ls
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <postinst> `abort-remove'
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-OLD_SERVICENAME="geant2-java-xml-ls"
-SERVICENAME="perfsonar-java-xml-ls"
-SERVICEPATH="/usr/lib/perfsonar/services"
-
-
-
-case "$1" in
- configure)
- if [ -h /var/lib/tomcat5.5/webapps/$SERVICENAME ]
- then
- rm -rf /var/lib/tomcat5.5/webapps/$SERVICENAME
- fi
- ln -sf $SERVICEPATH/$SERVICENAME /var/lib/tomcat5.5/webapps/$SERVICENAME
|| true
- if [ -h /etc/$SERVICENAME ]
- then
- rm -rf /etc/$SERVICENAME
- fi
- ln -sf $SERVICEPATH/$SERVICENAME/WEB-INF/classes/perfsonar/conf
/etc/$SERVICENAME || true
-
- if [ -h /var/log/$SERVICENAME ]
- then
- rm -rf /var/log/$SERVICENAME
- fi
- mkdir -p $SERVICEPATH/$SERVICENAME/WEB-INF/log
- ln -sf $SERVICEPATH/$SERVICENAME/WEB-INF/log /var/log/$SERVICENAME ||
true
-
- if [ -h /usr/share/doc/$SERVICENAME/spec ]
- then
- rm -rf /usr/share/doc/$SERVICENAME/spec
- fi
- ln -sf $SERVICEPATH/$SERVICENAME/doc /usr/share/doc/$SERVICENAME/spec ||
true
- # servlet-context-redirector
- ln -sf $SERVICEPATH/$OLD_SERVICENAME
/var/lib/tomcat5.5/webapps/$OLD_SERVICENAME
-
- chown -R tomcat55
$SERVICEPATH/$SERVICENAME/WEB-INF/classes/perfsonar/conf
- chown tomcat55 $SERVICEPATH/$SERVICENAME/WEB-INF/log
-
- /etc/init.d/tomcat5.5 restart
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Deleted: trunk/perfsonar-java-xml-ls/packaging/debian/postrm
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/postrm 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/postrm 2012-03-08 11:08:46
UTC (rev 5900)
@@ -1,72 +0,0 @@
-#!/bin/sh
-# postrm script for geant2-java-xml-ls
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <overwriter>
-# <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-SERVICENAME="perfsonar-java-xml-ls"
-OLD_SERVICENAME="geant2-java-xml-ls"
-SERVICEPATH="/usr/lib/perfsonar/services"
-
-
-case "$1" in
- purge)
- if [ -h /var/lib/tomcat5.5/webapps/$SERVICENAME ]
- then
- rm /var/lib/tomcat5.5/webapps/$SERVICENAME
- fi
-
- if [ -h /etc/$SERVICENAME ]
- then
- rm /etc/$SERVICENAME
- fi
-
- if [ -h /var/log/$SERVICENAME ]
- then
- rm /var/log/$SERVICENAME
- fi
- rm -fr $SERVICEPATH/$SERVICENAME/WEB-INF/log
-
- if [ -h /usr/share/doc/$SERVICENAME/spec ]
- then
- rm /usr/share/doc/$SERVICENAME/spec
- fi
-
- if [ -h /usr/share/tomcat5.5/webapps/$OLD_SERVICENAME ]
- then
- rm -rf /usr/share/tomcat5.5/webapps/$OLD_SERVICENAME
- fi
- ;;
-
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Deleted: trunk/perfsonar-java-xml-ls/packaging/debian/preinst
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/preinst 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/preinst 2012-03-08
11:08:46 UTC (rev 5900)
@@ -1,75 +0,0 @@
-#!/bin/sh
-# preinst script for geant2-java-xml-ls
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <new-preinst> `install'
-# * <new-preinst> `install' <old-version>
-# * <new-preinst> `upgrade' <old-version>
-# * <old-preinst> `abort-upgrade' <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-SERVICEPATH="/usr/lib/perfsonar/services"
-SERVICENAME="geant2-java-xml-ls"
-
-
-
-case "$1" in
- install|upgrade)
-
- /etc/init.d/tomcat5.5 stop
-
- echo START
-
- if [ -h $SERVICEPATH/$SERVICENAME ]
- then
- rm -rf $SERVICEPATH/$SERVICENAME
- fi
-
- if [ -h /var/lib/tomcat5.5/webapps/$SERVICENAME ]
- then
- rm -rf /var/lib/tomcat5.5/webapps/$SERVICENAME
- fi
-
- if [ -h /usr/share/tomcat5.5/webapps/$SERVICENAME ]
- then
- rm -rf /usr/share/tomcat5.5/webapps/$SERVICENAME
- fi
-
- if [ -h /etc/$SERVICENAME ]
- then
- rm -rf /etc/$SERVICENAME
- fi
-
- if [ -h /var/log/$SERVICENAME ]
- then
- rm -rf /var/log/$SERVICENAME
- fi
-
- if [ -h /usr/share/doc/$SERVICENAME/spec ]
- then
- rm -rf /usr/share/doc/$SERVICENAME/spec
- fi
-
- ;;
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Deleted: trunk/perfsonar-java-xml-ls/packaging/debian/prerm
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/prerm 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/prerm 2012-03-08 11:08:46
UTC (rev 5900)
@@ -1,40 +0,0 @@
-#!/bin/sh
-# prerm script for geant2-java-xml-ls
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <prerm> `remove'
-# * <old-prerm> `upgrade' <new-version>
-# * <new-prerm> `failed-upgrade' <old-version>
-# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-# * <deconfigured's-prerm> `deconfigure' `in-favour'
-# <package-being-installed> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- remove|upgrade|deconfigure)
- ;;
-
- failed-upgrade)
- ;;
-
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
Modified: trunk/perfsonar-java-xml-ls/packaging/debian/rules
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/deb/rules 2012-01-24 16:35:01
UTC (rev 5889)
+++ trunk/perfsonar-java-xml-ls/packaging/debian/rules 2012-03-08 11:08:46
UTC (rev 5900)
@@ -1,51 +1,36 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
+# Variables
+export DH_COMPAT=5
+#export DH_VERBOSE=1
-
-
-
-configure: configure-stamp
-configure-stamp:
+# Mandatory: build up the software before packaging it
+# as our perfSONAR service is already built by maven, there shouldn't be
much to do here
+build:
dh_testdir
- # Add here commands to configure the package.
- touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
- ( \
- echo Copying files from webapps ; \
- mkdir -v build; \
- cp -v ../webapps/`ls ../webapps | grep ^perfsonar` build/ -r ; \
- cp -v ../webapps/`ls ../webapps | grep ^geant` build/ -r ; \
- )
touch $@
+# Mandatory: cleans up everything
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
+ rm -f build-stamp
rm -rf build
dh_clean
+# Optionnal: should install everything needed in the debian/ dir
install: build
- dh_testdir
- dh_testroot
dh_clean -k
dh_installdirs
+# Mandatory
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
+# Mandatory
# Build architecture-dependent files here.
binary-arch: build install
- dh_testdir
- dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
@@ -53,15 +38,13 @@
dh_installinit
dh_installman
dh_link
- dh_strip
dh_compress
dh_fixperms
-# dh_makeshlibs
dh_installdeb
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
+# Mandatory
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
\ No newline at end of file
+.PHONY: build clean binary-indep binary-arch binary install configure
Deleted: trunk/perfsonar-java-xml-ls/packaging/package.conf
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/package.conf 2012-03-08 10:34:48
UTC (rev 5899)
+++ trunk/perfsonar-java-xml-ls/packaging/package.conf 2012-03-08 11:08:46
UTC (rev 5900)
@@ -1,14 +0,0 @@
-#
-# Config for package.sh script
-#
-
-#
-# important for correct build of RPM package ! (must be the same as in .spec
file)
-
-
-CURR_DIR=$(pwd)
-RPM_VERSION="1.5"
-RPM_SPEC_NAME="perfsonar-java-xml-ls.specs"
-
-SERVICE_NAME="perfsonar-java-xml-ls"
-
Modified: trunk/perfsonar-java-xml-ls/packaging/package.sh
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/package.sh 2012-03-08 10:34:48
UTC (rev 5899)
+++ trunk/perfsonar-java-xml-ls/packaging/package.sh 2012-03-08 11:08:46
UTC (rev 5900)
@@ -1,99 +1,137 @@
+#!/bin/bash
+#
+# This script takes care of creating 2 packages to distribute the
LookupService:
+# - one .deb for Debian
+# - one .rpm for RedHat
+#
+# It works the following way:
+# - First it creates the war package, but keep it 'exploded' : mvn clean
compile war:exploded
+# - Then all files are grouped according to package policies
+# - Finally all files are sent to the Debian and RedHat hosts with rsync
+# - for the proper packaging to happen on those distros
+#
+# Requirements
+# The following packages need to be installed for this script to work:
+# Debian (should we build a src package?)
+# - dpkg-dev
+# - debhelper
-#!/bin/sh
+# Should be done this way:
+# - maven package on eclipse machine and through eclipse
+# - end up with war directory structure and send it to Debian or RedHat host
+# - rsync target/perfsonar-java-xml-ls/
+# - build .deb on Debian host
+# - build .rpm on RedHat host
+# all done through maven if at all possible
-. package.conf
+# Variables
+# TODO: PROJECT_DIR to be filled by Maven pom.xml ?
+cd ..
+PROJECT_DIR=`pwd`"/"
+TARGET_DIR=${PROJECT_DIR}"target/" # Should be the Maven target/ output dir
+PAKAGING_DIR=${PROJECT_DIR}"packaging/"
+WEBADMIN_DIR=${PROJECT_DIR}"../ps-mdm-web-admin/"
+REDIRECTOR_DIR=${PROJECT_DIR}"../servlet-context-redirector/"
+# TODO: Do we need it?
+TMP_DIR="tmp/"
+DEB_VERSION="1.5.1"
+# Can include username with 'user@' before the hostname if needed
+DEB_BUILD_HOST="d5"
+RPM_VERSION="%VERSION%"
+SERVICE_NAME="perfsonar-java-xml-ls"
+RPM_SPEC_NAME=$SERVICE_NAME".specs"
-
do_clean_up() {
+ echo -n "Cleaning up build space ... "
+ cd $PROJECT_DIR
+ mvn -q clean
+ echo "done!"
+ echo
+}
- echo " CLEAN UP"
- cd $CURR_DIR
- rm -rf temp
- rm -rf target
+#
+# Build WebAdmin
+# After this call, all should be ready to be copied from build/war/
+#
+build_webadmin() {
+ echo "Building the Web Admin in its own directory
${MY_DIR}${WEBADMIN_DIR}"
+ cd ${WEBADMIN_DIR}"ant"
+ ant -q distclean get-repo prepare-war-structure
echo
-
}
#
-# build project using maven
-# 1) build project using maven
-# 2) unzip .war into webapps directory
+# Build Servlet Redirector
+# After this call, all should be ready to be copied from target/
#
-do_structure() {
-
- echo " CREATE STRUCT"
-
- cd $CURR_DIR
- rm -rfv temp
- mkdir temp
- mkdir temp/webapps
-
- pwd
- unzip ../target/$SERVICE_NAME.war -d temp/webapps/$SERVICE_NAME
- # servlet-context-redirector
- unzip ../target/geant2-java-xml-ls.war -d
temp/webapps/geant2-java-xml-ls
- echo "war unziped"
-
- echo "done !"
- echo
- echo
-
+build_redirector() {
+ echo -n "Building the Servlet Redirector ... "
+ cd ${REDIRECTOR_DIR}
+ mvn -q clean compile war:exploded -DoldContext=geant2-java-xml-ls
-DnewContext=perfsonar-java-xml-ls
+ echo "done!"
+ echo
}
#
-# create debian structure
-# 1)create directories deb{debian,build}
-# 2)copy required configuration files for deb-packaging
+# Build our own project
#
-do_deb_struct() {
-
- cd $CURR_DIR
- echo " CREATE DEB STRUCT"
- echo "[ ] Removing old deb"
- rm -rfv temp/deb
- mkdir -v temp/deb
- mkdir -v temp/deb/debian
- mkdir -v temp/deb/build
- mkdir -v temp/deb/doc
- mkdir -v temp/deb/samples
-
- rsync -r --exclude=.svn ../samples/requests temp/deb/samples
- rsync -r --exclude=.svn ../samples/responses temp/deb/samples
- cp -a deb/changelog temp/deb/doc
-
- echo "[ ] Copying package files"
- cp -v deb/* temp/deb/debian
- echo
- echo
-
+build_service() {
+ echo -n "Building the ${SERVICE_NAME} for ${profile} ... "
+ cd ${PROJECT_DIR}
+ mvn -q -P $profile clean compile war:exploded
+ echo "done!"
+ echo
}
-
#
-# build debian package
+# Creates the packages structure and filled with output from Maven build
+# Should be done after a 'mvn clean compile war:exploded'
+# then we have:
+# target/perfsonar-java-xml-ls/
+# We should add:
+# target/debian
+# target/wa -> ant script from ps-mdm-web-admin
+# target/geant2-java-xml-ls (how???)
+#
#
-build_deb_package() {
+do_structure() {
+ echo -n "Creating packaging directory structure ... "
+
+ cd ${TARGET_DIR}
+ # We'll make the Debian package in debian/
+ BUILD_DIR="debian/"
+ mkdir -p ${BUILD_DIR}
+ mkdir -p ${BUILD_DIR}doc
+ rsync -r --exclude=.svn ${PROJECT_DIR}/doc/schema doc/
+ cp -an ${PROJECT_DIR}/doc/Collaboration.txt doc/
+ cp -an ${PROJECT_DIR}/doc/License.txt doc/
+ # Adding WebAdmin interface
+ cp -an ${WEBADMIN_DIR}build/war/wa .
+ cp -an ${WEBADMIN_DIR}build/war/index.jsp .
+ cp -an ${WEBADMIN_DIR}build/war/WEB-INF/lib/*
${SERVICE_NAME}/WEB-INF/lib/
+ # Add the servlet-context-redirector
+ cp -an ${REDIRECTOR_DIR}target/geant2-java-xml-ls .
+ # Then add the .deb scripts and config files
+ cp -a ${PAKAGING_DIR}/debian/* debian/
- cd $CURR_DIR
- echo " CREATE DEB"
-
- cd temp/deb
- sudo dpkg-buildpackage -d
- echo
- echo
+ # We'll make the RedHat package in redhat/
+# TODO: redhat build dir
+ mkdir -p ${TMP_DIR}/redhat
+ echo "done!"
+ echo
}
#
-# remove unnecessary files, copy *.deb package do target folder
+# build debian package
#
-cleanup_after_deb_packaging(){
+build_deb_package() {
+ echo -n "Building the Debian package on the build host ... "
- cd $CURR_DIR
- file=$(find temp -regex ".+\.deb$")
- mkdir target
- cp $file target
- sudo rm -rf temp
- echo
+ cd $TARGET_DIR
+ # We build in the home directory of the current user
+ rsync -a --delete .
${DEB_BUILD_HOST}":~/"${SERVICE_NAME}-${DEB_VERSION}/
+ ssh ${DEB_BUILD_HOST} "cd ${SERVICE_NAME}-${DEB_VERSION};
dpkg-buildpackage"
+ echo "done!"
echo
}
@@ -133,7 +171,7 @@
}
#
-# build debian package
+# build rpm package
#
build_rpm_package() {
@@ -149,7 +187,7 @@
}
#
-# remove unnecessary files, copy *.deb package do target folder
+# remove unnecessary files, copy *.rpm package do target folder
#
cleanup_after_rpm_packaging(){
@@ -163,31 +201,54 @@
}
+#
+# Build all needed projects
+#
+build_all() {
+ build_webadmin
+ build_redirector
+ build_service
+}
+#
+# The main
+#
case "$1" in
clean)
do_clean_up
;;
structure)
+ do_clean_up
+ build_all
do_structure
;;
deb)
do_clean_up
+ profile="deb"
+ build_all
do_structure
- do_deb_struct
build_deb_package
- cleanup_after_deb_packaging
;;
rpm)
- do_clean_up
+ do_clean_up
+ build_all
do_structure
do_rpm_struct
build_rpm_package
cleanup_after_rpm_packaging
;;
+ all)
+ do_clean_up
+ build_all
+ do_structure
+ do_rpm_struct
+ build_deb_package
+ build_rpm_package
+ cleanup_after_rpm_packaging
+ ;;
*)
- echo "Usage: $0 clean|deb|rpm" >&2
+ echo "Usage: $0 clean|structure|deb|rpm|all" >&2
exit 3
;;
esac
Modified: trunk/perfsonar-java-xml-ls/pom.xml
===================================================================
--- trunk/perfsonar-java-xml-ls/pom.xml 2012-03-08 10:34:48 UTC (rev 5899)
+++ trunk/perfsonar-java-xml-ls/pom.xml 2012-03-08 11:08:46 UTC (rev 5900)
@@ -4,15 +4,17 @@
<groupId>net.geant.perfsonar</groupId>
<artifactId>perfsonar-java-xml-ls</artifactId>
<packaging>war</packaging>
- <version>1.5</version>
- <name>ps-mdm-ls Maven Webapp</name>
- <url>http://maven.apache.org</url>
+ <version>1.5.1</version>
+ <name>perfSONAR Java XML LS</name>
+ <url>http://perfsonar.forge.geant.net</url>
<properties>
- <configurationFile>configuration.xml
- </configurationFile>
+ <configurationFile>configuration.xml</configurationFile>
+ <configurationFile>configuration-rules.xml</configurationFile>
+ <configurationFile>resources.properties</configurationFile>
<axis2Id>axis2-1.4.1</axis2Id>
<packageName>perfsonar-java-xml-ls</packageName>
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<scm>
@@ -22,58 +24,21 @@
<build>
- <finalName>perfsonar-java-xml-ls</finalName>
+ <finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- <version>2.3.2</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>create-configuration</id>
-
<phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- <execution>
- <id>create-aar</id>
- <phase>compile</phase>
- <configuration>
- <tasks>
- <property
name="aar.name" value="${packageName}" />
- <mkdir
dir="${project.build.directory}/META-INF" />
- <copy
todir="${project.build.directory}/META-INF">
-
<fileset file="axis/services.xml" />
- </copy>
- <jar
destfile="${project.build.directory}/${aar.name}.aar"
-
update="true" basedir="${project.build.directory}"
includes="META-INF/services.xml">
-
- </jar>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
-
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
+ <resource>
+
<directory>${basedir}/axis/</directory>
+ <includes>
+
<include>services.xml</include>
+ </includes>
+
<targetPath>WEB-INF/services/LookupService/META-INF/</targetPath>
+ </resource>
<resource>
<directory>${basedir}/log4j/${log4j}
</directory>
@@ -89,13 +54,28 @@
</includes>
<targetPath>db</targetPath>
</resource>
- <resource>
-
<directory>${project.build.directory}</directory>
- <includes>
-
<include>**/*.aar</include>
- </includes>
-
<targetPath>WEB-INF/services</targetPath>
- </resource>
+ <resource>
+ <directory>${basedir}/doc</directory>
+ <includes>
+
<include>Collaboration.txt</include>
+ <include>License.txt</include>
+ </includes>
+ <targetPath>doc</targetPath>
+ </resource>
+ <resource>
+ <directory>${basedir}/doc/schema</directory>
+ <includes>
+ <include>**/*.rnc</include>
+ </includes>
+ <targetPath>schema</targetPath>
+ </resource>
+ <resource>
+ <directory>${basedir}/packaging</directory>
+ <includes>
+ <include>package.sh</include>
+ </includes>
+ <targetPath>packaging</targetPath>
+ </resource>
</webResources>
</configuration>
<version>2.1.1</version>
@@ -118,6 +98,7 @@
<version>1.3</version>
<executions>
<execution>
+ <id>replace.config</id>
<goals>
<goal>replace</goal>
</goals>
@@ -135,6 +116,7 @@
</execution>
</executions>
</plugin>
+
</plugins>
<pluginManagement>
<plugins>
@@ -190,6 +172,24 @@
</plugin>
</plugins>
</pluginManagement>
+ <resources>
+ <resource>
+
<directory>${basedir}/src/main/resources/org/perfsonar/resources</directory>
+
<targetPath>org/perfsonar/resources</targetPath>
+ <includes>
+ <include>resources.properties</include>
+ </includes>
+ </resource>
+ <resource>
+
<directory>${basedir}/src/main/resources/perfsonar/conf</directory>
+ <targetPath>perfsonar/conf</targetPath>
+ <includes>
+ <include>configuration.xml</include>
+ <include>configuration-rules.xml</include>
+ <include>webAdminConfig.xml</include>
+ </includes>
+ </resource>
+ </resources>
</build>
<reporting>
<plugins>
@@ -221,16 +221,14 @@
<repositories>
-
<repository>
<id>ibiblio</id>
<name>ibiblio repository</name>
<url>http://www.ibiblio.org/maven2</url>
</repository>
-
<repository>
<id>geant-repository</id>
- <name>perfSONAR repository</name>
+ <name>GEANT repository</name>
<url>http://maven.geant.net/repo</url>
</repository>
</repositories>
@@ -244,7 +242,6 @@
</repository>
</distributionManagement>
-
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
@@ -269,12 +266,10 @@
<scope>test</scope>
</dependency>
- <!-- taken from axis2 sources -->
-
<dependency>
<groupId>net.geant.perfsonar</groupId>
<artifactId>ps-mdm-base2</artifactId>
- <version>1.0.5</version>
+ <version>1.0.6</version>
</dependency>
<dependency>
@@ -297,9 +292,15 @@
<artifactId>antlr</artifactId>
<version>2.7.2</version>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.0.1</version>
+ </dependency>
</dependencies>
<profiles>
+<!-- Local dev vs Hudson build profile: site deploy change -->
<profile>
<activation>
<activeByDefault>true</activeByDefault>
@@ -309,6 +310,13 @@
<log4j>test</log4j>
<port>8080</port>
</properties>
+ <distributionManagement>
+ <repository>
+ <id>build.dep</id>
+ <name>Debian Build host</name>
+ <url>scpexe://d5/home/antoine/</url>
+ </repository>
+ </distributionManagement>
</profile>
<profile>
<id>deb</id>
@@ -332,5 +340,9 @@
</organization>
<issueManagement>
<url>https://forge.geant.net/forge/display/perfsonar/Contact</url>
+ <system>Jira</system>
</issueManagement>
+ <ciManagement>
+ <system>Hudson</system>
+ </ciManagement>
</project>
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/DiscoveryQueryGenerator.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/DiscoveryQueryGenerator.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/DiscoveryQueryGenerator.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -4,21 +4,34 @@
import java.util.HashSet;
import java.util.Set;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.xml.Element;
/**
- * Discovery Query Generator
+ * The Discovery Query is built from a subject Element containing all the
search conditions.
+ * Search conditions can be any number of the followings:
+ * - IP addresses (address Elements)
+ * - Domains (domain Elements)
+ * - Event Types (eventType Elements)
+ * - Parameters (pair of parameters/parameter Elements containing keyword
and eventType Elements)
*
+ * The last two search Elements can be grouped inside a parameters/parameter
Element
+ * Subject Element syntax and namespaces are checked
+ *
* @author Maciej Glowiak
+ * @author Antoine Delvaux - DANTE
*
*/
public class DiscoveryQueryGenerator {
+ public static final String nmtbUri =
"http://ogf.org/schema/network/topology/base/20070828/";
+
+ private final Logger logger =
Logger.getLogger(DiscoveryQueryGenerator.class);
+
private Element discoverySubject = null;
- public static final String nmtbUri =
"http://ogf.org/schema/network/topology/base/20070828/";
+ private boolean extracted = false;
private Set<String> nmwgUris = new HashSet<String>();
- private boolean extracted = false;
private HashSet<String> ipAddresses = new HashSet<String>();
private HashSet<String> domains = new HashSet<String>();
private HashSet<String> eventTypes = new HashSet<String>();
@@ -31,91 +44,145 @@
nmwgUris.add("http://ggf.org/ns/nmwg/base/1.0/");
}
+ /**
+ * Sets the subject Element of the query and clears any other property
+ *
+ * @param discoverySubject
+ */
public void setSubject(Element discoverySubject) {
-
this.discoverySubject = discoverySubject;
extracted = false;
ipAddresses.clear();
domains.clear();
eventTypes.clear();
keywords.clear();
+ query = null;
}
-
- public void extractSubject() throws PerfSONARException {
+ /**
+ * Explodes the subject Element and extracts:
+ * - address
+ * - domain
+ * - eventType
+ * - parameters (each with name, keyword and eventType)
+ *
+ * Check the syntax of the subject Element and throws an exception
in case the inside elements are not supported or the namespace is wrong.
+ *
+ * @throws PerfSONARException
+ */
+ private void extractSubject() throws PerfSONARException {
+ if (discoverySubject == null) {
+ logger.warn("No subject for the Discovery Query");
+ throw new PerfSONARException("No subject");
+ }
- if (discoverySubject == null)
- throw new PerfSONARException("No subject");
+ // Explodes the subject Element if not already done
if (!extracted) {
-
+ logger.debug("Explodes the subject Element into
instance variables");
+ // Go through all search Elements
for (Element e : discoverySubject.getChildren()) {
String elementName = e.getName();
String namespaceUri = e.getNamespaceUri();
- if (namespaceUri.equals(nmtbUri)) {
+ // Check the contained elements against the
subject namespace
+ if (namespaceUri != null &&
namespaceUri.equals(nmtbUri)) {
+ // The topology namespace contains
address and domain elements only
if (elementName.equals("address")) {
addIpAddress(e);
} else if
(elementName.equals("domain")) {
addDomain(e);
} else {
- throw new
PerfSONARException("error.ls.query",
- "Unsupported
element :" + elementName);
+ throw new
PerfSONARException("error.ls.query", "Unsupported element: " + elementName);
}
+
} else if (nmwgUris.contains(namespaceUri)) {
+ // NMWG base namespace contains
eventType and parameters elements only
if (elementName.equals("eventType")) {
addEventType(e);
} else if
(elementName.equals("parameters")) {
Collection<Element> params =
e.getChildren("parameter");
if (params != null) {
+ // Go through all
parameters
for (Element p :
params) {
-
String name =
p.getAttribute("name");
String value
= p.getText();
-
if (value !=
null) {
value
= value.trim();
if
("keyword".equals(name)) {
-
keywords.add(value);
+
addKeyword(value);
}
else if ("eventType".equals(name)) {
-
eventTypes.add(value);
+
addEventType(value);
+ }
else {
+
logger.info("Unrecognized and ignored parameter: " + p.toString());
}
}
}
}
} else {
- throw new
PerfSONARException("error.ls.query",
- "Unsupported
element :" + elementName);
+ logger.warn("Unsupported
element in the query subject: " + elementName);
+ throw new
PerfSONARException("error.ls.query", "Unsupported element: " + elementName);
}
} else {
- throw new
PerfSONARException("error.ls.query",
- "Unsupported
namespace :" + namespaceUri);
+ logger.warn("Unsupported namespace
for the query subject: " + namespaceUri);
+ throw new
PerfSONARException("error.ls.query", "Unsupported namespace: " +
namespaceUri);
}
}
}
extracted = true;
}
+ /**
+ * eventType setter from Element
+ * @param eventType
+ */
private void addEventType(Element eventType) {
+ String evt = eventType.getText();
+ addEventType(evt);
+ }
- String evt = eventType.getText();
- if (evt != null) {
- eventTypes.add(evt.trim());
+ /**
+ * eventType setter from String
+ * @param eventType
+ */
+ private void addEventType(String eventType) {
+ if (eventType != null) {
+ logger.trace(" we add an eventType: " + eventType);
+ eventTypes.add(eventType.trim());
}
}
+ /**
+ * keyword setter from String
+ * @param eventType
+ */
+ private void addKeyword(String keyword) {
+ if (keyword != null) {
+ logger.trace(" we add a keyword: " + keyword);
+ keywords.add(keyword.trim());
+ }
+ }
+
+ /**
+ * domain setter
+ * @param domain
+ */
private void addDomain(Element domain) {
-
Element name = domain.getFirstChild("name");
if (name != null) {
String n = name.getText();
+ logger.trace(" we add a domain: " + n);
if (n != null)
domains.add(n.trim());
}
}
+ /**
+ * ipAddress setter
+ * @param ipAddress
+ */
private void addIpAddress(Element ipAddress) {
-
String ip = ipAddress.getText();
+ logger.trace(" we add an IP address: " + ip);
if (ip != null) {
ipAddresses.add(ip.trim());
}
@@ -127,24 +194,21 @@
* @return
* @throws PerfSONARException
*/
- public String generateQuery() throws PerfSONARException {
-
+ private void generateQuery() throws PerfSONARException {
+ // First, explodes the query subject
if (!extracted) {
extractSubject();
}
- if (!ipAddresses.isEmpty() || !domains.isEmpty() ||
!keywords.isEmpty()
- || !eventTypes.isEmpty()) {
-
+ // Then build the XQuery if at least one search condition is
given
+ if (!ipAddresses.isEmpty() || !domains.isEmpty() ||
!keywords.isEmpty() || !eventTypes.isEmpty()) {
StringBuffer q = new StringBuffer();
- // add declarations
- q
- .append("declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/'; \n");
- q
- .append("declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/'; \n");
+ // Add required namespaces declarations
+ q.append("declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/'; \n");
+ q.append("declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/'; \n");
- // add for expression
+ // Start the query with a for expression
q.append("for $d in
/nmwg:store[@type='LSStore']/nmwg:data
\n");
// generate query conditions
@@ -165,18 +229,16 @@
q.append("return data($d/@metadataIdRef)");
query = q.toString();
- // add return statemet
+ logger.debug("Generated XQuery is:\n" + query);
- return query;
-
} else {
- throw new PerfSONARException("error.ls.query",
- "Lack of specified subject
elements(ip,domain,eventType,keyword)");
+ logger.warn("The Discovery query should contain at
least one search condition on ip, domain, eventType or keyword.");
+ throw new PerfSONARException("error.ls.query", "At
least one search element is needed (ip, domain, eventType, keyword)");
}
}
/**
- * Makes AND/OR query
+ * Builds an AND/OR query clause and add it to the existing XQuery
*
* @param q
* buffer to be appended
@@ -229,11 +291,11 @@
/**
* Returns formatted query parameters string in string buffer
+ * For logging/debugging purposes only
*
* @return
*/
public StringBuffer printQueryParameters() {
-
StringBuffer sb = new StringBuffer();
sb.append("Discovery Query Parameters\n");
sb.append("==================================================\n");
@@ -252,8 +314,15 @@
return sb;
}
- public String getQuery() {
-
+ /**
+ * Builds the XQuery and returns it
+ * @return
+ * @throws PerfSONARException
+ */
+ public String getQuery() throws PerfSONARException {
+ if (query == null) {
+ generateQuery();
+ }
return query;
}
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/EchoServiceEngine.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/EchoServiceEngine.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/EchoServiceEngine.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -15,7 +15,8 @@
/**
* Handling EchoRequest for Echo (Ping) and SelfTest
*
- * @author Maciej Glowiak,Slawomir Trzaszczka
+ * @author Maciej Glowiak, Slawomir Trzaszczka
+ * @author Antoine Delvaux - DANTE
*
*/
public class EchoServiceEngine extends GenericLSServiceEngine implements
ServiceEngine {
@@ -81,7 +82,6 @@
return sb.toString();
}
- @Override
public void takeAction(ServiceMessage serviceRequest, ServiceMessage
serviceResponse)
throws PerfSONARException {
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSDiscoveryAction.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSDiscoveryAction.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSDiscoveryAction.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -25,8 +25,6 @@
private final String
SUBJECT_NAMESPACE="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/";
private LookupServiceDAO dao;
- protected boolean verbose = true;
-
public LSDiscoveryAction(LookupServiceDAO dao) {
this.dao = dao;
}
@@ -67,11 +65,8 @@
} else {
// fill the response with the results
+ logger.debug("Got list of " + resultSet.size() + "
unique services");
- logger
- .debug("Got list of " +
resultSet.size()
- + " unique services");
-
// query for services metadata, omit when empty
Collection<Element> results =
queryForServicesMetadata(resultSet);
@@ -113,15 +108,13 @@
* @return
* @throws PerfSONARException
*/
- private Collection<Element> queryForServicesMetadata(
- HashSet<String> resultSet) throws PerfSONARException {
+ private Collection<Element> queryForServicesMetadata(HashSet<String>
resultSet)
+ throws PerfSONARException {
// generate specific query for metadata blocks
StringBuffer qb = new StringBuffer();
- qb
- .append("declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/'; \n");
- qb
- .append("declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/'; \n");
+ qb.append("declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/'; \n");
+ qb.append("declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/'; \n");
qb.append("let $list := (\n");
boolean first = true;
@@ -142,15 +135,13 @@
qb.append(") \n");
qb.append("for $id in $list \n");
- qb
- .append("let $m :=
/nmwg:store[@type='LSStore']/nmwg:metadata[@id=$id]
\n");
+ qb.append("let $m :=
/nmwg:store[@type='LSStore']/nmwg:metadata[@id=$id]
\n");
qb.append("return $m \n");
String query = qb.toString();
- if (verbose)
- logger
-
.debug("\n------------------------------------------------\nQUERY
2:\n------------------------------------------------\n"
+
logger.debug("\n------------------------------------------------\nQUERY
2:\n------------------------------------------------\n"
+ query + "\n");
+
XMLDBResult results = dao.performXQuery(query);
return results.getResults();
}
@@ -162,16 +153,12 @@
// create query generator passing subject
DiscoveryQueryGenerator gen = new
DiscoveryQueryGenerator(subject);
- String query = gen.generateQuery();
+ String query = gen.getQuery();
logger.debug(gen.printQueryParameters());
/* XQuery. Will return string array containing metadata
blocks */
- logger.debug("perform search with XQuery");
- /*
- * Query 1 - service names
- */
- logger
-
.debug("\n------------------------------------------------\nQUERY
1:\n------------------------------------------------\n"
+ /* Query 1 - service names */
+
logger.debug("\n------------------------------------------------\nQUERY
1:\n------------------------------------------------\n"
+ query + "\n");
XMLDBResult dbres = dao.performXQuery(query);
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSQueryAction.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSQueryAction.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSQueryAction.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -14,6 +14,7 @@
* Action responsible for LS Query
*
* @author Maciej Glowiak
+ * @author Antoine Delvaux - DANTE
*
*/
public class LSQueryAction {
@@ -37,14 +38,9 @@
// Performing XQuery operation on the database
logger.debug("Perform query");
-
-
XMLDBResult results = dao.performXQuery(query);
+ logger.debug("Got [" + results.getElementsCount() + "]
results from DB");
- logger
- .debug("Got [" + results.getElementsCount()
- + "] results from DB");
-
// create ServiceEngineResponse and put there the results
// TODO: url event types
Message responseMessage =
ResultCodesUtil.generateResultMessage(
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSRegisterServiceEngine.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSRegisterServiceEngine.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/LSRegisterServiceEngine.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -19,6 +19,7 @@
* REGISTER and UPDATE Action
*
* @author Maciej Glowiak, Slawomir Trzaszczka
+ * @author Antoine Delvaux - DANTE
*
*/
public class LSRegisterServiceEngine extends LSRegisterServiceHelper {
@@ -44,45 +45,46 @@
.getChildren("parameters");
if (parametersNodes != null && parametersNodes.size()
== 1) {
try {
- long clientTTL =
getLSTTLFromParametrs(parametersNodes.get(0));
+ long clientTTL =
getLSTTLFromParameters(parametersNodes.get(0));
setClientTTL(clientTTL);
if (clientTTL != 0) {
- logger.debug("TTL parameters
are set");
- logger.debug("suggested TTL
param by client :" + clientTTL);
+ logger.debug("TTL parameters
are set, suggested TTL param by client: " + clientTTL);
if
(isBetweenTTLBound(clientTTL)) {
setTtlParameterStatus(LsTTLParameterStatus.ACCEPTED);
setClientTTL(clientTTL);
logger.info("client
TTL accepted");
} else {
setTtlParameterStatus(LsTTLParameterStatus.OUT_OF_BOUND);
- logger.info("client
TTL rejected - out of bound");
+ logger.info("client
TTL rejected - out of bounds");
setClientTTL(0);
}
+ } else {
+ logger.info("Ignoring TTL
parameter of " + clientTTL);
}
} catch (PerfSONARException ex) {
+ logger.info("Ignoring TTL parameter:
" + ex.getMessage());
setTtlParameterStatus(LsTTLParameterStatus.NOT_A_NUMBER);
}
}
} else {
- logger.warn("client sent ttl parameter - no ranges
params defined in config file !!");
+ logger.warn("client sent TTL parameter but no range
params defined in config file!");
}
// Get Metadata from request
Metadata requestMetadata =
getFirstMetadataFromRequest(request);
if (requestMetadata == null) {
- String m = "[LS Registration] No metadata in incoming
request";
- logger.error(m);
+ String m = "No metadata in incoming request";
+ logger.warn(m);
// TODO: url event types
throw new PerfSONARException("error.ls.no_metadata",
m);
}
logger.debug("Getting metadata from request: [" +
requestMetadata.getId() + "]");
+ // check eventType
EventType reqEvT = null;
String reqEventType = null;
- // check eventType
-
reqEvT = requestMetadata.getFirstEventType();
// if no eventType and home LS -- use Service evt.
@@ -114,7 +116,7 @@
// if it's empty or null PerfSONARException will be thrown
String accessPoint = getAccessPoint(requestMetadata);
- // check other mandatory elements, dont care about results
+ // check other mandatory elements, do not care about results
// if they're empty or null PerfSONARException will be thrown
getServiceName(requestMetadata);
getServiceType(requestMetadata);
@@ -137,7 +139,7 @@
if (keyValue == null) {
// REGISTER
- // let the key value be accesspoint
+ // let the key value be accessPoint
logger.debug("Action is Registration (DB Key =
accessPoint)");
metadataId = accessPoint; // trimmed
} else {
@@ -192,7 +194,8 @@
// TODO: url event types
throw new
PerfSONARException("error.ls.cant_replace_data", m);
}
-
+ } else {
+ logger.trace(" this data doesn't exist, we'll
insert it.");
}
// change metadata id
@@ -222,6 +225,7 @@
logger.debug("Removed [" + num + "] old entries");
}
+ logger.debug("Now, let's insert the data into the DB");
dao.putLookupInfo(requestMetadata, dataElements);
// some element was added, ChangesRecorder should be informed
about it
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/components/ModificationCounterComponent.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/components/ModificationCounterComponent.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/components/ModificationCounterComponent.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -10,6 +10,7 @@
* Simple class which contains COUNTER which increase when something in the
DB is changed
*
* @author Slawomir Trzaszczka
+ * @author Antoine Delvaux - DANTE
*/
public class ModificationCounterComponent extends Component{
@@ -45,7 +46,7 @@
public void incrementCounter() {
counter.incrementAndGet();
diffsBetweenRegistrationCounter.incrementAndGet();
- logger.debug("Counter increased " + counter + " diffs " +
diffsBetweenRegistrationCounter);
+ logger.trace("Counter increased " + counter + " diffs " +
diffsBetweenRegistrationCounter);
}
/**
* resets counter. This method is invoked after summarization process
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/components/XMLDBComponent.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/components/XMLDBComponent.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/components/XMLDBComponent.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -9,6 +9,7 @@
import javax.xml.transform.OutputKeys;
import org.apache.log4j.Logger;
+import org.exist.xmldb.RemoteXPathQueryService;
import org.perfsonar.base2.service.configuration.Component;
import org.perfsonar.base2.service.configuration.ConfigurationManager;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
@@ -23,7 +24,6 @@
import org.xmldb.api.base.ResourceIterator;
import org.xmldb.api.base.ResourceSet;
import org.xmldb.api.base.XMLDBException;
-import org.xmldb.api.modules.XPathQueryService;
/**
*
@@ -31,6 +31,7 @@
* - configuration option dataSource-ref
*
* @author Slawomir Trzaszczka
+ * @author Antoine Delvaux - DANTE
*
*/
public class XMLDBComponent extends Component {
@@ -40,12 +41,14 @@
private String mainCollection;
private String username;
private String password;
+ private Collection myMainCollection;
+ private Collection myStoreCollection;
+ private RemoteXPathQueryService myService;
public final static String DATASOURCE_KEY = "dataSource-ref";
public final static String READ_ONLY_KEY = "readOnly";
- private XPathQueryService service;
@Override
- public void init() throws PerfSONARException {
+ public synchronized void init() throws PerfSONARException {
if (!getOptions().containsKey(DATASOURCE_KEY)) {
throw new PerfSONARException("Lack of " +
DATASOURCE_KEY
+ " option in " + getClassName() + "
component");
@@ -56,11 +59,11 @@
dataSourceRefValue);
url = dataSource.getUrl();
- mainCollection=dataSource.getMainCollection();
-
+ mainCollection = dataSource.getMainCollection();
+
if (getOption(READ_ONLY_KEY) != null
&&
getOption(READ_ONLY_KEY).getValue().equals("true")) {
- logger.debug("readOnly compoenent");
+ logger.debug("readOnly component");
username = dataSource.getUsernameRO();
password = dataSource.getPasswordRO();
} else {
@@ -70,8 +73,7 @@
registerDatabase();
}
}
-
-
+
/**
* registers database Class
*/
@@ -90,27 +92,25 @@
} catch (IllegalAccessException e) {
e.printStackTrace();
}
-
+
}
- private boolean initiDBElements() {
- logger.debug("Iniialize XMLDBCompoenent");
- try {
- // get the collection
- Collection col = DatabaseManager.getCollection(url +
"/"+mainCollection,username, password);
- if (col == null) {
- return false;
+ private void initDBElements() throws PerfSONARException {
+ if (myService == null) {
+ logger.debug("Initialize XMLDBComponent");
+ try {
+ // Get a main collection
+ Collection col = getDBCollectionAs(url + "/"
+ mainCollection, username, password);
+ col.setProperty(OutputKeys.INDENT, "no");
+ myService = (RemoteXPathQueryService)
col.getService("XPathQueryService", "1.0");
+ myService.setProperty("indent", "yes");
+ logger.trace(" Service instanciated: "
+ myService);
+ } catch (XMLDBException e) {
+ throw new
PerfSONARException("error.ls.no_storage", "Cannot initialize Db access -
wrong datasource or issue with eXist DB");
}
- col.setProperty(OutputKeys.INDENT, "no");
- service = (XPathQueryService)
col.getService("XPathQueryService",
- "1.0");
- service.setProperty("indent", "yes");
-
- return true;
- } catch (XMLDBException e) {
- e.printStackTrace();
+ } else {
+ logger.trace(" myService was already
instanciated, we re-use it: " + myService);
}
- return false;
}
@Override
@@ -122,57 +122,119 @@
}
/**
+ * Get the root Collection as configured in the DataSource
configuration file
*
- * gets reference to the service
+ * Remember that whenever a call is done to
DatabaseImpl.getCollection(), the XMLRPC client used is then cached
+ * and is to be re-used later (by whichever Collection or Service)
*
- * @return
- * @throws PerfSONARException
+ * @return The main (root) Collection
+ * @throws PerfSONARException
*/
- public XPathQueryService getService() throws PerfSONARException {
- // if service is null - initialize it if initialization
returns false -
- // throw exception
- if (service == null && !initiDBElements()) {
-// TODO: url event types
- throw new PerfSONARException(
- "error.ls.no_storage",
- "Cannot initialize Db access - wrong
datasource or db is not initialized");
+ public synchronized Collection getMainCollection() throws
PerfSONARException {
+ if (myMainCollection == null) {
+ myMainCollection = getDBCollectionAs(url, username,
password);
+ } else {
+ logger.trace(" myMainCollection was already
instanciated, we re-use it: " + myMainCollection);
}
- return service;
+ return myMainCollection;
}
/**
+ * provides access to DB collection using xml:db interface and as the
given user
*
- * provides access to DB collection using xml:db interface
- *
* @param connectionURL
* @return
+ * @throws PerfSONARException
*/
- private Collection getDbCollection(String connectionURL) {
+ public synchronized Collection getDBCollectionAs(String
connectionURL, String username, String password) throws PerfSONARException {
+ logger.debug("Getting " + connectionURL + " Collection as \""
+ username + "\"");
try {
- Collection col =
DatabaseManager.getCollection(connectionURL,
- username, password);
- return col;
+ Collection collection =
DatabaseManager.getCollection(connectionURL, username, password);
+ if (collection == null) {
+ // FIXME: We shouldn't do that, but we
shouldn't get here in the first place...
+ // For some reason we got an error obfuscated
by XMLDB implementation, let's try to register DB again
+ // eXist should really throw an exception
instead of returning a null
+ logger.warn("No Collection returned by eXist!
Trying to register DB again!");
+ registerDatabase();
+ collection =
DatabaseManager.getCollection(connectionURL, username, password);
+ if (collection == null) {
+ // We got a null twice, let's raise
an exception this time
+ logger.error("Renewing DB
registration, still no collection (" + connectionURL + ") returned!");
+ // Whenever an XMLDBException is
raised, it is better to reset the DB connection
+ throw new
PerfSONARException("error.ls.no_storage", "Cannot get collection - wrong
datasource or db is not initialized");
+ }
+ }
+ logger.trace(" store Collection instanciated:
" + collection);
+ return collection;
} catch (XMLDBException e) {
- e.printStackTrace();
+ logger.error("Getting collection (" + connectionURL +
") as \"" + username + "\" failed: " + e.getMessage());
+ // Whenever an XMLDBException is raised, it is better
to reset the DB connection
+ throw new PerfSONARException("error.ls.no_access",
"Cannot access the DB: probably wrong collection, username or password.");
}
- return null;
}
/**
+ * Instantiate a /store/ Collection, that holds all the
registrations, as a normal user
+ * This Collection is an instance variable as the XMLRPCClient is
shared and cannot be used concurrently
*
+ * @throws PerfSONARException
+ */
+ private void setStoreCollection() throws PerfSONARException {
+ if (myStoreCollection == null) {
+ myStoreCollection = getDBCollectionAs(url + "/" +
mainCollection + "/store", username, password);
+ } else {
+ logger.trace(" store Collection was already
instanciated, we re-use it: " + myStoreCollection);
+ }
+ }
+
+ /**
+ *
* uploads file to ExistDb using xml:db interface
*
* @param name
* @param content
+ * @throws PerfSONARException
*/
- public synchronized void uploadStoreFile(String name, String content)
{
+ public synchronized void uploadStoreFile(String name, String content)
throws PerfSONARException {
+ logger.debug("Uploading a Store file");
try {
- Collection col = getDbCollection(url +
"/"+mainCollection+"/store");
- Resource res = col.createResource(name,
"XMLResource");
+ setStoreCollection();
+ Resource res = myStoreCollection.createResource(name,
"XMLResource");
res.setContent(content);
- col.storeResource(res);
+ myStoreCollection.storeResource(res);
} catch (XMLDBException e) {
- e.printStackTrace();
+ logger.warn("File upload XMLDB error (file may or may
not be uploaded): " + e.getMessage());
+ if (e.getMessage().matches("Failed to (parse|read)
servers response: .*")
+ || e.getMessage().startsWith("Failed
to create input stream: ")) {
+ logger.warn("We'll try to recover...");
+ resetDBElements();
+ uploadStoreFile(name, content);
+ } else {
+ // We're not sure what happened, sometimes an
HTTP or transport layer error occurs at the very end
+ // and a exception is raised although the
document as correctly been uploaded...
+ myStoreCollection = null;
+ throw new
PerfSONARException("error.ls.query", "Error trying to upload file (file may
or may not be uploaded): " + e.getMessage());
+ }
+ } catch (NullPointerException e) {
+ logger.warn("File couldn't be uploaded because of: "
+ e);
+ if
(e.getStackTrace()[1].toString().contains("HttpURLConnection")) {
+ logger.warn("This is probably a transport
error, we'll try to recover...");
+ resetDBElements();
+ uploadStoreFile(name, content);
+ } else {
+ myStoreCollection = null;
+ e.printStackTrace();
+ throw new
PerfSONARException("error.ls.query", "Error trying to upload file (file may
or may not be uploaded): " + e.getMessage());
+ }
+ } catch (IllegalStateException e) {
+ logger.warn("XQuery result couldn't be performed
because of a transport error: " + e);
+ if (e.getMessage().contentEquals("Already
connected")) {
+ logger.warn("We'll try to recover...");
+ resetDBElements();
+ uploadStoreFile(name, content);
+ } else {
+ throw new
PerfSONARException("error.ls.query", "Problem executing XQuery: " +
e.getMessage());
+ }
}
}
@@ -181,21 +243,60 @@
* removes file from ExistDb using xml:db interface
*
* @param name
+ * @throws PerfSONARException
*/
- public synchronized void removeFile(String name) {
+ public synchronized void removeStoreFile(String name) throws
PerfSONARException {
+ logger.debug("Removing a Store file");
try {
- Collection col = getDbCollection(url +
"/"+mainCollection+"/store");
- Resource res = col.getResource(name);
+ setStoreCollection();
+ Resource res = myStoreCollection.getResource(name);
if (res != null) {
- col.removeResource(res);
+ myStoreCollection.removeResource(res);
}
} catch (XMLDBException e) {
- e.printStackTrace();
+ logger.warn("File removal error (file may or may not
be removed): " + e.getMessage());
+ if (e.getMessage().matches("Failed to (parse|read)
servers response: .*")
+ || e.getMessage().startsWith("Failed
to create input stream: ")) {
+ logger.warn("We'll try to recover...");
+ resetDBElements();
+ removeStoreFile(name);
+ } else {
+ myStoreCollection = null;
+ throw new
PerfSONARException("error.ls.query", "Error trying to remove file (file may
or may not be removed): " + e.getMessage());
+ }
+ } catch (NullPointerException e) {
+ logger.warn("File couldn't be removed because of: " +
e);
+ if
(e.getStackTrace()[1].toString().contains("HttpURLConnection")) {
+ logger.warn("This is probably a transport
error, we'll try to recover...");
+ resetDBElements();
+ removeStoreFile(name);
+ } else {
+ myStoreCollection = null;
+ e.printStackTrace();
+ throw new
PerfSONARException("error.ls.query", "Error trying to remove file (file may
or may not be removed): " + e.getMessage());
+ }
+ } catch (IllegalStateException e) {
+ logger.warn("XQuery result couldn't be performed
because of a transport error: " + e);
+ if (e.getMessage().contentEquals("Already
connected")) {
+ logger.warn("We'll try to recover...");
+ resetDBElements();
+ removeStoreFile(name);
+ } else {
+ throw new
PerfSONARException("error.ls.query", "Problem executing XQuery: " +
e.getMessage());
+ }
}
}
/**
*
+ */
+ public void resetDBElements() {
+ myService = null;
+ myMainCollection = null;
+ myStoreCollection = null;
+ }
+ /**
+ *
* executes XQuery query
*
* @param xquery
@@ -203,11 +304,19 @@
* @throws PerfSONARException
*/
public synchronized XMLDBResult performXQuery(String xquery) throws
PerfSONARException {
- XPathQueryService service = getService();
+ logger.debug("Performing an XQuery");
+ // TODO: protected mode should never be activated on the
ROdao !!!
+ Boolean protect = false;
try {
+ initDBElements();
+ if (protect) {
+ logger.trace("-- Begin protected mode");
+ myService.beginProtected();
+ }
// CompiledExpression compiled =
service.compile(xquery);
- ResourceSet rs = service.query(xquery);
+ logger.trace("Ask the XMLDB XQueryService to perform
the following query for us: \n" + xquery);
+ ResourceSet rs = myService.query(xquery);
ResourceIterator i = rs.getIterator();
StringBuffer sb = new StringBuffer();
@@ -223,31 +332,60 @@
} else {
sb.append(value);
}
-
count++;
}
+ if (protect) {
+ myService.endProtected();
+ logger.trace("-- End protected mode");
+ }
sb.append("</exist>");
String existResult = sb.toString();
if (existResult == null || existResult.isEmpty()) {
+ logger.trace("XQuery result is empty");
return new XMLDBResult(new
HashSet<Element>(), 0, 0, 0);
} else {
return parseExistXMLReponse(new
ByteArrayInputStream(
existResult.getBytes()),
count);
}
} catch (XMLDBException e) {
+ logger.warn("XQuery couldn't be performed because of
an XMLDB error: " + e.getMessage());
logger.debug("------------------------------------");
logger.debug(xquery);
logger.debug("------------------------------------");
- e.printStackTrace();
-// TODO: url event types
- throw new PerfSONARException("error.ls.query",
- "Problem with executing xquery :" +
e.getMessage());
+ if (e.getMessage().matches("Failed to (parse|read)
servers response: .*")
+ || e.getMessage().startsWith("Failed
to create input stream: ")) {
+ logger.warn("We'll try to recover...");
+ resetDBElements();
+ return performXQuery(xquery);
+ } else {
+ throw new
PerfSONARException("error.ls.query", "Problem executing XQuery: " +
e.getMessage());
+ }
} catch (IOException e) {
- e.printStackTrace();
+ logger.error("XQuery result couldn't be parsed
because of an IO error: " + e);
+ throw new PerfSONARException("error.ls.query",
"Problem executing XQuery: " + e.getMessage());
} catch (XMLStreamException e) {
- e.printStackTrace();
+ logger.error("XQuery result couldn't be parsed
because of an XMLStream error: " + e);
+ throw new PerfSONARException("error.ls.query",
"Problem executing XQuery: " + e.getMessage());
+ } catch (NullPointerException e) {
+ logger.warn("XQuery result couldn't be performed
because of: " + e);
+ if
(e.getStackTrace()[1].toString().contains("HttpURLConnection")) {
+ logger.warn("This is probably a transport
error, we'll try to recover...");
+ resetDBElements();
+ return performXQuery(xquery);
+ } else {
+ e.printStackTrace();
+ throw new
PerfSONARException("error.ls.query", "Problem executing XQuery: " +
e.getMessage());
+ }
+ } catch (IllegalStateException e) {
+ logger.warn("XQuery result couldn't be performed
because of a transport error: " + e);
+ if (e.getMessage().contentEquals("Already
connected")) {
+ logger.warn("We'll try to recover...");
+ resetDBElements();
+ return performXQuery(xquery);
+ } else {
+ throw new
PerfSONARException("error.ls.query", "Problem executing XQuery: " +
e.getMessage());
+ }
}
- return null;
}
/**
@@ -257,8 +395,7 @@
* all DB operations
*
* @param inputStream
- * @param count
- * - nr of hits in DB
+ * @param count number of hits in DB
* @return
* @throws IOException
* @throws XMLStreamException
@@ -266,19 +403,16 @@
private XMLDBResult parseExistXMLReponse(InputStream inputStream, int
count)
throws IOException, XMLStreamException {
- // parse
StaxParser sp = new ConfigurationStaxParser();
Element e = sp.parse(inputStream);
+ logger.trace("Parsing the XML stream resulted in: " +
e.toString());
- // get numbers
- int hits = count;
- int first = 0;
-
- if (count > -1) {
- return new XMLDBResult(e.getChildren(), hits, count,
first);
- } else
+ if (count >= 0) {
+ return new XMLDBResult(e.getChildren(), count, count,
0);
+ } else {
+ logger.warn("Count is negative, returning null");
return null;
-
+ }
}
}
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/registerService/LSRegisterServiceHelper.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/registerService/LSRegisterServiceHelper.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/registerService/LSRegisterServiceHelper.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -18,8 +18,6 @@
import org.perfsonar.base2.xml.nmwg.Subject;
import org.perfsonar.service.lookupservice.AbstractRegisterServiceEngine;
import org.perfsonar.service.lookupservice.registration.LsTTLParameterStatus;
-import org.perfsonar.service.lookupservice.storage.LookupServiceDAO;
-import org.perfsonar.service.lookupservice.storage.LookupServiceDAOFactory;
import org.perfsonar.service.utilities.ResourceBundle;
/**
@@ -27,13 +25,13 @@
* Class consists methods which are used in LSRegisterServiceEngine
*
* @author Slawomir Trzaszczka
+ * @author Antoine Delvaux - DANTE
*
*/
public abstract class LSRegisterServiceHelper extends
AbstractRegisterServiceEngine {
- private final Logger logger = Logger
- .getLogger(LSRegisterServiceHelper.class);
+ private final Logger logger =
Logger.getLogger(LSRegisterServiceHelper.class);
private final static String MESSAGE_HANDLER = "LSRegisterRequest";
@@ -44,8 +42,7 @@
protected LSRegisterServiceHelper() throws PerfSONARException {
super();
- ttlBound = getTTLParameters(configuration
- .getMessageHandler(MESSAGE_HANDLER));
+ ttlBound =
getTTLParameters(configuration.getMessageHandler(MESSAGE_HANDLER));
}
protected boolean isBetweenTTLBound(long clientTTL) {
@@ -67,8 +64,7 @@
if (subject != null) {
Element serviceElement =
subject.getFirstChild("service");
if (serviceElement != null) {
- Element serviceTypeElement = serviceElement
- .getFirstChild("serviceType");
+ Element serviceTypeElement =
serviceElement.getFirstChild("serviceType");
if (serviceTypeElement != null) {
String serviceType =
serviceTypeElement.getText().trim();
if (!serviceType.isEmpty()) {
@@ -77,8 +73,8 @@
}
}
}
- String m = "[LS Registration] No serviceType or empty in
request";
- logger.error(m);
+ String m = "No serviceType or empty in request";
+ logger.warn(m);
// TODO: url event types
throw new PerfSONARException("error.ls.no_service_type", m);
}
@@ -98,8 +94,7 @@
if (subject != null) {
Element serviceElement =
subject.getFirstChild("service");
if (serviceElement != null) {
- Element serviceNameElement = serviceElement
- .getFirstChild("serviceName");
+ Element serviceNameElement =
serviceElement.getFirstChild("serviceName");
if (serviceNameElement != null) {
String serviceName =
serviceNameElement.getText();
if (!serviceName.isEmpty()) {
@@ -109,7 +104,7 @@
}
}
String m = "No serviceName in request ";
- logger.error(m);
+ logger.warn(m);
// TODO: url event types
throw new PerfSONARException("error.ls.no_service_name", m);
}
@@ -189,8 +184,7 @@
if (subject != null) {
Element serviceElement =
subject.getFirstChild("service");
if (serviceElement != null) {
- Element accessPointElement = serviceElement
- .getFirstChild("accessPoint");
+ Element accessPointElement =
serviceElement.getFirstChild("accessPoint");
if (accessPointElement != null) {
String accessPoint =
accessPointElement.getText().trim();
if (!accessPoint.isEmpty()) {
@@ -200,8 +194,8 @@
}
}
- String m = "No access_point in request";
- logger.error(m);
+ String m = "No accessPoint in request";
+ logger.warn(m);
// TODO: url event types
throw new PerfSONARException("error.ls.no_access_point", m);
}
@@ -223,14 +217,13 @@
// there should be at least ONE trigger -- to be discussed
if (reqDataArr.size() < 1) {
String m = "Request must have at least one data
element - trigger";
- logger.error(m);
+ logger.warn(m);
// TODO: url event types
throw new
PerfSONARException("error.ls.no_data_trigger", m);
}
// convert dataArr to Data[]
- Data[] dataElements = (Data[]) reqDataArr.toArray(new
Data[reqDataArr
- .size()]);
+ Data[] dataElements = (Data[]) reqDataArr.toArray(new
Data[reqDataArr.size()]);
return dataElements;
}
@@ -249,17 +242,14 @@
String ttlMessage = "";
if (ttlParameterStatus.equals(LsTTLParameterStatus.ACCEPTED))
{
- ttlMessage = ResourceBundle.getInstance().getString(
- "registration.lsTTL.accepted");
+ ttlMessage =
ResourceBundle.getInstance().getString("registration.lsTTL.accepted");
} else if
(ttlParameterStatus.equals(LsTTLParameterStatus.NOT_A_NUMBER)) {
- ttlMessage = ResourceBundle.getInstance().getString(
- "registration.lsTTL.notANumber");
+ ttlMessage =
ResourceBundle.getInstance().getString("registration.lsTTL.notANumber");
} else if
(ttlParameterStatus.equals(LsTTLParameterStatus.OUT_OF_BOUND)) {
String[] params = new String[3];
params[0] = String.valueOf(ttlBound[0]);
params[1] = String.valueOf(ttlBound[1]);
- ttlMessage = ResourceBundle.getInstance().getString(
- "registration.lsTTL.outOfBound",
params);
+ ttlMessage =
ResourceBundle.getInstance().getString("registration.lsTTL.outOfBound",
params);
}
StringBuffer sb = new StringBuffer();
@@ -313,7 +303,7 @@
}
- protected long getLSTTLFromParametrs(Element parametersElement)
+ protected long getLSTTLFromParameters(Element parametersElement)
throws PerfSONARException {
for (Element child : parametersElement.getChildren()) {
@@ -367,7 +357,6 @@
*/
protected void updateTTL(String metadataId, long lsTTL)
throws PerfSONARException {
- LookupServiceDAO dao = LookupServiceDAOFactory.getDAO();
dao.setControlParameter(metadataId, "lsTTL",
String.valueOf(lsTTL));
}
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/registration/summarization/SummarizeIpAddrs.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/registration/summarization/SummarizeIpAddrs.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/registration/summarization/SummarizeIpAddrs.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -5,6 +5,8 @@
import java.util.HashSet;
import java.util.Set;
+import org.apache.log4j.Logger;
+
/**
* main class that summarize IPs
*
@@ -14,7 +16,9 @@
*/
public class SummarizeIpAddrs {
- /**
+ private static final Logger logger =
Logger.getLogger(SummarizeIpAddrs.class);
+
+ /**
* Main method, reads input set of IP addresses, returns summarized set
* of IP addresses/masks
* @param ipAddresses
@@ -32,7 +36,7 @@
long aLongValue = newIp.getAddrAsLong();
trie = trie.add(aLongValue, Constants.MAX_KEY_LENGTH, newIp);
} catch (InvalidIPAddressException e) {
- System.err.println("Ignoring address: " + newIpAddr);
+ logger.warn("Ignoring address: " + newIpAddr);
}
}
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/schedulerActions/SummarySynchronizationAction.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/schedulerActions/SummarySynchronizationAction.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/schedulerActions/SummarySynchronizationAction.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -68,7 +68,6 @@
NR_OF_ITERATIONS =
getOption("nrOfIterations").getValueAsInteger();
}
- @Override
public void runAction() {
if(!summarizationInProgress){
int nrOfChanges = 0;
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/servlets/ExistDbInitializerServlet.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/servlets/ExistDbInitializerServlet.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/servlets/ExistDbInitializerServlet.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -15,6 +15,7 @@
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.servlets.ExistDBInitServlet;
import org.perfsonar.service.lookupservice.components.DataSourceComponent;
+import org.perfsonar.service.lookupservice.components.XMLDBComponent;
import org.xmldb.api.base.Collection;
import org.xmldb.api.base.XMLDBException;
import org.xmldb.api.modules.CollectionManagementService;
@@ -23,6 +24,7 @@
* This servlet initializes eXist database
*
* @author Slawomir Trzaszczka
+ * @author Antoine Delvaux - DANTE
*
*/
@SuppressWarnings("serial")
@@ -50,12 +52,31 @@
.getConfiguration()
.getAuxiliaryComponent("existDataSource");
+ XMLDBComponent myXMLDbComponent = (XMLDBComponent)
configManager
+ .getConfiguration()
+
.getAuxiliaryComponent("existAccessManager");
+
String dbUrl = existDbComponent.getUrl();
- String
mainCollection=existDbComponent.getMainCollection();
+ String mainCollection =
existDbComponent.getMainCollection();
- Collection collection = getMainCollection(dbUrl);
+ // First we create our own users
+ Collection adminColl =
myXMLDbComponent.getDBCollectionAs(dbUrl,
myXMLDbComponent.getOption("username").getValue(),
myXMLDbComponent.getOption("password").getValue());
+ UserManagementService usrMngmtService =
getUserManagmentService(adminColl);
- UserManagementService usrMngmtService =
getUserManagmentService(collection);
+ User user=createUser(existDbComponent.getUsername(),
+ existDbComponent.getPassword(),
"dba");
+ user.setHome(XmldbURI.xmldbUriFor(mainCollection));
+
+ if (existDbComponent.hasReadOnlyUser()) {
+ User
userRO=createUser(existDbComponent.getUsernameRO(),
+
existDbComponent.getPasswordRO(), "guest");
+ usrMngmtService.addUser(userRO);
+ }
+
+ usrMngmtService.addUser(user);
+
+ // Then we create our Collections
+ Collection collection =
myXMLDbComponent.getDBCollectionAs(dbUrl, existDbComponent.getUsername(),
existDbComponent.getPassword());
CollectionManagementService colMngmtService =
getCollectionManagmentService(collection);
Collection lsCollection =
colMngmtService.createCollection(mainCollection);
@@ -72,18 +93,7 @@
.getResource(resourceName));
}
- User user=createUser(existDbComponent.getUsername(),
- existDbComponent.getPassword(),
"dba");
- user.setHome(XmldbURI.xmldbUriFor(mainCollection));
-
- if (existDbComponent.hasReadOnlyUser()) {
- User
userRO=createUser(existDbComponent.getUsernameRO(),
-
existDbComponent.getPasswordRO(), "guest");
- usrMngmtService.addUser(userRO);
- }
-
- usrMngmtService.addUser(user);
-
+ // And we upload starting LSStore files
// uploadFile("LSStore.xml", dbContentDirPath,
lsCollection);
uploadFile("LSStore-control.xml", dbContentDirPath,
lsCollection);
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/LookupServiceDAOFactory.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/LookupServiceDAOFactory.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/LookupServiceDAOFactory.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -5,13 +5,18 @@
import org.perfsonar.base2.service.configuration.ConfigurationManager;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
+/**
+ * Pseudo factory/singleton handler for DAO objects
+ * @author Antoine Delvaux - DANTE
+ *
+ */
public class LookupServiceDAOFactory {
- private static Logger
logger=Logger.getLogger(LookupServiceDAOFactory.class);
+ private static Logger logger =
Logger.getLogger(LookupServiceDAOFactory.class);
private static volatile LookupServiceDAO dao = null;
private static volatile LookupServiceDAO daoRO = null;
- private static volatile SummarizationDAO summariaztionDAO=null;
+ private static volatile SummarizationDAO summariaztionDAO = null;
private final static String LS_DAO = "lsdao";
private final static String LS_DAO_RO = "lsdao-ro";
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/XQueryDAOSupportImpl.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/XQueryDAOSupportImpl.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/XQueryDAOSupportImpl.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -1,5 +1,6 @@
package org.perfsonar.service.lookupservice.storage.exist;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.configuration.Component;
import org.perfsonar.base2.service.configuration.ConfigurationManager;
import org.perfsonar.base2.service.configuration.Option;
@@ -8,9 +9,16 @@
import org.perfsonar.service.lookupservice.components.XMLDBComponent;
import org.perfsonar.service.lookupservice.storage.XQueryDAOSupport;
+/**
+ * Implementation of the XQuery DAO
+ * Calls the XMLDBComponent to perform the job
+ * @author Antoine Delvaux - DANTE
+ *
+ */
public abstract class XQueryDAOSupportImpl extends Component implements
XQueryDAOSupport{
+ private Logger logger = Logger.getLogger(XQueryDAOSupportImpl.class);
protected static final String UPDATE_FOR = " for $i in ";
protected static final String UPDATE_REMOVE = " return (update delete
$i, 'removed')";
protected static final String UPDATE_INSERT = " update insert ";
@@ -19,6 +27,7 @@
public static final String LS_STORE_CONTROL_COLLECTION_TYPE =
"LSStore-control";
public static final String LS_STORE_SUMMARY_COLLECTION_TYPE =
"LSStore-summary";
public final static String DECLARE_NMWG_NAMESPACE = "declare
namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/'; \n";
+
/**
* Namespaces declaration for perfSONAR
*/
@@ -29,7 +38,6 @@
+ "declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0/'; \n\n";
-
private XMLDBComponent dbComponent;
public void init() throws PerfSONARException {}
@@ -39,12 +47,13 @@
public void run() {}
public XMLDBComponent getDBAccessManager() throws PerfSONARException{
- if(dbComponent==null){
- Option option=getOption("dbAccessManager-ref");
- if(option==null){
+ if (dbComponent==null) {
+ Option option = getOption("dbAccessManager-ref");
+ if (option==null) {
+ logger.warn("Lack of dbAccessManager-ref in
configuration");
throw new PerfSONARException("lack of
dbAccessManager-ref in configuration");
- }else{
-
dbComponent=(XMLDBComponent)ConfigurationManager.getInstance().getConfiguration().getAuxiliaryComponent(option.getValue());
+ } else {
+ dbComponent = (XMLDBComponent)
ConfigurationManager.getInstance().getConfiguration().getAuxiliaryComponent(option.getValue());
}
}
@@ -57,23 +66,22 @@
}
public XMLDBResult performXQuery(String xquery) throws
PerfSONARException {
- XMLDBResult result=getDBAccessManager().performXQuery(xquery);
+ XMLDBResult result =
getDBAccessManager().performXQuery(xquery);
return result;
}
public void removeFile(String fileName) throws PerfSONARException{
- getDBAccessManager().removeFile(fileName);
+ getDBAccessManager().removeStoreFile(fileName);
}
public boolean isDBCollection(String collection) throws
PerfSONARException {
- String xquery = DECLARE_NMWG_NAMESPACE + "
count(/nmwg:store[@type='"
- + collection + "'])";
+ String xquery = DECLARE_NMWG_NAMESPACE + "
count(/nmwg:store[@type='"
+ collection + "'])";
XMLDBResult res = performXQuery(xquery);
- if(res.getTextResults().length==1){
- int count=Integer.valueOf(res.getTextResults()[0]);
- if(count>0){
+ if (res.getTextResults().length == 1) {
+ int count = Integer.valueOf(res.getTextResults()[0]);
+ if (count>0) {
return true;
}
}
@@ -81,11 +89,9 @@
}
public boolean isDBConnectivity() throws PerfSONARException {
-
String xquery = "fn:current-dateTime()";
performXQuery(xquery);
return true;
-
}
/**
@@ -98,7 +104,6 @@
* @throws PerfSONARException
*/
private String countLookupInfo(String metadataId) throws
PerfSONARException {
-
String xquery = DECLARE_NMWG_NAMESPACE + "concat("
+
"count(/nmwg:store[@type='"
+ LS_STORE_COLLECTION_TYPE
+
"']/nmwg:metadata[@id='"
+ metadataId + "']), " + "' ', "
@@ -110,11 +115,9 @@
// return "M D" where M is count(metadata), D is count(data)
return res.getFirstElement().getText();
-
}
public boolean isLookupInfo(String metadataId) throws
PerfSONARException {
-
String result = countLookupInfo(metadataId);
return !("0 0".equals(result));
}
@@ -161,9 +164,9 @@
"return $command \n";
- // put
+ // Store in the DB
performXQuery(xquery);
- } // set parameter
+ }
}
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/MultipleFilesDAOImpl.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/MultipleFilesDAOImpl.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/MultipleFilesDAOImpl.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -6,6 +6,7 @@
import javax.xml.stream.XMLStreamException;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.service.storage.xml.XMLDBResult;
import org.perfsonar.base2.xml.Element;
@@ -20,11 +21,13 @@
* Implementation of LookupServiceDAO: eXist HTTP connection using Multiple
* files in separate collections: /store and /control
*
- * @author Maciej Glowiak,Slawomir Trzaszczka
+ * @author Maciej Glowiak, Slawomir Trzaszczka
+ * @author Antoine Delvaux - DANTE
*
*/
public class MultipleFilesDAOImpl extends XQueryDAOSupportImpl implements
LookupServiceDAO{
+ private Logger logger = Logger.getLogger(MultipleFilesDAOImpl.class);
private static final String XMLNS = "
xmlns:nmwgt=\"http://ggf.org/ns/nmwg/topology/2.0/\" "
+ " xmlns:nmwg=\"http://ggf.org/ns/nmwg/base/2.0/\" "
@@ -32,8 +35,7 @@
+ "
xmlns:perfsonar=\"http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/\" "
+ "
xmlns:netutil=\"http://ggf.org/ns/nmwg/characteristic/utilization/2.0/\" ";
- private static final String LS_STORE_HEADER = "<nmwg:store " + XMLNS
- + "type=\"LSStore\">\n";
+ private static final String LS_STORE_HEADER = "<nmwg:store " + XMLNS
+ "type=\"LSStore\">\n";
private static final String LS_STORE_FOOTER = "\n</nmwg:store>";
@@ -42,38 +44,30 @@
StringBuffer sb = new StringBuffer();
sb.append(LS_STORE_HEADER);
- // put metadata
-
+ // Serializing metadata and data Elements to String
ElementSerializer ser = new ElementSerializer();
ser.setStartingDocumentDeclaration(false);
StringBufferOutputStream os = new
StringBufferOutputStream(sb);
-
- // convert metadata to String
-
- // put metadata
- try {
- ser.write(os, m);
- // put datas
- for (int i = 0; i < d.length; i++) {
- ser.write(os, d[i]);
- }
- } catch (XMLStreamException e1) {
- throw new PerfSONARException("error/parse",
- "Cannot serialize elements in
MultipleFilesExistDAOImpl");
- } catch (IOException e1) {
- throw new PerfSONARException("error/parse",
- "Cannot serialize elements in
MultipleFilesExistDAOImpl");
+ try {
+ ser.write(os, m);
+ for (int i = 0; i < d.length; i++) {
+ logger.debug("Serialize data: " + d[i]);
+ ser.write(os, d[i]);
}
-
-
-
-
+ } catch (XMLStreamException e1) {
+ logger.error("Cannot serialize elements in
MultipleFilesExistDAOImpl: " + e1.getMessage());
+ throw new PerfSONARException("error/parse", "Cannot
serialize elements in MultipleFilesExistDAOImpl");
+ } catch (IOException e1) {
+ logger.error("Cannot serialize elements in
MultipleFilesExistDAOImpl: " + e1.getMessage());
+ throw new PerfSONARException("error/parse",
"Cannot serialize elements in MultipleFilesExistDAOImpl");
+ }
sb.append(LS_STORE_FOOTER);
- // convert to md5
-
+ // Create an md5 ID to identify the XML document and store it
try {
- uploadStoreFile(md5(m.getId()) + ".xml",
sb.toString());
+ String XMLFileName = md5(m.getId()) + ".xml";
+ logger.debug("Now uploading XML file to the store: "
+ XMLFileName);
+ uploadStoreFile(XMLFileName, sb.toString());
} catch (NoSuchAlgorithmException e) {
throw new PerfSONARException("md5 - algorithm not
found",e);
}
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/SingleFileDAOImpl.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/SingleFileDAOImpl.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/SingleFileDAOImpl.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -4,6 +4,7 @@
import javax.xml.stream.XMLStreamException;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.service.storage.xml.XMLDBResult;
import org.perfsonar.base2.xml.ElementSerializer;
@@ -19,14 +20,15 @@
* "+LS_STORE_COLLECTION_TYPE+"-control.xml files in one collection
*
* @author Maciej Glowiak
+ * @author Antoine Delvaux - DANTE
*
*/
public class SingleFileDAOImpl extends XQueryDAOSupportImpl implements
LookupServiceDAO {
protected static final String UPDATE_LSSTORE = "
/nmwg:store[@type='"
+ LS_STORE_COLLECTION_TYPE + "'] ";
+ private Logger logger = Logger.getLogger(SingleFileDAOImpl.class);
- @Override
public void putLookupInfo(Metadata m, Data[] d) throws
PerfSONARException {
if (m == null) {
@@ -49,6 +51,7 @@
}
// serialize Metadata and Data
+ logger.debug("Serialize metadata and data");
// send xquery update expression containing all metadata and
data
// elements in one xquery
@@ -90,10 +93,10 @@
xmls.append(UPDATE_LSSTORE);
String query = xmls.toString();
+ logger.debug("We insert the data using an XQuery call");
performXQuery(query);
}
- @Override
public int removeLookupInfo(String metadataId) throws
PerfSONARException {
String xquery = XQUERY_DECLARE_NAMESPACES + UPDATE_FOR
@@ -109,7 +112,6 @@
}
- @Override
public int cleanupLookupInfo(long timestamp, long defaultInterval)
throws PerfSONARException {
String xquery = DECLARE_NMWG_NAMESPACE
Modified:
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/SummarizationDAOImpl.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/SummarizationDAOImpl.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/java/org/perfsonar/service/lookupservice/storage/exist/dao/SummarizationDAOImpl.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -18,6 +18,7 @@
* Data access object for Summarization
*
* @author Slawomir Trzaszczka
+ * @author Antoine Delvaux - DANTE
*/
public class SummarizationDAOImpl extends XQueryDAOSupportImpl implements
SummarizationDAO{
@@ -121,7 +122,6 @@
return performXQuery(xq).getTextResults();
}
- @Override
public XMLDBResult getSummaryData() throws PerfSONARException {
StringBuffer sb = new StringBuffer();
sb.append(DECLARE_NMWG_NAMESPACE);
@@ -130,7 +130,6 @@
return performXQuery(sb.toString());
}
- @Override
public void putBatchData(List<Element> data) throws
PerfSONARException {
ElementSerializer ser = new ElementSerializer();
ser.setStartingDocumentDeclaration(false);
@@ -168,7 +167,6 @@
}
- @Override
public void putBatchData(List<Element> data, int batchSize)
throws PerfSONARException {
List<Element> elements = new ArrayList<Element>();
Modified:
trunk/perfsonar-java-xml-ls/src/main/resources/perfsonar/conf/configuration.xml
===================================================================
---
trunk/perfsonar-java-xml-ls/src/main/resources/perfsonar/conf/configuration.xml
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/main/resources/perfsonar/conf/configuration.xml
2012-03-08 11:08:46 UTC (rev 5900)
@@ -1,18 +1,17 @@
<?xml version='1.0' encoding='UTF-8'?>
-
<configuration xmlns="http://service.perfsonar.org/ns/config/base/0.9/">
-
<service name="xmlls">
<!--
....................................................................................
-->
<!-- Lookup Info of the LS instance -->
+<!-- FIXME: We should have a configuration file dedicated to unit testing -->
<lookupInformation>
<option name="accessPoint"
value="http://localhost:%PORT%/perfsonar-java-xml-ls/services/LookupService"/>
- <option name="serviceName" value="Geant3 JAVA - XML LS "/>
+ <option name="serviceName" value="perfSONAR Java - XML LS "/>
<option name="serviceType" value="LS"/>
</lookupInformation>
@@ -85,6 +84,8 @@
<!-- provides access to ExistDb with all permissions -->
<component name="existAccessManager"
className="org.perfsonar.service.lookupservice.components.XMLDBComponent">
<option name="dataSource-ref" value="existDataSource"/>
+ <option name="username" value="admin"/>
+ <option name="password" value="admin"/>
</component>
<!-- provides access to ExistDb with read-only permissions -->
@@ -173,7 +174,7 @@
<!-- define lsAddresses (lsAddress-1,lsAddress-2,..) where
this LS will be registered -->
<!--
<option name="lsAddress-1"
-
value="http://localhost:8080/perfsonar-java-xml-ls/services/LookupService"/>
+
value="http://localhost:%PORT%/perfsonar-java-xml-ls/services/LookupService"/>
-->
<!-- or define localizations of the root.hints
(lsList-1,lsList-2,...) which consists of gls addresses -->
Modified: trunk/perfsonar-java-xml-ls/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/perfsonar-java-xml-ls/src/main/webapp/WEB-INF/web.xml 2012-03-08
10:34:48 UTC (rev 5899)
+++ trunk/perfsonar-java-xml-ls/src/main/webapp/WEB-INF/web.xml 2012-03-08
11:08:46 UTC (rev 5900)
@@ -1,22 +1,18 @@
-<!DOCTYPE web-app PUBLIC
- "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
- "http://java.sun.com/dtd/web-app_2_3.dtd" >
+<?xml version="1.0" encoding="UTF-8"?>
-<web-app>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
<servlet>
<servlet-name>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
+
<servlet>
- <servlet-name>AxisAdminServlet</servlet-name>
- <display-name>Apache-Axis AxisAdmin Servlet (Web
Admin)</display-name>
- <servlet-class>
- org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
- </servlet>
-
- <servlet>
<servlet-name>ExistDbInitializer</servlet-name>
<display-name>Exist database initializer</display-name>
<servlet-class>org.perfsonar.service.lookupservice.servlets.ExistDbInitializerServlet</servlet-class>
@@ -29,29 +25,50 @@
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
- <url-pattern>/servlet/AxisServlet</url-pattern>
+ <url-pattern>/services/*</url-pattern>
</servlet-mapping>
- <servlet-mapping>
- <servlet-name>AxisServlet</servlet-name>
- <url-pattern>*.jws</url-pattern>
- </servlet-mapping>
+ <mime-mapping>
+ <extension>inc</extension>
+ <mime-type>text/plain</mime-type>
+ </mime-mapping>
+
+ <!-- WebAdmin section -->
+ <display-name>perfsonar web admin</display-name>
+ <session-config>
+ <session-timeout>5</session-timeout>
+ </session-config>
+
+ <servlet>
+ <servlet-name>BasicConfiguration</servlet-name>
+ <servlet-class>
+ org.perfsonar.webadmin.base2.servlet.BasicConfigurationServlet
+ </servlet-class>
+ </servlet>
<servlet-mapping>
- <servlet-name>AxisServlet</servlet-name>
- <url-pattern>/services/*</url-pattern>
+ <servlet-name>BasicConfiguration</servlet-name>
+ <url-pattern>
+ /config
+ </url-pattern>
</servlet-mapping>
+ <servlet>
+ <servlet-name>SelfTestServlet</servlet-name>
+ <servlet-class>
+ org.perfsonar.webadmin.base2.servlet.SelfTestServlet
+ </servlet-class>
+ </servlet>
<servlet-mapping>
- <servlet-name>AxisAdminServlet</servlet-name>
- <url-pattern>/axis2-admin/*</url-pattern>
+ <servlet-name>SelfTestServlet</servlet-name>
+ <url-pattern>
+ /selfTest
+ </url-pattern>
</servlet-mapping>
- <mime-mapping>
- <extension>inc</extension>
- <mime-type>text/plain</mime-type>
- </mime-mapping>
-
- <!-- WebAdmin section -->
-
+ <welcome-file-list>
+ <welcome-file>index.jsp</welcome-file>
+ </welcome-file-list>
+ <!-- end WebAdmin section -->
+
</web-app>
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DeregistrationActionTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DeregistrationActionTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DeregistrationActionTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -2,6 +2,7 @@
import junit.framework.TestCase;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.service.requesthandler.ServiceMessage;
import org.perfsonar.base2.xml.Element;
@@ -15,7 +16,10 @@
public class DeregistrationActionTests extends TestCase {
+ private static final Logger logger =
Logger.getLogger(DeregistrationActionTests.class);
+
private Element getDeregistrationRequest(String id, boolean
containsMetadata,boolean containslsKey) {
+ logger.debug("Creating a deregistration request");
Message msg = new Message();
msg.setType("LSDeregisterRequest");
@@ -48,6 +52,8 @@
}
public void testDeregistrationWithoutMetadata() throws
PerfSONARException {
+ logger.info("•••• Testing deregistration without metadata");
+ logger.warn("•Testing deregistration• a 'No metadata' warning
should appear in the logs, ignore it!");
LSDeregisterServiceEngine engine = new
LSDeregisterServiceEngine();
ServiceMessage requestMessage = new ServiceMessage(
@@ -62,6 +68,8 @@
}
public void testDeregistrationWithoutLSKey() throws
PerfSONARException {
+ logger.info("•••• Testing deregistration without LSKey");
+ logger.warn("•Testing deregistration• a 'No key' warning
should appear in the logs, ignore it!");
LSDeregisterServiceEngine engine = new
LSDeregisterServiceEngine();
ServiceMessage requestMessage = new ServiceMessage(
Added:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DiscoveryQueryGeneratorTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DiscoveryQueryGeneratorTests.java
(rev 0)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DiscoveryQueryGeneratorTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,190 @@
+/**
+ *
+ */
+package org.perfsonar.tests.actions;
+
+import org.apache.log4j.Logger;
+import org.perfsonar.base2.service.exceptions.PerfSONARException;
+import org.perfsonar.base2.xml.Element;
+import org.perfsonar.service.lookupservice.DiscoveryQueryGenerator;
+
+import junit.framework.TestCase;
+
+/**
+ * @author Antoine Delvaux - DANTE
+ *
+ */
+public class DiscoveryQueryGeneratorTests extends TestCase {
+
+ private static final Logger logger =
Logger.getLogger(DiscoveryQueryGeneratorTests.class);
+
+ private Element buildAddressElement(String ip) {
+ Element address = new Element("address", "nmtb",
"http://ogf.org/schema/network/topology/base/20070828/");
+ address.addAttribute("type", "ipv4");
+ address.setText(ip);
+ return address;
+ }
+
+ private Element buildDomainElement(String dom) {
+ Element domain = new Element("domain", "nmtb",
"http://ogf.org/schema/network/topology/base/20070828/");
+ Element domainName = new Element();
+ domainName.setName("name");
+ domainName.setText(dom);
+ domain.addChild(domainName);
+ return domain;
+ }
+
+ private Element buildEventTypeElement(String et) {
+ Element eventType = new Element("eventType", "nmwg",
"http://ggf.org/ns/nmwg/base/2.0/");
+ eventType.setText(et);
+ return eventType;
+ }
+
+ private Element buildParametersElement() {
+ Element parameters = new Element("parameters", "nmwg",
"http://ggf.org/ns/nmwg/base/2.0/");
+ return parameters;
+ }
+
+ private Element addKeywordParameterElement(Element parameters, String
val) {
+ Element parameter = new Element("parameter", "nmwg",
"http://ggf.org/ns/nmwg/base/2.0/");
+ parameter.addAttribute("name", "keyword");
+ parameter.setText(val);
+ parameters.addChild(parameter);
+ return parameters;
+ }
+
+ private Element addEventTypeParameterElement(Element parameters,
String val) {
+ Element parameter = new Element("parameter", "nmwg",
"http://ggf.org/ns/nmwg/base/2.0/");
+ parameter.addAttribute("name", "eventType");
+ parameter.setText(val);
+ parameters.addChild(parameter);
+ return parameters;
+ }
+
+ public void testDiscoveryQueryGeneratorEmpty() throws
PerfSONARException {
+ logger.info("•••• Testing Discovery Query Generator with an
empty XQuery");
+
+ // Create a dummy subject Element
+ Element subject = new Element();
+
+ DiscoveryQueryGenerator dqg = new
DiscoveryQueryGenerator(subject);
+ assertNotNull(dqg);
+
+ logger.warn("A Discovery query warning will be shown. Ignore
it!");
+ try {
+ dqg.getQuery();
+ fail();
+ } catch (PerfSONARException e) {
+ assertTrue(e.getMessage().contains("At least one
search element is needed (ip, domain, eventType, keyword)"));
+ }
+ }
+
+ public void testDiscoveryQueryGeneratorAddress() throws
PerfSONARException {
+ logger.info("•••• Testing Discovery Query Generator with an
IP address");
+
+ // Create the subject Element
+ Element subject = new Element("subject", "summary",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/");
+ subject.addChild(buildAddressElement("1.1.1.1"));
+
+ DiscoveryQueryGenerator dqg = new
DiscoveryQueryGenerator(subject);
+ assertNotNull(dqg);
+
+ assertTrue("Generated XQuery doesn't look good!",
dqg.getQuery().matches(
+ "^declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';\\s*" +
+ "declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';\\s*" +
+ "for \\$d in
/nmwg:store\\[@type='LSStore'\\]/nmwg:data\\s*"
+
+ "[\\S\\s]*" +
+ "\\(.*nmwgt:ifAddress.*'1.1.1.1'\\s*\\)" +
+ "[\\S\\s]*"));
+ }
+
+ public void testDiscoveryQueryGeneratorDomain() throws
PerfSONARException {
+ logger.info("•••• Testing Discovery Query Generator with an
IP address");
+
+ // Create the subject Element
+ Element subject = new Element("subject", "summary",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/");
+ subject.addChild(buildDomainElement("test.geant.net"));
+
+ DiscoveryQueryGenerator dqg = new
DiscoveryQueryGenerator(subject);
+ assertNotNull(dqg);
+
+ assertTrue("Generated XQuery doesn't look good!",
dqg.getQuery().matches(
+ "^declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';\\s*" +
+ "declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';\\s*" +
+ "for \\$d in
/nmwg:store\\[@type='LSStore'\\]/nmwg:data\\s*"
+
+ "[\\S\\s]*" +
+
"ends-with\\(.*nmwgt:hostName.*'test.geant.net'\\)" +
+ "[\\S\\s]*"));
+ }
+
+ public void testDiscoveryQueryGeneratorEventType() throws
PerfSONARException {
+ logger.info("•••• Testing Discovery Query Generator with an
eventType");
+
+ // Create the subject Element
+ Element subject = new Element("subject", "summary",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/");
+
subject.addChild(buildEventTypeElement("http://ggf.org/ns/nmwg/characteristic/utilization/2.0"));
+
+ DiscoveryQueryGenerator dqg = new
DiscoveryQueryGenerator(subject);
+ assertNotNull(dqg);
+
+ assertTrue("Generated XQuery doesn't look good!",
dqg.getQuery().matches(
+ "^declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';\\s*" +
+ "declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';\\s*" +
+ "for \\$d in
/nmwg:store\\[@type='LSStore'\\]/nmwg:data\\s*"
+
+ "[\\S\\s]*" +
+
"\\(.*nmwg:eventType.*'http://ggf.org/ns/nmwg/characteristic/utilization/2.0'\\s*\\)"
+
+ "[\\S\\s]*"));
+ }
+
+ public void testDiscoveryQueryGeneratorKeyword() throws
PerfSONARException {
+ logger.info("•••• Testing Discovery Query Generator with a
keyword");
+
+ // Create the subject Element
+ Element subject = new Element("subject", "summary",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/");
+
subject.addChild(addKeywordParameterElement(buildParametersElement(),
"GEANT"));
+
+ DiscoveryQueryGenerator dqg = new
DiscoveryQueryGenerator(subject);
+ assertNotNull(dqg);
+
+ assertTrue("Generated XQuery doesn't look good!",
dqg.getQuery().matches(
+ "^declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';\\s*" +
+ "declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';\\s*" +
+ "for \\$d in
/nmwg:store\\[@type='LSStore'\\]/nmwg:data\\s*"
+
+ "[\\S\\s]*" +
+
"\\(.*nmwg:parameter\\[@name='keyword'\\].*'GEANT'\\s*\\)"
+
+ "[\\S\\s]*"));
+ }
+
+ public void testDiscoveryQueryGeneratorAll() throws
PerfSONARException {
+ logger.info("•••• Testing Discovery Query Generator with each
search elements");
+
+ // Create the subject Element
+ Element subject = new Element("subject", "summary",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/");
+ subject.addChild(buildAddressElement("1.1.1.1"));
+ subject.addChild(buildDomainElement("test.geant.net"));
+
subject.addChild(buildEventTypeElement("http://ggf.org/ns/nmwg/characteristic/utilization/2.0"));
+ Element parameters =
addKeywordParameterElement(buildParametersElement(), "GEANT");
+ parameters = addEventTypeParameterElement(parameters,
"http://ggf.org/ns/nmwg/characteristic/errors/2.0");
+ subject.addChild(parameters);
+
+ DiscoveryQueryGenerator dqg = new
DiscoveryQueryGenerator(subject);
+ assertNotNull(dqg);
+
+ // The order is always: address, domain, eventType and then
parameter
+ assertTrue("Generated XQuery doesn't look good!",
dqg.getQuery().matches(
+ "^declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';\\s*" +
+ "declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';\\s*" +
+ "for \\$d in
/nmwg:store\\[@type='LSStore'\\]/nmwg:data\\s*"
+
+ "[\\S\\s]*" +
+ "\\(.*nmwgt:ifAddress.*'1.1.1.1'\\s*\\)" +
+ "[\\S\\s]*" +
+
"ends-with\\(.*nmwgt:hostName.*'test.geant.net'\\)" +
+ "[\\S\\s]*" +
+
"\\(.*nmwg:eventType.*'http://ggf.org/ns/nmwg/characteristic/(utilization|errors)/2.0'\\s*"
+
+ "[\\S\\s]*" +
+
".*nmwg:eventType.*'http://ggf.org/ns/nmwg/characteristic/(utilization|errors)/2.0'\\s*\\)"
+
+ "[\\S\\s]*" +
+
"\\(.*nmwg:parameter\\[@name='keyword'\\].*'GEANT'\\s*\\)"
+
+ "[\\S\\s]*"));
+ }
+}
Property changes on:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/DiscoveryQueryGeneratorTests.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/EchoActionTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/EchoActionTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/EchoActionTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -2,6 +2,7 @@
import junit.framework.TestCase;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.service.requesthandler.EchoServiceEngine;
import org.perfsonar.base2.service.requesthandler.ServiceMessage;
@@ -11,10 +12,15 @@
import org.perfsonar.base2.xml.nmwg.Message;
import org.perfsonar.base2.xml.nmwg.Metadata;
+/**
+ * @author Antoine Delvaux - DANTE
+ *
+ */
public class EchoActionTests extends TestCase {
+ private static final Logger logger =
Logger.getLogger(EchoActionTests.class);
+
private Element getEchoRequest(String eventTypeStr) {
-
Message msg = new Message();
msg.setType("EchoRequest");
@@ -29,15 +35,14 @@
Data data = new Data();
data.setMetadataIdRef(meta.getId());
-
msg.addChild(meta);
-
msg.addChild(data);
return msg;
}
public void testEchoRequestProcessing() throws PerfSONARException {
+ logger.info("•••• Testing Echo Request");
EchoServiceEngine ese = new EchoServiceEngine();
ServiceMessage requestMessage = new ServiceMessage(
@@ -53,6 +58,8 @@
}
public void testIncorrectEventType() {
+ logger.info("•••• Testing Echo Request with incorrect
eventType");
+
EchoServiceEngine ese = new EchoServiceEngine();
ServiceMessage responseMessage = new ServiceMessage();
@@ -67,6 +74,8 @@
public void testMessageWithoutEventType() {
+ logger.info("•••• Testing Echo Request without eventType");
+
EchoServiceEngine ese = new EchoServiceEngine();
ServiceMessage responseMessage = new ServiceMessage();
try {
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/QueryActionTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/QueryActionTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/QueryActionTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -1,7 +1,10 @@
package org.perfsonar.tests.actions;
+import java.util.Collection;
+
import junit.framework.TestCase;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.service.requesthandler.ServiceMessage;
import org.perfsonar.base2.xml.Element;
@@ -12,10 +15,19 @@
import org.perfsonar.base2.xml.nmwg.Parameters;
import org.perfsonar.base2.xml.nmwg.Subject;
import org.perfsonar.service.lookupservice.LSQueryServiceEngine;
+import org.perfsonar.service.lookupservice.LSRegisterServiceEngine;
+import org.perfsonar.tests.actions.RegistrationActionTests;
+/**
+ * @author Antoine Delvaux - DANTE
+ *
+ */
public class QueryActionTests extends TestCase {
+ private static final Logger logger =
Logger.getLogger(QueryActionTests.class);
+
private Element getQueryRequest(String eventTypeStr, String query) {
+ logger.debug("Creating a query request");
Message msg = new Message();
msg.setType("LSQueryRequest");
@@ -46,6 +58,8 @@
}
public void testPermissionDenied() throws PerfSONARException {
+ logger.info("•••• Testing Query Action: permission denied
error");
+ logger.warn("•Testing Query Action• a write access warning
should appear in the logs, ignore it!");
LSQueryServiceEngine engine = new LSQueryServiceEngine();
ServiceMessage serviceRequest = new ServiceMessage(
@@ -66,7 +80,8 @@
}
- public void testQueryRequestProcessing() throws PerfSONARException {
+ public void testQueryRequestSimple() throws PerfSONARException {
+ logger.info("•••• Testing Query Action: simple request and
check result");
LSQueryServiceEngine engine = new LSQueryServiceEngine();
ServiceMessage serviceRequest = new ServiceMessage(
@@ -76,13 +91,60 @@
ServiceMessage serviceResponse = new ServiceMessage();
engine.takeAction(serviceRequest, serviceResponse);
+
+ // Check eventType
+ Collection<Element> metadata =
serviceResponse.getElement().getChildren("metadata");
+ Element eventType =
metadata.iterator().next().getChildren("eventType").iterator().next();
+ assertTrue(eventType.getText().contains("success"));
-
assertTrue(serviceResponse.getElement().getChildren("metadata")
-
.iterator().next().getChildren("eventType").iterator().next()
- .getText().contains("success"));
+ // Check result
+ Collection<Element> data =
serviceResponse.getElement().getChildren("data");
+ Element result =
data.iterator().next().getChildren("datum").iterator().next().getChildren("value").iterator().next();
+ assertTrue(result.getText().contains("1"));
}
+ public void testQueryRequestXQuery() throws PerfSONARException {
+ logger.info("•••• Testing Query Action: registration + xquery
and check result");
+
+ LSRegisterServiceEngine regEngine = new
LSRegisterServiceEngine();
+ LSQueryServiceEngine engine = new LSQueryServiceEngine();
+
+ // Register a service so we can test it exists
+ RegistrationActionTests regTest = new
RegistrationActionTests();
+ ServiceMessage registrationRequest = new
ServiceMessage(regTest.getRegistrationRequest(true, true, true, "600", true));
+ ServiceMessage serviceResponse = new ServiceMessage();
+ regEngine.takeAction(registrationRequest, serviceResponse);
+
+ // Do an XQuery to test the query engine
+ ServiceMessage serviceRequest = new ServiceMessage(
+ getQueryRequest(
+
"http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/query/xquery/2.0",
+ "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
psservice=\"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/\"; " +
+ "for $metadata in
/nmwg:store/nmwg:metadata[@id=\"http://test.register.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService\"]
" +
+ "let $metadata_id :=
$metadata/@id " +
+ "let $data :=
/nmwg:store/nmwg:data[@metadataIdRef=$metadata_id]
" +
+ "where
$metadata//psservice:serviceType=\"MA\" " +
+ "return
$data//perfsonar:subject/" + RegistrationActionTests.dataName + " " +
+ ""));
+ engine.takeAction(serviceRequest, serviceResponse);
+
+ // Check eventType
+ Collection<Element> metadata =
serviceResponse.getElement().getChildren("metadata");
+ Element eventType =
metadata.iterator().next().getChildren("eventType").iterator().next();
+ assertTrue(eventType.getText().contains("success"));
+
+ // Check result
+ Collection<Element> datum =
serviceResponse.getElement().getChildren("data").iterator().next().getChildren("datum");
+ Element result =
datum.iterator().next().getChildren(RegistrationActionTests.dataName).iterator().next();
+
assertTrue(result.getText().contains(RegistrationActionTests.dataValue));
+ }
+
public void testIncorrectQuery() throws PerfSONARException {
+ logger.info("•••• Testing Query Action: incorrect query");
+ logger.warn("•Testing Query Action• a queryP error should
appear in the logs, ignore it!");
+
LSQueryServiceEngine engine = new LSQueryServiceEngine();
ServiceMessage serviceResponse = new ServiceMessage();
ServiceMessage serviceRequest = new ServiceMessage(
@@ -100,6 +162,8 @@
}
public void testIncorrectEventType() throws PerfSONARException {
+ logger.info("•••• Testing Query Action: incorrect eventType");
+
LSQueryServiceEngine engine = new LSQueryServiceEngine();
ServiceMessage serviceResponse = new ServiceMessage();
ServiceMessage serviceRequest = new
ServiceMessage(getQueryRequest(
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/RegistrationActionTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/RegistrationActionTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/actions/RegistrationActionTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -4,6 +4,7 @@
import junit.framework.TestCase;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.service.requesthandler.ServiceMessage;
import org.perfsonar.base2.xml.Element;
@@ -18,6 +19,15 @@
public class RegistrationActionTests extends TestCase {
+ private static final Logger logger =
Logger.getLogger(RegistrationActionTests.class);
+ public static final String dataValue = "The value of someData";
+ public static final String dataName = "someData";
+
+ /**
+ * Creates an empty Message with the given TTL
+ * @param lsTTL Time To Live parameter of the request
+ * @return
+ */
private Message getMessageBody(String lsTTL) {
Message msg = new Message();
msg.setType("LSRegisterRequest");
@@ -34,9 +44,19 @@
return msg;
}
- private Element getRegistrationRequest(boolean containsAccessPoint,
- boolean containsServiceName, boolean
containsServiceType,String lsTTL,boolean constinsData) {
+ /**
+ * Creates a Registration Request element
+ * @param containsAccessPoint Does the request contains an
accessPoint?
+ * @param containsServiceName Does the request contains a serviceName?
+ * @param containsServiceType Does the request contains a serviceType?
+ * @param lsTTL Time To Live parameter of the request
+ * @param containsData Does the request contains some Data?
+ * @return
+ */
+ public Element getRegistrationRequest(boolean containsAccessPoint,
+ boolean containsServiceName, boolean
containsServiceType, String lsTTL, boolean containsData) {
+ logger.debug("Creating a registration request");
Message msg = getMessageBody(lsTTL);
Metadata meta = new Metadata();
@@ -44,38 +64,29 @@
Subject subject = new Subject();
subject.setId("id");
- Element service = new Element();
- service.setName("service");
+ Element service = new Element("service", "psservice",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/");
- Element serviceName = new Element();
- serviceName.setName("serviceName");
+ Element serviceName = new Element("serviceName", "psservice",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/");
serviceName.setText("Java RRD MA");
- Element accessPoint = new Element();
- accessPoint.setName("accessPoint");
- accessPoint
-
.setText("http://TESTREGISTER.fr:8080/axis/services/MeasurementArchiveService");
+ Element accessPoint = new Element("accessPoint", "psservice",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/");
+
accessPoint.setText("http://test.register.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService");
- Element serviceType = new Element();
- serviceType.setName("serviceType");
+ Element serviceType = new Element("serviceType", "psservice",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/");
serviceType.setText("MA");
- Element serviceDescription = new Element();
- serviceDescription.setName("serviceDescription");
- serviceDescription
- .setText("Java RRD MA, perfSONAR project,
229.148.249.60");
+ Element serviceDescription = new
Element("serviceDescription", "psservice",
"http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/");
+ serviceDescription.setText("Java RRD MA, perfSONAR project,
229.148.249.60");
- Element organization = new Element();
- organization.setName("organization");
- organization.setText("Shower France");
+ Element organization = new Element("organization",
"psservice", "http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/");
+ organization.setText("GEANT");
- Element contactEmail = new Element();
- contactEmail.setName("contactEmail");
-
contactEmail.setText("");
+ Element contactEmail = new Element("contactEmail",
"psservice", "http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/");
+
contactEmail.setText("");
- Element serviceVersion = new Element();
- serviceVersion.setName("contactEmail");
+ Element serviceVersion = new Element("serviceVersion",
"psservice", "http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/");
serviceVersion.setText("1.5");
+
if (containsServiceName) {
service.addChild(serviceName);
}
@@ -92,19 +103,27 @@
subject.addChild(service);
- Data data = new Data();
- data.setMetadataIdRef(meta.getId());
- Metadata metaInData = new Metadata();
- Element someData = new Element();
- someData.setName("someData");
- someData.setText("xxx");
- metaInData.addChild(someData);
+ meta.addChild(subject);
+ msg.addChild(meta);
- data.addChild(metaInData);
+ if(containsData) {
+ // Creating an nmwg:data element and filling it
+ Data data = new Data();
+ data.setMetadataIdRef(meta.getId());
+
+ // nmwg:metadata
+ Metadata metaInData = new Metadata();
+ Subject mdSubject = new Subject("perfsonar");
+ Element someData = new Element();
+ someData.setName(dataName);
+ someData.setText(dataValue);
- msg.addChild(meta);
- meta.addChild(subject);
- if(constinsData){
+ // Building data element
+ mdSubject.addChild(someData);
+ metaInData.addChild(mdSubject);
+ data.addChild(metaInData);
+
+ // And adding everything to the message
msg.addChild(data);
}
@@ -112,10 +131,13 @@
}
public void testRegistrationWithoutAccesPoint() throws
PerfSONARException {
+ logger.info("•••• Testing LS Registration: without
accessPoint");
+ logger.warn("•Testing LS Registration• a 'No serviceName'
warning should appear in the logs, ignore it!");
+
LSRegisterServiceEngine engine = new
LSRegisterServiceEngine();
ServiceMessage requestMessage = new ServiceMessage(
- getRegistrationRequest(true, false,
true,"222", true));
+ getRegistrationRequest(true, false, true,
"222", true));
ServiceMessage responseMessage = new ServiceMessage();
try {
engine.takeAction(requestMessage, responseMessage);
@@ -126,10 +148,13 @@
}
public void testRegistrationWithoutServiceName() throws
PerfSONARException {
+ logger.info("•••• Testing LS Registration: without
serviceName");
+ logger.warn("•Testing LS Registration• a 'No accessPoint'
warning should appear in the logs, ignore it!");
+
LSRegisterServiceEngine engine = new
LSRegisterServiceEngine();
ServiceMessage requestMessage = new ServiceMessage(
- getRegistrationRequest(false, true,
true,"222", true));
+ getRegistrationRequest(false, true, true,
"222", true));
ServiceMessage responseMessage = new ServiceMessage();
try {
engine.takeAction(requestMessage, responseMessage);
@@ -140,6 +165,9 @@
}
public void testRegistrationWithoutMetadata() throws
PerfSONARException {
+ logger.info("•••• Testing LS Registration: without metadata");
+ logger.warn("•Testing LS Registration• a 'No metadata'
warning should appear in the logs, ignore it!");
+
LSRegisterServiceEngine engine = new
LSRegisterServiceEngine();
ServiceMessage responseMessage = new ServiceMessage();
@@ -152,10 +180,13 @@
}
public void testRegistrationWithoutData() throws PerfSONARException {
+ logger.info("•••• Testing LS Registration: without data");
+ logger.warn("•Testing LS Registration• a 'at least one data
element' warning should appear in the logs, ignore it!");
+
LSRegisterServiceEngine engine = new
LSRegisterServiceEngine();
ServiceMessage requestMessage = new ServiceMessage(
- getRegistrationRequest(true, true,
true,"222", false));
+ getRegistrationRequest(true, true, true,
"222", false));
ServiceMessage responseMessage = new ServiceMessage();
try {
engine.takeAction(requestMessage,
@@ -165,40 +196,55 @@
}
}
+ /**
+ * Test a Registration without a Service Type
+ * @throws PerfSONARException
+ */
public void testRegistrationWithoutServiceType() throws
PerfSONARException {
+ logger.info("•••• Testing LS Registration: without
serviceType");
+ logger.warn("•Testing LS Registration• a 'No serviceType'
warning should appear in the logs, ignore it!");
+
LSRegisterServiceEngine engine = new
LSRegisterServiceEngine();
ServiceMessage responseMessage = new ServiceMessage();
try {
engine.takeAction(new
ServiceMessage(getRegistrationRequest(true,
- true, false,"222", true)),
responseMessage);
+ true, false, "222", true)),
responseMessage);
fail();
} catch (PerfSONARException ex) {
}
}
+ /**
+ * Test the Time To Live parameter
+ * @throws Exception
+ */
public void testLsTTLParameters() throws Exception {
+ logger.info("•••• Testing LS Registration: TTL parameter");
+
LSRegisterServiceEngine engine = new
LSRegisterServiceEngine();
-
ServiceMessage responseMessage = new ServiceMessage();
- engine.takeAction(new
ServiceMessage(getRegistrationRequest(true, true,
- true,"xx", true)), responseMessage);
- Iterator<Element>
iter=responseMessage.getMessageElement().getChildren("metadata").iterator();
+ // Use a TTL value not being a number
+ logger.debug("• TTL value is not a number: xx");
+ engine.takeAction(new
ServiceMessage(getRegistrationRequest(true, true, true, "xx", true)),
responseMessage);
+
+ // TODO: This test needs an existing /db/ls/Store eXist
collection, make sure it exists!
+ Iterator<Element> iter =
responseMessage.getMessageElement().getChildren("metadata").iterator();
iter.next();
- Metadata meta=(Metadata)iter.next();
- EventType
eventType=(EventType)meta.getChildren("eventType").iterator().next();
+ Metadata meta = (Metadata)iter.next();
+ EventType eventType =
(EventType)meta.getChildren("eventType").iterator().next();
assertTrue(eventType.getText().contains("not_a_number"));
- engine.takeAction(new
ServiceMessage(getRegistrationRequest(true, true,
- true,"-1", true)), responseMessage);
+ // Use a negative TTL value
+ logger.debug("• TTL value is negative: -1");
+ engine.takeAction(new
ServiceMessage(getRegistrationRequest(true, true, true, "-1", true)),
responseMessage);
-
iter=responseMessage.getMessageElement().getChildren("metadata").iterator();
+ iter =
responseMessage.getMessageElement().getChildren("metadata").iterator();
iter.next();
- meta=(Metadata)iter.next();
-
eventType=(EventType)meta.getChildren("eventType").iterator().next();
+ meta = (Metadata)iter.next();
+ eventType =
(EventType)meta.getChildren("eventType").iterator().next();
assertTrue(eventType.getText().contains("out_of_bound"));
-
}
}
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/DataSourceComponentTest.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/DataSourceComponentTest.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/DataSourceComponentTest.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -2,38 +2,45 @@
import junit.framework.TestCase;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.configuration.ConfigurationManager;
import org.perfsonar.base2.service.configuration.Option;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.service.lookupservice.components.DataSourceComponent;
-public class DataSourceComponentTest extends TestCase{
+public class DataSourceComponentTest extends TestCase {
+ private static final Logger logger =
Logger.getLogger(DataSourceComponentTest.class);
+
+ public void testComponents() throws PerfSONARException {
+ logger.info("•••• Testing existDataSource instanciation");
+ testComponent("existDataSource");
+ }
- public void testComponent() throws PerfSONARException{
- DataSourceComponent
dsc=(DataSourceComponent)ConfigurationManager.getInstanceWithoutRunningComponents().getConfiguration().getAuxiliaryComponent("existDataSource");
+ private void testComponent(String src) throws PerfSONARException {
+ DataSourceComponent dsc = (DataSourceComponent)
ConfigurationManager.getInstanceWithoutRunningComponents().getConfiguration().getAuxiliaryComponent(src);
assertNotNull(dsc);
String username=dsc.getOption("username").getValue();
String password=dsc.getOption("password").getValue();
-
+ // Check the username and password fields are correctly
initialised
assertEquals(username, dsc.getUsername());
assertEquals(password, dsc.getPassword());
- Option usernameROOption=dsc.getOption("usernameRO");
- Option passwordROOption=dsc.getOption("passwordRO");
- if(usernameROOption!=null && passwordROOption!=null){
- String usernameRO=usernameROOption.getValue();
- String passwordRO=passwordROOption.getValue();
+ Option usernameROOption = dsc.getOption("usernameRO");
+ Option passwordROOption = dsc.getOption("passwordRO");
+
+ if (usernameROOption != null && passwordROOption != null) {
+ String usernameRO = usernameROOption.getValue();
+ String passwordRO = passwordROOption.getValue();
assertEquals(usernameRO, dsc.getUsernameRO());
assertEquals(passwordRO, dsc.getPasswordRO());
assertTrue(dsc.hasReadOnlyUser());
- }else{
+ } else {
assertEquals(username, dsc.getUsernameRO());
assertEquals(password, dsc.getPasswordRO());
assertFalse(dsc.hasReadOnlyUser());
}
}
-
}
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/ModificationCounterComponentTest.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/ModificationCounterComponentTest.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/ModificationCounterComponentTest.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -73,7 +73,6 @@
for (int i = 0; i < THREADS_COUNT; i++) {
testers[i] = new AsynchTester(new Runnable() {
- @Override
public void run() {
int last = cp.getCounter();
@@ -111,7 +110,6 @@
for (int i = 0; i < THREADS_COUNT; i++) {
testers[i] = new AsynchTester(new Runnable() {
- @Override
public void run() {
for (int i = 0; i < LOOP_COUNT; i++) {
cp.incrementCounter();
@@ -149,7 +147,6 @@
for (int i = 0; i < THREADS_COUNT; i++) {
testers[i] = new AsynchTester(new Runnable() {
- @Override
public void run() {
int last = cp.getCounter();
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/XMLDBComponentTest.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/XMLDBComponentTest.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/components/XMLDBComponentTest.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -2,79 +2,148 @@
import junit.framework.TestCase;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.configuration.ConfigurationManager;
import org.perfsonar.base2.service.configuration.Option;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
+import org.perfsonar.base2.service.storage.xml.XMLDBResult;
import org.perfsonar.service.lookupservice.components.XMLDBComponent;
+import org.xmldb.api.base.Collection;
+import org.xmldb.api.base.XMLDBException;
public class XMLDBComponentTest extends TestCase{
-
-// private final String FILE_NAME = "xxxx.xml";
-
-
+ private static final Logger logger =
Logger.getLogger(XMLDBComponentTest.class);
+ private static final String FILE_NAME = "TestingFile-" +
String.format("%.0f", Math.random()*999999999) + ".xml";
+
public XMLDBComponent getXMLDBComponent() throws PerfSONARException{
- return
(XMLDBComponent)ConfigurationManager.getInstanceWithoutRunningComponents().getConfiguration().getAuxiliaryComponent("existAccessManager");
+ return (XMLDBComponent)
ConfigurationManager.getInstanceWithoutRunningComponents().getConfiguration().getAuxiliaryComponent("existAccessManager");
}
-
+
public XMLDBComponent getXMLDBComponentRO() throws PerfSONARException{
return
(XMLDBComponent)ConfigurationManager.getInstanceWithoutRunningComponents().getConfiguration().getAuxiliaryComponent("existAccessManagerRO");
}
-
- public void testXMLDBReadOnlyInitialization() throws
PerfSONARException{
- XMLDBComponent xmlDB=getXMLDBComponentRO();
- assertNotNull(xmlDB);
- Option
readOnlyOption=xmlDB.getOption(XMLDBComponent.READ_ONLY_KEY);
+
+ public void testXMLDBInitialization() throws PerfSONARException {
+ logger.info("•••• Testing XMLDB initialization");
+
+ XMLDBComponent XmlDbComp = getXMLDBComponent();
+
+ Option readOnlyOption =
XmlDbComp.getOption(XMLDBComponent.READ_ONLY_KEY);
+ assertNull(readOnlyOption);
+
assertNotNull(XmlDbComp.getOption(XMLDBComponent.DATASOURCE_KEY));
+
+ // After this call, the XMLRPC client will be shared by all
other calls
+ Collection mainCol = XmlDbComp.getMainCollection();
+ assertNotNull(mainCol);
+
+ try {
+ // We must have at least 2 child collections if the
DB has been correctly initialised through the
ExistDBInitializerServlet.initializeDatabase()
+ Integer count = mainCol.getChildCollectionCount();
+ Collection childCol1 =
mainCol.getChildCollection("ls");
+ Collection childCol2 =
mainCol.getChildCollection("copy");
+ assertTrue(count > 1);
+ assertNotNull(childCol1);
+ assertNotNull(childCol2);
+ } catch (XMLDBException e) {
+ fail();
+ }
+ logger.info("•• XMLDB initialization passed!");
+ }
+
+ public void testXMLDBReadOnly() throws PerfSONARException {
+ logger.info("•••• Testing XMLDB Read Only access");
+
+ // We need 2 XmlDbComp here
+ XMLDBComponent XmlDbComp = getXMLDBComponent();
+ XMLDBComponent XmlDbCompRO = getXMLDBComponentRO();
+
+ Option readOnlyOption =
XmlDbCompRO.getOption(XMLDBComponent.READ_ONLY_KEY);
assertNotNull(readOnlyOption);
assertTrue(Boolean.valueOf(readOnlyOption.getValue()));
- assertNotNull(xmlDB.getOption(XMLDBComponent.DATASOURCE_KEY));
+
assertNotNull(XmlDbCompRO.getOption(XMLDBComponent.DATASOURCE_KEY));
+
+ // Trying to upload without write access
+ try {
+ logger.warn("•Testing XMLDBComponent• A write access
warning should appear in the logs, ignore it!");
+ // This must create an error
+ XmlDbCompRO.uploadStoreFile(FILE_NAME, "<a>text</a>");
+ fail();
+ } catch (PerfSONARException ex) {
+ // Test passed if we get here
+ }
+
+ // Insert a dummy testing file
+ logger.debug("Uploading file with correct access");
+ XmlDbComp.uploadStoreFile(FILE_NAME, "<a>text</a>");
+ // try {
+ // logger.debug("Trying to remove file without write
access");
+ // // This must create an error
+ // // •••• From here ...
+ // // FIXME: The following call seems to create a lock
and not release it
+ // Is it because there's an write access right denied or
because we use 2 different Collections (with different credentials) in the
same thread?
+ // XmlDbCompRO.removeFile(FILE_NAME);
+ // fail();
+ //} catch (PerfSONARException ex) {
+ // // Test passed if we get here
+ //}
+ // Cleanup space
+ logger.debug("Removing file with correct access");
+ // ... to here ••••
+ XmlDbComp.removeStoreFile(FILE_NAME);
+ Integer initialCount = getDocumentCount(XmlDbComp);
+ logger.debug("Document count: " + initialCount);
+ logger.info("•• XMLDB Read Only access passed!");
}
-
- public void testXMLDBInitialization() throws PerfSONARException{
- XMLDBComponent xmlDB=getXMLDBComponent();
- assertNotNull(xmlDB);
- Option
readOnlyOption=xmlDB.getOption(XMLDBComponent.READ_ONLY_KEY);
- assertNull(readOnlyOption);
- assertNotNull(xmlDB.getOption(XMLDBComponent.DATASOURCE_KEY));
+
+ private Integer getDocumentCount(XMLDBComponent dbcomp) {
+ Integer count = 0;
+ Boolean tryAgain = false;
+ String name = Thread.currentThread().getName();
+ try {
+ logger.debug("Counting documents in /db/ls/store/
with an XQuery");
+ XMLDBResult result =
dbcomp.performXQuery("count(collection('/db/ls/store/')/a)");
+ count =
Integer.valueOf(result.getFirstElement().getText());
+ } catch (PerfSONARException ex) {
+ logger.error(name + ": Our count() XQuery returned an
error: " + ex.getMessage());
+ tryAgain = true;
+ }
+ if (tryAgain) {
+ // We're not sure what happened, let's try again
+ try {
+ logger.debug(name + ": Let's try to count
again");
+ XMLDBResult result =
dbcomp.performXQuery("count(collection('/db/ls/store/')/a)");
+ count =
Integer.valueOf(result.getFirstElement().getText());
+ } catch (PerfSONARException e) {
+ logger.fatal(name + ": Second try, that's now
a fatal error: " + e.getMessage());
+ fail();
+ }
+ }
+ return count;
}
-
-// private void uploadFile() throws Exception{
-// getXMLDBComponent().uploadStoreFile(FILE_NAME, "<a>text</a>");
-// }
-//
-// private Integer getDocumentCount(XPathQueryService service) throws
Exception {
-// ResourceSet rs =
service.query("count(collection('/db/ls/store/')/a)");
-//
-// ResourceIterator i = rs.getIterator();
-// if (i.hasMoreResources()) {
-// Integer value = Integer.valueOf((String)
i.nextResource()
-// .getContent());
-// return value;
-// } else {
-// throw new RuntimeException("fail !");
-// }
-// }
-//
-// public void testUpload() throws Exception {
-//
-// XMLDBComponent xmlDBComponent=getXMLDBComponent();
-// XPathQueryService service = xmlDBComponent.getService();
-// uploadFile();
-// Integer count = getDocumentCount(service);
-// assertTrue(count > 0);
-// xmlDBComponent.removeFile(FILE_NAME);
-// count = getDocumentCount(service);
-// assertTrue(count == 0);
-// }
-// public void testRemove() throws Exception {
-//
-// XMLDBComponent xmlDBComponent=getXMLDBComponent();
-// XPathQueryService service = xmlDBComponent.getService();
-// uploadFile();
-// xmlDBComponent.removeFile(FILE_NAME);
-// Integer count = getDocumentCount(service);
-// assertTrue(count == 0);
-// }
-
-
+ public void testUploadDelete() throws PerfSONARException {
+ logger.info("•••• Testing file storage and XQueries");
+
+ XMLDBComponent XmlDbComp = (XMLDBComponent)
ConfigurationManager.getInstanceWithoutRunningComponents().getConfiguration().getAuxiliaryComponent("existAccessManager").clone();
+
+ // First we make a clean space by removing anything that
could already exist
+ logger.debug("removing file to be safe");
+ XmlDbComp.removeStoreFile(FILE_NAME);
+ Integer initialCount = getDocumentCount(XmlDbComp);
+
+ // Upload a new file
+ logger.debug("uploading file");
+ XmlDbComp.uploadStoreFile(FILE_NAME, "<a>text</a>");
+ Integer newCount = getDocumentCount(XmlDbComp);
+ assertTrue(initialCount+1 == newCount);
+
+ // Delete the file
+ logger.debug("removing file");
+ XmlDbComp.removeStoreFile(FILE_NAME);
+ newCount = getDocumentCount(XmlDbComp);
+ assertTrue(initialCount == newCount);
+ //XmlDbComp.destroy();
+ logger.info("•• Test file storage and XQueries passed!");
+ }
+
}
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/CommonExistDaoTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/CommonExistDaoTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/CommonExistDaoTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -2,17 +2,30 @@
import junit.framework.TestCase;
-import org.perfsonar.base2.service.configuration.ConfigurationManager;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.xml.nmwg.Data;
import org.perfsonar.base2.xml.nmwg.Metadata;
import org.perfsonar.service.lookupservice.storage.LookupServiceDAO;
+import org.perfsonar.service.lookupservice.storage.LookupServiceDAOFactory;
public class CommonExistDaoTests extends TestCase {
- private void insertExampleData(LookupServiceDAO dao, String
metadataId)
+ private static final Logger logger =
Logger.getLogger(CommonExistDaoTests.class);
+
+ private final LookupServiceDAO lsDao;
+
+ /**
+ * @throws PerfSONARException
+ *
+ */
+ public CommonExistDaoTests() throws PerfSONARException {
+ super();
+ lsDao = LookupServiceDAOFactory.getDAO();
+ }
+
+ private void insertExampleData(String metadataId)
throws PerfSONARException {
-
Metadata meta = new Metadata();
meta.setId(metadataId);
@@ -24,36 +37,48 @@
data2.setId("id1");
data2.setMetadataIdRef(meta.getId());
- dao.putLookupInfo(meta, new Data[] { data1, data2 });
+ lsDao.putLookupInfo(meta, new Data[] { data1, data2 });
}
- private LookupServiceDAO getLsDao() throws PerfSONARException {
- LookupServiceDAO lsDao = (LookupServiceDAO)
ConfigurationManager
-
.getInstanceWithoutRunningComponents().getConfiguration()
- .getAuxiliaryComponent("lsdao");
- return lsDao;
+ public void testDBConnectivity() throws PerfSONARException {
+ logger.info("•••• Testing LS DAO connectivity");
+ assertTrue(lsDao.isDBConnectivity());
}
public void testCollectionExists() throws PerfSONARException {
- LookupServiceDAO lsDao = getLsDao();
+ logger.info("•••• Testing LS DAO collections exists");
+ assertTrue(lsDao.isDBConnectivity());
assertFalse(lsDao.isDBCollection("DUMMY_COLLECTION_NAME"));
+ assertNotNull(lsDao);
assertTrue(lsDao.isDBCollection("LSStore-control"));
}
+ // TODO: Does nothing!
public void testRemoveFile() throws PerfSONARException {
- LookupServiceDAO lsDao = getLsDao();
+ logger.info("•••• Testing LS DAO file removal (empty test for
now)");
assertTrue(lsDao.isDBConnectivity());
}
- public void testDBConnectivity() throws PerfSONARException {
- assertTrue(getLsDao().isDBConnectivity());
- }
public void testIsLookupInfo() throws PerfSONARException {
- LookupServiceDAO lsDao = getLsDao();
+ logger.info("•••• Testing LS DAO insertion and deletion of LS
info");
+ assertTrue(lsDao.isDBConnectivity());
String metadataId="id"+System.currentTimeMillis();
- insertExampleData(lsDao, metadataId);
+
+ // Remove any existing element, to be safe
+ logger.debug("Cleaning up for test data");
+ lsDao.removeLookupInfo(metadataId);
+
+ // Inserting some data
+ logger.debug("Inserting test data");
+ assertTrue(lsDao.isDBConnectivity());
+ insertExampleData(metadataId);
assertTrue(lsDao.isLookupInfo(metadataId));
+ logger.debug("... done!");
+
+ // Removing the data
+ logger.debug("Removing test data");
+ assertTrue(lsDao.isDBConnectivity());
lsDao.removeLookupInfo(metadataId);
assertFalse(lsDao.isLookupInfo(metadataId));
}
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/SummarizationDaoTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/SummarizationDaoTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/SummarizationDaoTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -5,74 +5,85 @@
import junit.framework.TestCase;
-import org.perfsonar.base2.service.configuration.ConfigurationManager;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.xml.Element;
import org.perfsonar.base2.xml.nmwg.Data;
import org.perfsonar.base2.xml.nmwg.Metadata;
+import org.perfsonar.service.lookupservice.storage.LookupServiceDAOFactory;
import org.perfsonar.service.lookupservice.storage.SummarizationDAO;
public class SummarizationDaoTests extends TestCase{
-
-
- private SummarizationDAO getSummarizationDao() throws
PerfSONARException{
- return
(SummarizationDAO)ConfigurationManager.getInstanceWithoutRunningComponents().getConfiguration().getAuxiliaryComponent("summarizationdao");
+
+ private static final Logger logger =
Logger.getLogger(SummarizationDaoTests.class);
+
+ private final SummarizationDAO summarizationDAO;
+
+ /**
+ * @throws PerfSONARException
+ *
+ */
+ public SummarizationDaoTests() throws PerfSONARException {
+ super();
+ summarizationDAO =
LookupServiceDAOFactory.getSumarizationDAO();
}
-
-
+
+ /*
+ * Setup the test conditions and elements
+ */
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ assertNotNull(summarizationDAO);
+ }
+
public void testPutSingleSummaryData() throws Exception{
-
- SummarizationDAO summarizationDAO=getSummarizationDao();
-
+ logger.info("•••• Testing Summarization DAO: single insert");
+
+ // Clean state before beginning
summarizationDAO.removeSummaryData();
-
- Metadata meta=new Metadata();
+
+ Metadata meta = new Metadata();
meta.setId("Id");
meta.addParameter("param1", "value");
-
+
Data data=new Data();
data.setId("Id1");
data.setMetadataIdRef(meta.getId());
-
+
meta.addChild(data);
-
+
summarizationDAO.putSummaryData(meta);
-
assertTrue(summarizationDAO.getSummaryData().getTotal()>0);
-
+
}
-
-
+
+
public void testPutBatchOfSummaryData() throws Exception{
-
- SummarizationDAO summarizationDAO=getSummarizationDao();
-
-
+ logger.info("•••• Testing Summarization DAO: batch insert");
+
Metadata meta1=new Metadata();
meta1.setId("Id1");
meta1.addParameter("param1", "value1");
-
+
Metadata meta2=new Metadata();
meta2.setId("Id2");
meta2.addParameter("param1", "value1");
-
-
+
List<Element> elements= new ArrayList<Element>();
elements.add(meta1);
elements.add(meta2);
-
+
+ // Clean state before beginning
summarizationDAO.removeSummaryData();
-
+
summarizationDAO.putBatchData(elements);
-
assertTrue(summarizationDAO.getSummaryData().getTotal()==elements.size());
-
+
summarizationDAO.removeSummaryData();
-
summarizationDAO.putBatchData(elements, 100);
-
assertTrue(summarizationDAO.getSummaryData().getTotal()==elements.size());
-
+
summarizationDAO.removeSummaryData();
}
}
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/XQueryExistDAOImplTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/XQueryExistDAOImplTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/dao/XQueryExistDAOImplTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -5,7 +5,7 @@
import junit.framework.TestCase;
-import org.perfsonar.base2.service.configuration.ConfigurationManager;
+import org.apache.log4j.Logger;
import org.perfsonar.base2.service.exceptions.PerfSONARException;
import org.perfsonar.base2.xml.Element;
import org.perfsonar.base2.xml.nmwg.Data;
@@ -13,19 +13,33 @@
import org.perfsonar.base2.xml.nmwg.Parameter;
import org.perfsonar.base2.xml.nmwg.Parameters;
import org.perfsonar.service.lookupservice.storage.LookupServiceDAO;
+import org.perfsonar.service.lookupservice.storage.LookupServiceDAOFactory;
import
org.perfsonar.service.lookupservice.storage.exist.XQueryDAOSupportImpl;
public class XQueryExistDAOImplTests extends TestCase {
- private LookupServiceDAO getXQueryExistDAOImplDao()
- throws PerfSONARException {
- return (LookupServiceDAO) ConfigurationManager
-
.getInstanceWithoutRunningComponents().getConfiguration()
- .getAuxiliaryComponent("lsdao");
+ private static final Logger logger =
Logger.getLogger(XQueryExistDAOImplTests.class);
+
+ private final LookupServiceDAO dao;
+
+ /**
+ * @throws PerfSONARException
+ *
+ */
+ public XQueryExistDAOImplTests() throws PerfSONARException {
+ super();
+ dao = LookupServiceDAOFactory.getDAO();
}
+ /* Setup the test conditions and elements
+ */
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ assertNotNull(dao);
+ }
- private void insertExampleData(LookupServiceDAO dao, String
metadataId)
+ private void insertExampleData(String metadataId)
throws PerfSONARException {
Metadata meta = new Metadata();
@@ -43,13 +57,11 @@
}
public void testSaveDeleteData() throws PerfSONARException {
+ logger.info("•••• Testing XQueryDAO: insert and remove");
- LookupServiceDAO dao = getXQueryExistDAOImplDao();
-
String metadataId = "222";
- assertNotNull(dao);
- insertExampleData(dao, metadataId);
+ insertExampleData(metadataId);
assertTrue(dao.isLookupInfo(metadataId));
dao.removeLookupInfo(metadataId);
assertFalse(dao.isLookupInfo(metadataId));
@@ -57,12 +69,11 @@
}
public void testQueryLookupInformation() throws PerfSONARException {
+ logger.info("•••• Testing XQueryDAO: LS info and metadataId");
- LookupServiceDAO dao = getXQueryExistDAOImplDao();
- assertNotNull(dao);
String metadataId = "id";
- insertExampleData(dao, metadataId);
+ insertExampleData(metadataId);
assertTrue(dao.isLookupInfo(metadataId));
@@ -80,11 +91,10 @@
}
public void testSaveControlParameter() throws PerfSONARException {
+ logger.info("•••• Testing XQueryDAO: control parameters");
- LookupServiceDAO dao = getXQueryExistDAOImplDao();
- assertNotNull(dao);
String metadataId = "id";
- insertExampleData(dao, metadataId);
+ insertExampleData(metadataId);
String paramName = "parameter";
String paramValue = "value";
@@ -111,7 +121,6 @@
assertEquals(paramValue, param.getAttribute("value"));
dao.removeLookupInfo(metadataId);
-
}
}
Added:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/suite/LSTestSuite.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/suite/LSTestSuite.java
(rev 0)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/suite/LSTestSuite.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,67 @@
+package org.perfsonar.tests.suite;
+
+
+import org.apache.log4j.Logger;
+import org.perfsonar.tests.actions.*;
+import org.perfsonar.tests.components.*;
+import org.perfsonar.tests.dao.*;
+import org.perfsonar.tests.summarization.*;
+import org.perfsonar.tests.utilities.*;
+
+import junit.framework.TestSuite;
+
+/**
+ * Whole test suite for the XML-LS project
+ *
+ * Eclipse project should be defined so that:
+ * - logging configuration is from log4j/development/log4j.properties (add
a JUnit run Classpath entry)
+ * - XML-LS configuration is from
src/test/resources/perfsonar/conf/configuration.xml (add a JUnit source
lookup path entry)
+ *
+ * @author Antoine Delvaux - DANTE
+ *
+ */
+public class LSTestSuite extends TestSuite {
+
+ private static final Logger logger =
Logger.getLogger(LSTestSuite.class);
+
+ /**
+ * We have a test suite object to run all tests in a consistent order
+ */
+ public static TestSuite suite(){
+ // To see if logger is correctly setup, use configuration
file in log4j/development (add it to the classpath)
+ logger.info("Launching complete Lookup Service unit testing
suite, we can have a 5 levels logging at this point");
+ logger.fatal("0 - FATAL level logging");
+ logger.error("1 - ERROR level logging");
+ logger.warn(" 2 - WARN level logging");
+ logger.info(" 3 - INFO level logging");
+ logger.debug("4 - DEBUG level logging");
+ logger.trace("5 - TRACE level logging");
+
+ TestSuite suite = new TestSuite();
+ // eXist DB setup (clears the DB)
+ suite.addTestSuite(ExistDBInitializerTests.class);
+
+ // Components (ModificationCounterComponent and
XMLDBComponent tests are run in a threaded environment)
+ suite.addTestSuite(DataSourceComponentTest.class);
+ suite.addTestSuite(ModificationCounterComponentTest.class);
+ suite.addTestSuite(XMLDBComponentTest.class);
+
+ suite.addTestSuite(DiscoveryQueryGeneratorTests.class);
+
+ // DAO - FIXME: threading issue
+ suite.addTestSuite(XQueryExistDAOImplTests.class);
+ suite.addTestSuite(CommonExistDaoTests.class);
+ suite.addTestSuite(SummarizationDaoTests.class);
+
+ // Actions
+ suite.addTestSuite(EchoActionTests.class);
+ suite.addTestSuite(RegistrationActionTests.class);
+ suite.addTestSuite(QueryActionTests.class);
+ suite.addTestSuite(DeregistrationActionTests.class);
+
+ // Summarization
+ suite.addTestSuite(SummarizationTests.class);
+
+ return suite;
+ }
+}
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/summarization/SummarizationTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/summarization/SummarizationTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/summarization/SummarizationTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -5,40 +5,46 @@
import junit.framework.TestCase;
+import org.apache.log4j.Logger;
import
org.perfsonar.service.lookupservice.registration.summarization.DomainSummarizator;
import
org.perfsonar.service.lookupservice.registration.summarization.SummarizeIpAddrs;
public class SummarizationTests extends TestCase {
- public void testIPSummarization(){
- Set<String> ips=new HashSet<String>();
+ private static final Logger logger =
Logger.getLogger(SummarizationTests.class);
+
+ public void testIPSummarization() {
+ logger.info("•••• Testing IP summarization");
+
+ Set<String> ips = new HashSet<String>();
ips.add("192.168.1.1");
ips.add("192.168.1.0");
- Set<String> result=SummarizeIpAddrs.getSummary(ips);
+ Set<String> result = SummarizeIpAddrs.getSummary(ips);
assertEquals("192.168.1.0/31", result.iterator().next());
}
- public void testIPSummarizationWithInvalid(){
-
- Set<String> ips=new HashSet<String>();
+ public void testIPSummarizationWithInvalid() {
+ logger.info("•••• Testing IP summarization with invalid IP");
+ logger.warn("•Testing summarization• some 'Ignoring address'
warnings should appear in the logs, ignore it!");
+
+ Set<String> ips = new HashSet<String>();
ips.add("192.168.1.1");
ips.add("192.xxx");
ips.add("192.xxx.1.999");
- Set<String> result=SummarizeIpAddrs.getSummary(ips);
+ Set<String> result = SummarizeIpAddrs.getSummary(ips);
assertEquals("192.168.1.1/32", result.iterator().next());
}
- public void testDomainSummarization(){
- Set<String> domains=new HashSet<String>();
-
+ public void testDomainSummarization() {
+ logger.info("•••• Testing domain summarization");
+
+ Set<String> domains = new HashSet<String>();
domains.add("man.poznan.pl");
domains.add("berlin.de");
-
-
- Set<String> result=new HashSet<String>();
+ Set<String> result = new HashSet<String>();
result.add("poznan.pl");
result.add("pl");
result.add("de");
@@ -46,18 +52,18 @@
assertEquals(DomainSummarizator.summarizeDomains(domains),
result);
}
- public void testDomainSummarizationWithInvalidDomains(){
- Set<String> domains=new HashSet<String>();
-
+ public void testDomainSummarizationWithInvalidDomains() {
+ logger.info("•••• Testing domain summarization with invalid
domain");
+
+ Set<String> domains = new HashSet<String>();
domains.add("man.poznan.pl");
domains.add("sdfsdfsf");
- Set<String> result=new HashSet<String>();
+ Set<String> result = new HashSet<String>();
result.add("poznan.pl");
result.add("pl");
assertEquals(DomainSummarizator.summarizeDomains(domains),
result);
}
-
}
Modified:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/utilities/AsynchTester.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/utilities/AsynchTester.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/utilities/AsynchTester.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -14,7 +14,6 @@
public AsynchTester(final Runnable runnable) {
thread = new Thread(new Runnable() {
- @Override
public void run() {
try {
runnable.run();
Deleted:
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/utilities/ExistDBManagerTests.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/utilities/ExistDBManagerTests.java
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/java/org/perfsonar/tests/utilities/ExistDBManagerTests.java
2012-03-08 11:08:46 UTC (rev 5900)
@@ -1,28 +0,0 @@
-package org.perfsonar.tests.utilities;
-
-import junit.framework.TestCase;
-
-import org.perfsonar.base2.service.configuration.ConfigurationManager;
-import org.perfsonar.base2.service.exceptions.PerfSONARException;
-import org.perfsonar.base2.service.storage.xml.XMLDBResult;
-import org.perfsonar.service.lookupservice.components.XMLDBComponent;
-
-public class ExistDBManagerTests extends TestCase {
-
- public XMLDBComponent getDBAccessManager() throws PerfSONARException {
- return (XMLDBComponent) ConfigurationManager.getInstance()
-
.getConfiguration().getAuxiliaryComponent("existAccessManager");
- }
-
- public void testExistDbManager() throws Exception {
-
- XMLDBComponent dbComponent = getDBAccessManager();
-
- dbComponent.performXQuery("xmldb:remove('/db/ls')");
-
- XMLDBResult rs = dbComponent
-
.performXQuery("xmldb:collection-exists('/db/ls')");
- assertEquals("false", rs.getTextResults()[0]);
- }
-
-}
Added:
trunk/perfsonar-java-xml-ls/src/test/resources/perfsonar/conf/configuration.xml
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/resources/perfsonar/conf/configuration.xml
(rev 0)
+++
trunk/perfsonar-java-xml-ls/src/test/resources/perfsonar/conf/configuration.xml
2012-03-08 11:08:46 UTC (rev 5900)
@@ -0,0 +1,234 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<configuration xmlns="http://service.perfsonar.org/ns/config/base/0.9/">
+
+ <service name="xmlls">
+
+ <!--
....................................................................................
-->
+
+ <!-- Lookup Info of the LS instance -->
+
+ <!-- This file should be used for the JUnit tests run under Eclipse -->
+ <!-- You can reference it in your JUnit run settings to be used instead
of the Maven configurable one -->
+ <lookupInformation>
+ <option name="accessPoint"
value="http://localhost:8080/perfsonar-java-xml-ls/services/LookupService"/>
+ <option name="serviceName" value="perfSONAR Java - XML LS "/>
+ <option name="serviceType" value="LS"/>
+ </lookupInformation>
+
+ <!--
....................................................................................
-->
+
+ <!-- Message Handlers - message types and service engines -->
+
+ <messageHandler>
+
+ <!-- Echo -->
+ <message type="EchoRequest"
+
handler="org.perfsonar.base2.service.messages.GenericMessageHandler">
+ <option name="ServiceEngine"
+
value="org.perfsonar.service.lookupservice.EchoServiceEngine" />
+ <option name="authN" value="no" />
+ </message>
+
+ <!-- Register -->
+ <message type="LSRegisterRequest"
+
handler="org.perfsonar.service.lookupservice.LSRegistrationMessageHandler">
+ <option name="ServiceEngine"
+
value="org.perfsonar.service.lookupservice.LSRegisterServiceEngine"/>
+ <option name="authN" value="no" />
+ <option name="minTTL" value="10" />
+ <option name="maxTTL" value="100000" />
+ </message>
+
+ <!-- QUERY -->
+ <message type="LSQueryRequest"
+
handler="org.perfsonar.base2.service.messages.GenericMessageHandler">
+ <option name="ServiceEngine"
+
value="org.perfsonar.service.lookupservice.LSQueryServiceEngine" />
+ <option name="authN" value="no" />
+ </message>
+
+ <!-- Keepalive -->
+ <message type="LSKeepaliveRequest"
+
handler="org.perfsonar.base2.service.messages.GenericMessageHandler">
+ <option name="ServiceEngine"
+
value="org.perfsonar.service.lookupservice.LSKeepaliveServiceEngine" />
+ <option name="authN" value="no" />
+ </message>
+
+ <!-- Deregister -->
+ <message type="LSDeregisterRequest"
+
handler="org.perfsonar.base2.service.messages.GenericMessageHandler">
+ <option name="ServiceEngine"
+
value="org.perfsonar.service.lookupservice.LSDeregisterServiceEngine" />
+ <option name="authN" value="no" />
+ </message>
+
+ </messageHandler>
+
+ <!--
....................................................................................
-->
+
+ <!-- Additional auxiliary components -->
+
+ <auxiliaryComponents>
+
+ <!-- exist datasource contains optionally read-only credentials -->
+ <!-- FIXME: We should have a configuration file dedicated to unit
testing -->
+
+ <component name="existDataSource"
+
className="org.perfsonar.service.lookupservice.components.DataSourceComponent">
+ <option name="url"
value="xmldb:exist://localhost:8080/exist/xmlrpc/db/ls"/>
+ <option name="username" value="lookupservice"/>
+ <option name="password" value="sonar"/>
+ <option name="usernameRO" value="guest"/>
+ <option name="passwordRO" value="guest"/>
+ </component>
+
+ <!-- provides access to ExistDb with all permissions -->
+ <component name="existAccessManager"
className="org.perfsonar.service.lookupservice.components.XMLDBComponent">
+ <option name="dataSource-ref" value="existDataSource"/>
+ <option name="username" value="admin"/>
+ <option name="password" value="admin"/>
+ </component>
+
+ <!-- provides access to ExistDb with read-only permissions -->
+ <component name="existAccessManagerRO"
className="org.perfsonar.service.lookupservice.components.XMLDBComponent">
+ <option name="dataSource-ref" value="existDataSource"/>
+ <option name="readOnly" value="true"/>
+ </component>
+
+ <!-- Lookup Service DAO -->
+ <component name="lsdao"
className="org.perfsonar.service.lookupservice.storage.exist.dao.MultipleFilesDAOImpl">
+ <option name="dbAccessManager-ref" value="existAccessManager"/>
+ </component>
+
+ <!-- Lookup Service DAO with read-only permission. It is used in
LSQueryRequest -->
+ <component name="lsdao-ro"
className="org.perfsonar.service.lookupservice.storage.exist.dao.MultipleFilesDAOImpl">
+ <option name="dbAccessManager-ref" value="existAccessManagerRO"/>
+ </component>
+
+ <!-- Summarization Service DAO -->
+ <component name="summarizationdao"
className="org.perfsonar.service.lookupservice.storage.exist.dao.SummarizationDAOImpl">
+ <option name="dbAccessManager-ref" value="existAccessManager"/>
+ </component>
+
+ <!-- contains a nr of changes in DB - is used to synchronization -->
+ <component name="modificationCounterComponent"
className="org.perfsonar.service.lookupservice.components.ModificationCounterComponent"/>
+
+
+ <!-- auth configuration -->
+ <component name="auth"
className="org.perfsonar.base2.service.authn.component.wssec.WSSecAuthNComponent">
+ <option name="as_endpoint"
value="http://homer.rediris.es:8080/geant2-java-as-1.2/services/SimpleService"/>
+ <option name="comp_id" value="urn:compId"/>
+ </component>
+
+ <!-- MIGRATION COMPONENT -->
+ <component name="migrator"
className="org.perfsonar.base2.service.configuration.migration.MigratorComponent">
+ <option name="config-directory"
value="/usr/lib/perfsonar/services/geant2-java-xml-ls/WEB-INF/classes/perfsonar/conf/"/>
+ </component>
+
+ <!-- Scheduler -->
+ <component name="scheduling"
+
className="org.perfsonar.base2.service.scheduler.SchedulingComponent">
+
+ <option name="schedulerClassName"
value="org.perfsonar.base2.service.scheduler.singleThread.SingleThreadScheduler"/>
+ <option name="interval" value="60"/> <!-- sec -->
+ <actions>
+
+ <!--
+ action invokes cleanup operations on database. lsTTL -
default value of Time to live parameter.
+ After lsTTL time, if service didn't re-register, service will
be removed.
+ -->
+ <action name="LSCleanup_1"
className="org.perfsonar.service.lookupservice.schedulerActions.CleanupSchedulerAction">
+ <option name="status" value="on" />
+ <option name="interval" value="300" />
+ <option name="lsTTL" value="86400"/>
+ </action>
+
+ <!--
+ this action supports synchronization of summarized data
stored in LSStore-summary with data stored in LSStore.xml
+ nrOfModifications - nr of changes in db after which
summarization process is executed immediately
+ nrOfIterations - after this nr of iteration if there are
some changes in db - summarization process is executed
+ -->
+ <action name="LSSummarySynchronization"
className="org.perfsonar.service.lookupservice.schedulerActions.SummarySynchronizationAction">
+ <option name="status" value="on" />
+ <option name="interval" value="60" />
+ <option name="nrOfModifications" value="10"/>
+ <option name="nrOfIterations" value="4"/>
+ </action>
+
+ <action name="registration"
className="org.perfsonar.service.lookupservice.schedulerActions.GLSRegistrationAction">
+
+ <option name="status" value="on" />
+ <option name="interval" value="43200" />
+
+ <option name="registerDataSource"
+
value="org.perfsonar.service.lookupservice.registration.LSSummaryRegisterDataSource"/>
+
+ <option name="registerEventType"
+
value="http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/registration/summary/2.0"/>
+ <!--
+ <option name="registerEventType"
+
value="http://ogf.org/ns/nmwg/tools/org/perfsonar/service/lookup/registration/service/2.0"/>
+ -->
+ <option name="registrator"
+
value="org.perfsonar.base2.service.registration.GenericLSRegistrator"/>
+
+ <!-- define lsAddresses (lsAddress-1,lsAddress-2,..) where
this LS will be registered -->
+ <!--
+ <option name="lsAddress-1"
+
value="http://localhost:8080/perfsonar-java-xml-ls/services/LookupService"/>
+ -->
+ <!-- or define localizations of the root.hints
(lsList-1,lsList-2,...) which consists of gls addresses -->
+
+ <option name="lsList-1"
value="http://www.perfsonar.net/gls.root.hints"/>
+
+ <!-- number of registration to GLS in a single iteration -->
+ <option name="nrOfGLSRegistration" value="1"/>
+
+ </action>
+
+ </actions>
+ </component>
+
+ </auxiliaryComponents>
+
+
+ <!--
....................................................................................
-->
+
+ <!-- Protocol mappings, XML elements and their bingings -->
+
+ <protocolMappings>
+
+
+ <!-- default mapping -->
+
+
+ <!-- general mappings -->
+ <element name="{http://ggf.org/ns/nmwg/base/2.0/}message"
+ mapping="org.perfsonar.base2.xml.nmwg.Message"/>
+ <element name="{http://ggf.org/ns/nmwg/base/2.0/}metadata"
+ mapping="org.perfsonar.base2.xml.nmwg.Metadata"/>
+ <element name="{http://ggf.org/ns/nmwg/base/2.0/}eventType"
+ mapping="org.perfsonar.base2.xml.nmwg.EventType"/>
+ <element name="{http://ggf.org/ns/nmwg/base/2.0/}data"
+ mapping="org.perfsonar.base2.xml.nmwg.Data"/>
+ <element name="{*}subject"
+ mapping="org.perfsonar.base2.xml.nmwg.Subject"/>
+ <element name="{http://ggf.org/ns/nmwg/base/2.0/}parameters"
+ mapping="org.perfsonar.base2.xml.nmwg.Parameters"/>
+ <element name="{http://ggf.org/ns/nmwg/base/2.0/}parameter"
+ mapping="org.perfsonar.base2.xml.nmwg.Parameter"/>
+ <element name="*"
+ mapping="org.perfsonar.base2.xml.Element"/>
+ <element
name="{http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/xquery/1.0/}subject"
+ mapping="org.perfsonar.base2.xml.TextElement"/>
+
+
+ </protocolMappings>
+
+
+ </service>
+
+
+</configuration>
Property changes on:
trunk/perfsonar-java-xml-ls/src/test/resources/perfsonar/conf/configuration.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:mime-type
+ text/plain
Modified:
trunk/perfsonar-java-xml-ls/src/test/soapUI/perfsonar-LS-base2-soapui-project.xml
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/soapUI/perfsonar-LS-base2-soapui-project.xml
2012-03-08 10:34:48 UTC (rev 5899)
+++
trunk/perfsonar-java-xml-ls/src/test/soapUI/perfsonar-LS-base2-soapui-project.xml
2012-03-08 11:08:46 UTC (rev 5900)
@@ -114,7 +114,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:endpoin
ts><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:8180/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">
+</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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</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-5-1:8180/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>
@@ -178,7 +178,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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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
@@ -203,7 +203,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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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">
@@ -214,7 +214,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:8180/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-5-1:8180/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/"
@@ -304,11 +304,16 @@
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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
<nmwg:message type="LSRegisterRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="msg1">
+
+ <nmwg:parameters>
+ <nmwg:parameter name="lsTTL">10000</nmwg:parameter>
+ </nmwg:parameters>
+
<nmwg:metadata id="RegInfo">
<perfsonar:subject id="commonParameters"
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/">
<psservice:service id="serviceParameters"
xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/">
@@ -322,6 +327,7 @@
</psservice:service>
</perfsonar:subject>
</nmwg:metadata>
+
<nmwg:data id="data0" metadataIdRef="RegInfo">
<nmwg:metadata id="meta1">
<perfsonar:subject id="subj1"
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/">
@@ -340,6 +346,7 @@
<nmwg:parameter name="keyword" value="project:GEANT"/>
</nmwg:metadata>
</nmwg:data>
+
</nmwg:message>
</soapenv:Body>
</soapenv:Envelope>
@@ -408,7 +415,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>01e5e306ee28c68cda13d78fb2feac9c</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.w3.org/2001/XMLSchema-instance"><con:interface>LookupServiceSoap12
Binding</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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -470,11 +477,16 @@
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>6315c1bc2c8f63267dcd935d22a57a0f</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</c
on: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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
<nmwg:message type="LSRegisterRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" id="msg1">
+
+ <nmwg:parameters>
+ <nmwg:parameter name="lsTTL">10000</nmwg:parameter>
+ </nmwg:parameters>
+
<nmwg:metadata id="RegInfo-a">
<perfsonar:subject id="commonParameters"
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/">
<psservice:service id="serviceParameters"
xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/">
@@ -488,6 +500,7 @@
</psservice:service>
</perfsonar:subject>
</nmwg:metadata>
+
<nmwg:data id="data0" metadataIdRef="RegInfo-a">
<nmwg:metadata id="meta1">
<perfsonar:subject id="subj1"
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/">
@@ -506,6 +519,7 @@
<nmwg:parameter name="keyword" value="project:GEANT"/>
</nmwg:metadata>
</nmwg:data>
+
<nmwg:metadata id="RegInfo-b">
<perfsonar:subject id="commonParameters"
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/">
<psservice:service id="serviceParameters"
xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/">
@@ -519,6 +533,7 @@
</psservice:service>
</perfsonar:subject>
</nmwg:metadata>
+
<nmwg:data id="data1" metadataIdRef="RegInfo-b">
<nmwg:metadata id="meta1">
<perfsonar:subject id="subj1"
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/">
@@ -537,6 +552,7 @@
<nmwg:parameter name="keyword" value="project:DANTE"/>
</nmwg:metadata>
</nmwg:data>
+
</nmwg:message>
</soapenv:Body>
</soapenv:Envelope>
@@ -626,7 +642,7 @@
declare namespace nmwgr="http://ggf.org/ns/nmwg/result/2.0/";
//nmwg:metadata[@metadataIdRef="RegInfo-b"]/nmwg:key/nmwg:parameters/nmwg:parameter[@name="lsKey"]
-</con:sourcePath><con:targetType>lsKeyB</con:targetType><con:targetStep>#TestCase#</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers></con:config></con:testStep><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>1010db014f0eccec3b6a78590d35ff12</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>67e0c1024c55064c61838515d3833520</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:testCase><con:tes
tCase failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct requests" searchProperties="true"
id="b9504be0-bb86-4655-b561-e1c060281525" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="groovy"
name="Set Herited Properties"
id="01c2f524-0993-490a-809d-890303dcf154"><con:settings/><con:config><script>//
Set Herited properties so that the Test Run have correct values
+</con:sourcePath><con:targetType>lsKeyB</con:targetType><con:targetStep>#TestCase#</con:targetStep><con:targetPath
xsi:nil="true"/></con:transfers></con:config></con:testStep><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.gean
t.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.1.2.1" searchProperties="true"
id="b9504be0-bb86-4655-b561-e1c060281525" timeout="0" wsrmEnabled="false"
wsrmVersion="1.0" wsrmAckTo=""><con:settings/><con:testStep type="groovy"
name="Set Herited Properties"
id="01c2f524-0993-490a-809d-890303dcf154"><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")
@@ -644,7 +660,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>01e5e306ee28c68cda13d78fb2feac9c</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:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><co
n:value>01e5e306ee28c68cda13d78fb2feac9c</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:valu
e></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=""
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.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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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/>
@@ -733,7 +749,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -808,7 +824,7 @@
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" 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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -863,7 +879,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -919,7 +935,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -965,7 +981,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1024,7 +1040,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1084,7 +1100,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1143,7 +1159,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1200,7 +1216,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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:s
oapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
@@ -1230,7 +1246,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1341,7 +1357,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" 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: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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1387,7 +1403,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1517,7 +1533,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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:request><![CDATA[<!--
Missing psservice:serviceType element 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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Missing psservice:serviceType elemen
t 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>
@@ -1549,7 +1565,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1623,7 +1639,7 @@
for $metadata in
//nmwg:message/nmwg:metadata[nmwg:eventType="error.ls.no_service_type"]
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_type]:
[LS Registration] No serviceType or empty 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="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: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://psls:9995/perfSONAR_PS/services/hLS</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/">
+ return $data/nmwgr:datum</path><content><nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">[error.ls.no_service_type]:
No serviceType or empty 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="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: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-5-1:8180/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>
@@ -1653,7 +1669,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1742,7 +1758,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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -1803,7 +1819,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -1867,7 +1883,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" 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 doubl
e 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: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.
@@ -1890,7 +1906,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>01e5e306ee28c68cda13d78fb2feac9c</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0.load.service.geant.net:8080/perfsonar-jav
a-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="calltestcase" name="2.2.2.1.1 - Dereg"
id="3adf63aa-0059-42f7-9fed-06c223bc
733a"><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>01e5e306ee28c68cda13d78fb2feac9c</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:propert
y><con:property><con:name>lsKeya</con:name><con:value>1010db014f0eccec3b6a78590d35ff12</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>67e0c1024c55064c61838515d3833520</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/XMLSchem
a-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:sourceStep>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>1010db014f0eccec3b6a78590d35ff12</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: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>67e0c1024c55064c61838515d3833520</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>1010db014f0eccec3b6a78590d35ff12</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>67e0c1024c55064c61838515d3833520</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</c
on: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/></c
on:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -1980,7 +1996,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -2077,7 +2093,7 @@
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" 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.service.geant.
net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>01e5e306ee28c68cda13d78fb2feac9c</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" entitize="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" useXQuery="false"><con:name>lsKey
5</con:name><con:sourceType>lsKey</con:sourceT
ype><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>UTF-8</con:encoding><con:endpoint>http://psls:9995/perfSONAR_PS/services/hLS
</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-5-1:8180/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"
@@ -2120,7 +2136,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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:request><![CDATA[<!--
Try to deregister a service -->
+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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Try to deregister a ser
vice -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2154,7 +2170,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>01e5e306ee28c68cda13d78fb2feac9c</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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><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: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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:en
dpoint><con:request><![CDATA[<!-- Deregister a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2187,7 +2203,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>01e5e306ee28c68cda13d78fb2feac9c</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.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setti
ng><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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -2220,7 +2236,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>01e5e306ee28c68cda13d78fb2feac9c</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" 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:RunTestCaseStep" copyLoadTestProperties="false"
copyHttpSession="false" ignore
EmptyProperties="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>01e5e306ee28c68cda13d78fb2feac9c</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.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</con:name><con:sourceType>lsKey</con:sourceType><con:sourceStep>2.2.2.3.1 -
Single Reg</con:sourceStep><con:sourcePath xsi:nil="true"/><con:ta
rgetType>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" 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-ba5a-45eb-aefb-06322a2fffd9"><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.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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -2248,7 +2264,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>01e5e306ee28c68cda13d78fb2feac9c</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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/perfsonar-java-xml-ls/servic
es/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>
@@ -2281,7 +2297,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>01e5e306ee28c68cda13d78fb2feac9c</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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/perfsonar-java-xml-l
s/services/LookupService</con:endpoint><con:request><![CDATA[<!-- Deregister
a service -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -2341,7 +2357,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>01e5e306ee28c68cda13d78fb2feac9c</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.4 - Dereg bad key element" id="5391a988-aea7-4
91b-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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -2379,7 +2395,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>01e5e306ee28c68cda13d78fb2feac9c</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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:s
oapenv="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: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-5-1:8180/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"
@@ -2414,10 +2430,10 @@
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>01e5e306ee28c68cda13d78fb2feac9c</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: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
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" 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
+</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
// 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")
@@ -2435,7 +2451,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>01e5e306ee28c68cda13d78fb2feac9c</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-94084cd2286c</con:targetTestCase><con:properties><con:property><con:
name>lsKey</con:name><con:value>01e5e306ee28c68cda13d78fb2feac9c</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>1010db014f0eccec3b6a78590d35ff12</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>67e0c1024c55064c61838515d3833520</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0-a.load.service.geant.n
et: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:interface><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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -2525,7 +2541,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" 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: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")
@@ -2543,7 +2559,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>01e5e306ee28c68cda13d78fb2feac9c</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>01e5e306ee28c68cda13d78fb2feac9c</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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -2583,7 +2599,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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:request><![CDATA[<!--
Try to check the lsKey is p
resent -->
+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-5-1:8180/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>
@@ -2607,7 +2623,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -2638,7 +2654,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\.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:operation><con:requ
est 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://psls:9995/perfSONAR_PS/services/hLS</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\.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:operation><con:requ
est 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-5-1:8180/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>
@@ -2671,7 +2687,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="1926f550-515f-4d45-bd50-b45b4da5e834"><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>01e5e306ee28c68cda13d78fb2feac9c</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-0207a5
6cfae2"><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:property><con:name>lsKey</con:name><con:value>01e5e306ee28c68cda13d78fb2feac9c</
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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8
180/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>
@@ -2702,7 +2718,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -2733,7 +2749,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\.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" 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://psls:9995/perfSONAR_PS/services/hLS</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\.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" 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-5-1:8180/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/>
@@ -2785,7 +2801,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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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/>
@@ -2842,7 +2858,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" 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: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
// 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")
@@ -2882,7 +2898,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>01e5e306ee28c68cda13d78fb2feac9c</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-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.ws
dl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -2940,7 +2956,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>1010db014f0eccec3b6a78590d35ff12</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>67e0c1024c55064c61838515d3833520</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:set
tings/><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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3004,7 +3020,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3070,7 +3086,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3123,7 +3139,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3176,7 +3192,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3230,7 +3246,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3288,7 +3304,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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:request><![CDATA[<?xml
version='1.0' encoding='U
TF-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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<?xml
ve
rsion='1.0' encoding='UTF-8'?>
<!-- Query for an existing IP address -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
@@ -3354,7 +3370,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -3400,7 +3416,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -3460,7 +3476,7 @@
// Set the ServicesCounter properties to match the number of threads
//tc.setPropertyValue("ServicesCount", String.format("%d",
loadTestRunner.getRunningThreadCount()*3))
//tc.setPropertyValue("ServicesCount", "6")
-</con:setupScript></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="5c0d8561-72ef-4588-b3b0-138fbeb15fef"><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
+</con:setupScript></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed Requests - 2.4.2.2" searchProperties="true"
timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="5c0d8561-72ef-4588-b3b0-138fbeb15fef"><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 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")
@@ -3478,7 +3494,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>01e5e306ee28c68cda13d78fb2feac9c</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:setti
ngs/><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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -3528,7 +3544,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3578,7 +3594,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -3624,7 +3640,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -3678,7 +3694,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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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/>
@@ -3723,7 +3739,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3773,7 +3789,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3824,7 +3840,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3892,7 +3908,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>01e5e306ee28c68cda13d78fb2feac9c</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:se
ttings/><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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -3931,7 +3947,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -3972,7 +3988,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4024,7 +4040,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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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/>
@@ -4074,7 +4090,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -4125,7 +4141,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -4175,7 +4191,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -4236,7 +4252,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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/>
@@ -4292,7 +4308,7 @@
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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -4330,7 +4346,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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://sc
hemas.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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
x
mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4383,7 +4399,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4437,7 +4453,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4491,7 +4507,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4545,7 +4561,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4599,7 +4615,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4653,7 +4669,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4707,7 +4723,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4740,7 +4756,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4767,7 +4783,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4809,7 +4825,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://psls:9995/perfSONAR_PS/services/hLS</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>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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/enve
lope/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4843,7 +4859,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4882,7 +4898,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -4920,7 +4936,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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
e/" 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-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.x
mlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
@@ -4970,7 +4986,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -5023,7 +5039,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://psls:9995/perfSONAR_PS/services/hLS</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: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-5-1:8180/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>
@@ -5096,7 +5112,7 @@
props.setPropertyValue("Counter", counter)
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</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>0007</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0001.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-0007.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:loadTest
name="Lots of Registrations" id="6c
2383df-9e36-4bc7-89f3-b464f710407c"><con:settings/><con:threadCount>30</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
+</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>0008</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0001.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-0008.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:loadTest
name="Lots of Registrations" id="6c
2383df-9e36-4bc7-89f3-b464f710407c"><con:settings/><con:threadCount>30</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 initdbtc =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initdbtc.run(null, false)
@@ -5128,7 +5144,7 @@
} else
props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</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>0001</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0039.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-0001.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="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>0033</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0007-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-0007-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-0033-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-0033-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="Threaded Dereg"><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-0009.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:loadTest
name="Lots of Random
Reg-Dereg"><con:settings/><con:threadCount>8</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>tr
ue</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>3600</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 or keep the existing one
+</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>0001</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0039.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-0001.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="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>0039</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0007-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-0007-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-0039-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-0039-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="Threaded Dereg"><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-0009.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</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>0038</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0038.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/Measurem
entArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:loadTest
name="Lots of Random
Reg-Dereg"><con:settings/><con:threadCount>8</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>3600</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 or keep the existing one
def tc = loadTestRunner.loadTest.testCase
def initdbtc =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initdbtc.run(null, false)
@@ -5160,7 +5176,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://psls:9995/perfSONAR_PS/services/hLS</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-5-1:8180/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>
@@ -5204,7 +5220,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>0006</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-0006.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://psls:9995/perfSONAR_PS/services/hLS</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>0006</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-0006.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ServicesCounter</con:name><con:value>0</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</
con:runMode></con:config></con:testStep><con:testStep type="request"
name="Test Double 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 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-5-1:8180/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>
@@ -5248,7 +5264,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>0023</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-0023-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-0023-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://psls:9995/perfSONAR_PS/services/hLS</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serv
iceType 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>0034</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-0034-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-0034-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ServicesCounter</con:name><con:value>1</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-5-1:8180/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>
@@ -5292,7 +5308,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 Dereg"><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-0039.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:loadTest
name="Lots of Random
Reg-Dereg-Queries"><con:settings/><con:threadCount>4</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>3600</con:testLimit><c
on: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 or keep the existing one
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Dereg"><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-0039.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</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>0028</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0028.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:loadTest
name="Lots of Random Reg-Dereg-Queries">
<con:settings/><con:threadCount>4</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>3600</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 or keep the existing one
def tc = loadTestRunner.loadTest.testCase
def initdbtc =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initdbtc.run(null, false)
@@ -5302,4 +5318,4 @@
ts = tc.getTestStepByName(it)
ts.setPropertyValue("ServicesCounter", "0")
}
-</con:setupScript></con:loadTest><con:setupScript/><con:properties><con:property><con:name>CountMax</con:name><con:value>50</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>ServiceName</con:name><con:value>Load
Test
Service</con:value></con:property><con:property><con:name>AccessPoint-name</con:name><con:value>load.service.geant.net</con:value></con:property><con:property><con:name>AccessPoint-port</con:name><con:value>8080</con:value></con:property><con:property><con:name>AccessPoint-path</con:name><con:value>/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ServiceType</con:name><con:value>RRD
MA</con:value></con:property><con:property><con:name>ServiceDescription</con:name><con:value>soapUI
XML LS Load Testing Service - RRD
MA</con:value></con:property><con:property><con:name>Interface-hostName</con:name><con:value>loadtest.router.geant.net</con:value></con:property>
<con:property><con:name>Interface-Description</con:name><con:value>hstn:oc192(p2p)::show:intracloud</con:value></con:property><con:property><con:name>Interface-AddressIPv4</con:name><con:value>62.40.96.1</con:value></con:property></con:properties></con:testSuite><con:properties><con:property><con:name>lsProtocol</con:name><con:value>http://</con:value></con:property><con:property><con:name>lsHost</con:name><con:value>ls:8180/perfsonar-java-xml-ls</con:value></con:property><con:property><con:name>lsExistUser</con:name><con:value>admin</con:value></con:property><con:property><con:name>lsExistPass</con:name><con:value/></con:property><con:property><con:name>ServiceName</con:name><con:value>Testing
Service</con:value></con:property><con:property><con:name>AccessPoint-name</con:name><con:value>load.service.geant.net</con:value></con:property><con:property><con:name>AccessPoint-port</con:name><con:value>8080</con:value></con:property><con:property><con:name>AccessPoint-path</con:n
ame><con:value>/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ServiceType</con:name><con:value>RRD
MA</con:value></con:property><con:property><con:name>ServiceDescription</con:name><con:value>soapUI
XML LS Registration Testing Service - RRD
MA</con:value></con:property><con:property><con:name>Interface-hostName</con:name><con:value>test.router.geant.net</con:value></con:property><con:property><con:name>Interface-Description</con:name><con:value>hstn:oc192(p2p)::show:intracloud</con:value></con:property><con:property><con:name>Interface-AddressIPv4</con:name><con:value>62.40</con:value></con:property><con:property><con:name>Interface-AddressIPv4-B</con:name><con:value>62.42</con:value></con:property></con:properties><con:wssContainer/><con:sensitiveInformation/></con:soapui-project>
\ No newline at end of file
+</con:setupScript></con:loadTest><con:setupScript/><con:properties><con:property><con:name>CountMax</con:name><con:value>50</con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>ServiceName</con:name><con:value>Load
Test
Service</con:value></con:property><con:property><con:name>AccessPoint-name</con:name><con:value>load.service.geant.net</con:value></con:property><con:property><con:name>AccessPoint-port</con:name><con:value>8080</con:value></con:property><con:property><con:name>AccessPoint-path</con:name><con:value>/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ServiceType</con:name><con:value>RRD
MA</con:value></con:property><con:property><con:name>ServiceDescription</con:name><con:value>soapUI
XML LS Load Testing Service - RRD
MA</con:value></con:property><con:property><con:name>Interface-hostName</con:name><con:value>loadtest.router.geant.net</con:value></con:property>
<con:property><con:name>Interface-Description</con:name><con:value>hstn:oc192(p2p)::show:intracloud</con:value></con:property><con:property><con:name>Interface-AddressIPv4</con:name><con:value>62.40.96.1</con:value></con:property></con:properties></con:testSuite><con:properties><con:property><con:name>lsProtocol</con:name><con:value>http://</con:value></con:property><con:property><con:name>lsHost</con:name><con:value>ls-1-5-1:8180/perfsonar-java-xml-ls</con:value></con:property><con:property><con:name>lsExistUser</con:name><con:value>admin</con:value></con:property><con:property><con:name>lsExistPass</con:name><con:value/></con:property><con:property><con:name>ServiceName</con:name><con:value>Testing
Service</con:value></con:property><con:property><con:name>AccessPoint-name</con:name><con:value>load.service.geant.net</con:value></con:property><con:property><con:name>AccessPoint-port</con:name><con:value>8080</con:value></con:property><con:property><con:name>AccessPoint-path<
/con:name><con:value>/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ServiceType</con:name><con:value>RRD
MA</con:value></con:property><con:property><con:name>ServiceDescription</con:name><con:value>soapUI
XML LS Registration Testing Service - RRD
MA</con:value></con:property><con:property><con:name>Interface-hostName</con:name><con:value>test.router.geant.net</con:value></con:property><con:property><con:name>Interface-Description</con:name><con:value>hstn:oc192(p2p)::show:intracloud</con:value></con:property><con:property><con:name>Interface-AddressIPv4</con:name><con:value>62.40</con:value></con:property><con:property><con:name>Interface-AddressIPv4-B</con:name><con:value>62.42</con:value></con:property></con:properties><con:wssContainer/><con:sensitiveInformation/></con:soapui-project>
\ No newline at end of file
- [pS-dev] [GEANT/SA2/ps-java-services] r5900 - in trunk/perfsonar-java-xml-ls: . log4j log4j/developm ent log4j/test packaging packaging/debian src/main/java/or g/perfsonar/service/lookupservice src/main/java/org/perfso nar/service/lookupservice/components src/main/java/org/per fsonar/service/lookupservice/registerService src/main/java /org/perfsonar/service/lookupservice/registration/summariz ation src/main/java/org/perfsonar/service/lookupservice/sc hedulerActions src/main/java/org/perfsonar/service/lookups ervice/servlets src/main/java/org/perfsonar/service/lookup service/storage src/main/java/org/perfsonar/service/lookup service/storage/exist src/main/java/org/perfsonar/service/ lookupservice/storage/exist/dao src/main/resources/perfson ar/conf src/main/webapp/WEB-INF src/test src/test/java/org /perfsonar/tests src/test/java/org/perfsonar/tests/actions src/test/java/org/perfsonar/tests/components src/test/jav a/org/perfsonar/tests/dao src/test/java/org/perfsonar/test s/suite src/test/jav a/org/perfsonar/tests/summarization s rc/test/java/org/perfsonar/tests/utilities src/test/resour ces src/test/resources/perfsonar src/test/resources/perfso nar/conf src/test/soapUI, svn-noreply, 03/08/2012
Archive powered by MHonArc 2.6.16.