perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r6481 - in trunk/perfsonar-java-sql-ma: src/main/java/org/perfsonar/service/measurementArchive/sqlType src/main/resources/perfsonar/conf src/rpm src/test/resources/perfsonar/conf test/JavaSQLMAsoapUI/InterfaceBased
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r6481 - in trunk/perfsonar-java-sql-ma: src/main/java/org/perfsonar/service/measurementArchive/sqlType src/main/resources/perfsonar/conf src/rpm src/test/resources/perfsonar/conf test/JavaSQLMAsoapUI/InterfaceBased
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r6481 - in trunk/perfsonar-java-sql-ma: src/main/java/org/perfsonar/service/measurementArchive/sqlType src/main/resources/perfsonar/conf src/rpm src/test/resources/perfsonar/conf test/JavaSQLMAsoapUI/InterfaceBased
- Date: Tue, 21 Jan 2014 16:51:35 +0000 (GMT)
Author: dante.delvaux
Date: 2014-01-21 16:51:35 +0000 (Tue, 21 Jan 2014)
New Revision: 6481
Added:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/exist-sqlma-database.xml
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database-L2status_TEST.xml
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_TEST.xml
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_clmp-owamp.xml
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_clmp-ping.xml
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_discards_TEST.xml
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_errors_TEST.xml
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_iperf_TEST.xml
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_utilization_TEST.xml
Removed:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database-L2status_TEST.xml
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_TEST.xml
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-owamp.xml
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-ping.xml
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_discards_TEST.xml
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_errors_TEST.xml
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_iperf_TEST.xml
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_utilization_TEST.xml
Modified:
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/JdbcStorageManager.java
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/log4j.properties
trunk/perfsonar-java-sql-ma/src/rpm/post
trunk/perfsonar-java-sql-ma/test/JavaSQLMAsoapUI/InterfaceBased/SQL_MA_soapui-project.xml
Log:
SQL-MA:
- Getting correct eventType from key XML fragment, should solve
PSSERVICES-700.
- Adding an empty eXist DB metadata file to ease configuration
- Removing old links having geant2 names in the RPM.
Modified:
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/JdbcStorageManager.java
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/JdbcStorageManager.java
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/java/org/perfsonar/service/measurementArchive/sqlType/JdbcStorageManager.java
2014-01-21 16:51:35 UTC (rev 6481)
@@ -2,7 +2,6 @@
import org.ggf.ns.nmwg.base.v2_0.Data;
import org.ggf.ns.nmwg.base.v2_0.Element;
-import org.ggf.ns.nmwg.base.v2_0.EventType;
import org.ggf.ns.nmwg.base.v2_0.Key;
import org.ggf.ns.nmwg.base.v2_0.Message;
import org.ggf.ns.nmwg.base.v2_0.Metadata;
@@ -74,13 +73,13 @@
private Dao createDao(String eventType) throws PerfSONARException
{
for (DaoProvider provider: PROVIDERS) {
- logger.debug("Trying to create Dao for " + eventType);
+ logger.debug("Creating Dao for " + eventType);
Dao dao = provider.createDao(eventType, dataSource);
if (dao != null) {
return dao;
}
}
- throw new PerfSONARException("error.ma.query", "Unsupported event
type: " + eventType);
+ throw new PerfSONARException("error.ma.query", "Unsupported
eventType: " + eventType);
}
@Override
@@ -106,14 +105,25 @@
Message response = new Message();
Collection<Metadata> collection =
dataQuery.getMetadataMap().values();
+ logger.debug("Trying to fetch data");
for (Metadata md : collection) {
- EventType et = md.getEventType();
- if (et != null) {
- String eventType = et.getEventType();
+ String eventType = null;
+ Key key = md.getKey();
+ if (key != null) {
+ eventType =
key.getParameterByName("http://ggf.org/ns/nmwg/base/2.0/",
+ "eventType").getParameterValue();
+ } else {
+ // If we don't have a key, let's look for the
eventType in the metadata itself
+ eventType = md.getEventType().toString();
+ }
+ if (eventType != null) {
Dao dao = getDao(eventType);
response.addChild(md);
response.addChild(dao.fetch(md.getKey()));
+ } else {
+ // We don't know which DAO to use
+ logger.debug("No eventType found in the query,
cannot fetch data.");
}
}
return response;
Added:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/exist-sqlma-database.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/exist-sqlma-database.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/exist-sqlma-database.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<nmwg:store
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
+ xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
+ xmlns:discards="http://ggf.org/ns/nmwg/characteristic/discards/2.0/"
+ xmlns:iperf="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
+ xmlns:ping="http://ggf.org/ns/nmwg/tools/ping/2.0/"
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns="http://ggf.org/ns/nmwg/base/2.0/">
+
+<!-- Start with an empty store that can holds anything -->
+
+</nmwg:store>
\ No newline at end of file
Property changes on:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/exist-sqlma-database.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/log4j.properties
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/log4j.properties
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/log4j.properties
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,6 +1,6 @@
# This is the configuration for LOG4J for perfSONAR production services
-log4j.rootLogger=DEBUG, psRootAppender
+log4j.rootLogger=INFO, psRootAppender
log4j.appender.psRootAppender=org.apache.log4j.RollingFileAppender
log4j.appender.psRootAppender.MaxBackupIndex=11
Deleted:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database-L2status_TEST.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database-L2status_TEST.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database-L2status_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,229 +0,0 @@
-<nmwg:store xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
- xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
- xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
- xmlns:nmtl3="http://ggf.org/ns/nmwg/topology/l3/3.0/">
-
-
-
- <nmwg:metadata id="md1">
- <nmwg:subject id="sub-DFN-LRZ">
- <nmwgtopo3:node id="DFN-LRZ">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">DFN-LRZ</nmwgtopo3:name>
- <nmwgtopo3:country>Germany</nmwgtopo3:country>
- <nmwgtopo3:city>Munich</nmwgtopo3:city>
- <nmwgtopo3:institution>Leibniz
Rechenzentrum</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
-
-
- <nmwg:metadata id="md2">
- <nmwg:subject id="sub-DFN-MUE">
- <nmwgtopo3:node id="DFN-MUE">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">DFN-MUE</nmwgtopo3:name>
- <nmwgtopo3:country>Germany</nmwgtopo3:country>
- <nmwgtopo3:city>Muenster</nmwgtopo3:city>
- <nmwgtopo3:institution>DFN-Verein</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
-
-
- <nmwg:metadata id="md3">
- <nmwg:subject id="sub-SURFnet-MUE">
- <nmwgtopo3:node id="SURFnet-MUE">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">SURFnet-MUE</nmwgtopo3:name>
- <nmwgtopo3:country>Netherlands</nmwgtopo3:country>
- <nmwgtopo3:city>Amsterdam</nmwgtopo3:city>
- <nmwgtopo3:institution>Surfnet</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
-
-
- <nmwg:metadata id="md4">
- <nmwg:subject id="sub-PSNC-PL">
- <nmwgtopo3:node id="PSNC-PL">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">PSNC-PL</nmwgtopo3:name>
- <nmwgtopo3:country>Poland</nmwgtopo3:country>
- <nmwgtopo3:city>Poznan</nmwgtopo3:city>
- <nmwgtopo3:institution>PSNC</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
-
-
- <nmwg:metadata id="md5">
- <nmwg:subject id="sub-PSNC-PL-2">
- <nmwgtopo3:node id="PSNC-PL-2">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">PSNC-PL-2</nmwgtopo3:name>
- <nmwgtopo3:country>Poland</nmwgtopo3:country>
- <nmwgtopo3:city>Poznan</nmwgtopo3:city>
- <nmwgtopo3:institution>PSNC</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
-
-
- <nmwg:metadata id="md-link-LRZ-SARA-DEISA-001">
- <nmwg:subject id="sub1">
- <nmtl2:link>
-
- <nmtl2:name type="logical">DFN-link-1234</nmtl2:name>
- <nmtl2:globalName
type="logical">LRZ-SARA-DEISA-001</nmtl2:globalName>
- <nmtl2:type>NREN_Link</nmtl2:type>
-
- <nmwgtopo3:node nodeIdRef="DFN-LRZ">
- <nmwgtopo3:role>EndPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
-
- <nmwgtopo3:node nodeIdRef="DFN-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
-
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:parameters>
- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter>
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- <!-- <nmwg:eventType>Path.Status</nmwg:eventType> -->
- </nmwg:metadata>
-
-
- <nmwg:metadata id="md-link-LRZ-SARA-DEISA-002">
- <nmwg:subject id="sub1">
- <nmtl2:link>
-
- <nmtl2:name type="logical">DFN-Surfnet-Link-5678</nmtl2:name>
- <nmtl2:globalName
type="logical">LRZ-SARA-DEISA-002</nmtl2:globalName>
- <nmtl2:type>ID_Link</nmtl2:type>
-
- <nmwgtopo3:node nodeIdRef="DFN-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
-
- <nmwgtopo3:node nodeIdRef="SURFnet-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
-
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:parameters>
- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter>
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- <!-- <nmwg:eventType>Path.Status</nmwg:eventType> -->
- </nmwg:metadata>
-
-
- <nmwg:metadata id="md-link-PSNC-DFN-MUE-003">
- <nmwg:subject id="sub1">
- <nmtl2:link>
-
- <nmtl2:name
type="logical">PSNC-DFN-MUE-Link-1001</nmtl2:name>
- <nmtl2:globalName
type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
- <nmtl2:type>ID_Link</nmtl2:type>
-
- <nmwgtopo3:node nodeIdRef="PSNC-PL">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
-
- <nmwgtopo3:node nodeIdRef="DFN-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
-
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:parameters>
- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter>
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- <!-- <nmwg:eventType>Path.Status</nmwg:eventType> -->
- </nmwg:metadata>
-
-
- <nmwg:metadata id="md-link-PSNC-2-DFN-MUE-004">
- <nmwg:subject id="sub1">
- <nmtl2:link>
-
- <nmtl2:name
type="logical">PSNC-2-DFN-MUE-Link-1002</nmtl2:name>
- <nmtl2:globalName
type="logical">PSNC-2-DFN-MUE-004</nmtl2:globalName>
- <nmtl2:type>ID_Link</nmtl2:type>
-
- <nmwgtopo3:node nodeIdRef="PSNC-PL-2">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
-
- <nmwgtopo3:node nodeIdRef="DFN-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
-
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:parameters>
- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter>
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- <!-- <nmwg:eventType>Path.Status</nmwg:eventType> -->
- </nmwg:metadata>
-
-
- <nmwg:data id="d1" metadataIdRef="md-link-LRZ-SARA-DEISA-001">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="pathId">DFN-link-1234</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-
- <nmwg:data id="d2" metadataIdRef="md-link-LRZ-SARA-DEISA-002">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="pathId">DFN-Surfnet-Link-5678</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-
- <nmwg:data id="d3" metadataIdRef="md-link-PSNC-DFN-MUE-003">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="pathId">PSNC-DFN-MUE-Link-1001</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-
- <nmwg:data id="d4" metadataIdRef="md-link-PSNC-2-DFN-MUE-004">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="pathId">PSNC-2-DFN-MUE-Link-1002</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status-interdomain.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-
-
-</nmwg:store>
\ No newline at end of file
Deleted:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_TEST.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_TEST.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,389 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
- xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
- xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
- xmlns:discards="http://ggf.org/ns/nmwg/characteristic/discards/2.0/"
- xmlns:iperf="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
- xmlns:ping="http://ggf.org/ns/nmwg/tools/ping/2.0/"
- xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
- xmlns="http://ggf.org/ns/nmwg/base/2.0/">
-
- <!-- utilization metadata section -->
- <nmwg:metadata id="meta1-test">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
- <nmwg:data id="data1-test" metadataIdRef="meta1-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-utilization.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <!-- errors metadata section -->
- <nmwg:metadata id="meta1-errors-test">
- <errors:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifIndex>2</nmwgt:ifIndex>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:capacity>1000000000</nmwgt:capacity>
- </nmwgt:interface>
- </errors:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/errors/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
- <nmwg:data id="data1-errors-test" metadataIdRef="meta1-errors-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">meta1-errors-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-errors.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <!-- discards metadata section -->
- <nmwg:metadata id="meta1-discards-test">
- <discards:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifIndex>2</nmwgt:ifIndex>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:capacity>1000000000</nmwgt:capacity>
- </nmwgt:interface>
- </discards:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/discards/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
- <nmwg:data id="data1-discards-test" metadataIdRef="meta1-discards-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">meta1-discards-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-discards.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <!-- L2 status section -->
- <nmwg:metadata id="md1">
- <nmwg:subject id="sub-DFN-LRZ">
- <nmwgtopo3:node id="DFN-LRZ">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">DFN-LRZ</nmwgtopo3:name>
- <nmwgtopo3:country>Germany</nmwgtopo3:country>
- <nmwgtopo3:city>Munich</nmwgtopo3:city>
- <nmwgtopo3:institution>Leibniz
Rechenzentrum</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
- <nmwg:metadata id="md2">
- <nmwg:subject id="sub-DFN-MUE">
- <nmwgtopo3:node id="DFN-MUE">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">DFN-MUE</nmwgtopo3:name>
- <nmwgtopo3:country>Germany</nmwgtopo3:country>
- <nmwgtopo3:city>Muenster</nmwgtopo3:city>
- <nmwgtopo3:institution>DFN-Verein</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
- <nmwg:metadata id="md3">
- <nmwg:subject id="sub-SURFnet-MUE">
- <nmwgtopo3:node id="SURFnet-MUE">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">SURFnet-MUE</nmwgtopo3:name>
- <nmwgtopo3:country>Netherlands</nmwgtopo3:country>
- <nmwgtopo3:city>Amsterdam</nmwgtopo3:city>
- <nmwgtopo3:institution>Surfnet</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
- <nmwg:metadata id="md4">
- <nmwg:subject id="sub-PSNC-PL">
- <nmwgtopo3:node id="PSNC-PL">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">PSNC-PL</nmwgtopo3:name>
- <nmwgtopo3:country>Poland</nmwgtopo3:country>
- <nmwgtopo3:city>Poznan</nmwgtopo3:city>
- <nmwgtopo3:institution>PSNC</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
- <nmwg:metadata id="md5">
- <nmwg:subject id="sub-PSNC-PL-2">
- <nmwgtopo3:node id="PSNC-PL-2">
- <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
- <nmwgtopo3:name type="logical">PSNC-PL-2</nmwgtopo3:name>
- <nmwgtopo3:country>Poland</nmwgtopo3:country>
- <nmwgtopo3:city>Poznan</nmwgtopo3:city>
- <nmwgtopo3:institution>PSNC</nmwgtopo3:institution>
- <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
- <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
- </nmwgtopo3:node>
- </nmwg:subject>
- </nmwg:metadata>
- <nmwg:metadata id="md-link-LRZ-SARA-DEISA-001">
- <nmwg:subject id="sub1">
- <nmtl2:link>
- <nmtl2:name type="logical">DFN-link-1234</nmtl2:name>
- <nmtl2:globalName
type="logical">LRZ-SARA-DEISA-001</nmtl2:globalName>
- <nmtl2:type>NREN_Link</nmtl2:type>
- <nmwgtopo3:node nodeIdRef="DFN-LRZ">
- <nmwgtopo3:role>EndPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
- <nmwgtopo3:node nodeIdRef="DFN-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:parameters>
- <!-- supportedEventType parameter can replace the eventType
'Path.Status' -->
- <!-- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter> -->
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- <nmwg:eventType>Path.Status</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:metadata id="md-link-LRZ-SARA-DEISA-002">
- <nmwg:subject id="sub1">
- <nmtl2:link>
- <nmtl2:name type="logical">DFN-Surfnet-Link-5678</nmtl2:name>
- <nmtl2:globalName
type="logical">LRZ-SARA-DEISA-002</nmtl2:globalName>
- <nmtl2:type>ID_Link</nmtl2:type>
- <nmwgtopo3:node nodeIdRef="DFN-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
- <nmwgtopo3:node nodeIdRef="SURFnet-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:parameters>
- <!-- supportedEventType parameter can replace the eventType
'Path.Status' -->
- <!-- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter> -->
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- <nmwg:eventType>Path.Status</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:metadata id="md-link-PSNC-DFN-MUE-003">
- <nmwg:subject id="sub1">
- <nmtl2:link>
- <nmtl2:name
type="logical">PSNC-DFN-MUE-Link-1001</nmtl2:name>
- <nmtl2:globalName
type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
- <nmtl2:type>ID_Link</nmtl2:type>
- <nmwgtopo3:node nodeIdRef="PSNC-PL">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
- <nmwgtopo3:node nodeIdRef="DFN-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:parameters>
- <!-- supportedEventType parameter can replace the eventType
'Path.Status' -->
- <!-- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter> -->
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- <nmwg:eventType>Path.Status</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:metadata id="md-link-PSNC-2-DFN-MUE-004">
- <nmwg:subject id="sub1">
- <nmtl2:link>
- <nmtl2:name
type="logical">PSNC-2-DFN-MUE-Link-1002</nmtl2:name>
- <nmtl2:globalName
type="logical">PSNC-2-DFN-MUE-004</nmtl2:globalName>
- <nmtl2:type>ID_Link</nmtl2:type>
- <nmwgtopo3:node nodeIdRef="PSNC-PL-2">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
- <nmwgtopo3:node nodeIdRef="DFN-MUE">
- <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
- </nmwgtopo3:node>
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:parameters>
- <!-- supportedEventType parameter can replace the eventType
'Path.Status' -->
- <!-- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter> -->
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- <nmwg:eventType>Path.Status</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:data id="d1" metadataIdRef="md-link-LRZ-SARA-DEISA-001">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="pathId">DFN-link-1234</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
- <nmwg:data id="d2" metadataIdRef="md-link-LRZ-SARA-DEISA-002">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="pathId">DFN-Surfnet-Link-5678</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
- <nmwg:data id="d3" metadataIdRef="md-link-PSNC-DFN-MUE-003">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="pathId">PSNC-DFN-MUE-Link-1001</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
- <nmwg:data id="d4" metadataIdRef="md-link-PSNC-2-DFN-MUE-004">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="pathId">PSNC-2-DFN-MUE-Link-1002</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <!-- iperf/bwctl metadata section -->
- <nmwg:metadata id="meta1-iperf-test">
- <iperf:subject id="subject-1">
- <nmwgt:endPointPair
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
- <nmwgt:src type="ipv4" value="198.32.8.170" port="5433"/>
- <nmwgt:dst type="ipv4" value="198.32.8.174" port="5433"/>
- </nmwgt:endPointPair>
- </iperf:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
- <nmwg:data id="data1-iperf-test" metadataIdRef="meta1-iperf-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">meta1-iperf-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-iperf.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <nmwg:metadata id="meta2-iperf-test">
- <iperf:subject id="subject-1">
- <nmwgt:endPointPair
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
- <nmwgt:src type="ipv4" value="150.254.0.1" port="5422"/>
- <nmwgt:dst type="ipv4" value="150.254.0.2" port="5422"/>
- </nmwgt:endPointPair>
- </iperf:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
- <nmwg:data id="data2-iperf-test" metadataIdRef="meta2-iperf-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">meta2-iperf-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-iperf.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <!-- ping metadata section -->
- <nmwg:metadata id="ping-meta1">
- <ping:subject id="sub1">
- <nmwgt:endPointPair>
- <nmwgt:src type="ipv4" value="222.22.22.22"/>
- <nmwgt:dst type="ipv4" value="111.11.11.11"/>
- </nmwgt:endPointPair>
- </ping:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/ping/2.0</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:data id="ping-data1" metadataIdRef="ping-meta1">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="metadataId">ping-meta1</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-clmp-ping.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <!-- owamp metadata section -->
- <nmwg:metadata id="owamp-meta1">
- <owamp:subject id="sub1">
- <nmwgt:endPointPair>
- <nmwgt:src type="ipv4" value="222.22.22.22" />
- <nmwgt:dst type="ipv4" value="111.11.11.11" />
- </nmwgt:endPointPair>
- </owamp:subject>
- <owamp:parameters id="param1">
- <nmwg:parameter name="direction">to</nmwg:parameter>
- <nmwg:parameter name="count" value="10"/>
- <nmwg:parameter name="size" value="10"/>
- </owamp:parameters>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:data id="data1-owamp" metadataIdRef="owamp-meta1">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">owamp-meta1</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-clmp-owamp.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <!-- owamp metadata summary (aggregated) data -->
- <nmwg:metadata id="owamp-meta2">
- <owamp:subject id="sub1">
- <nmwgt:endPointPair>
- <nmwgt:src type="ipv4" value="222.22.22.21" />
- <nmwgt:dst type="ipv4" value="111.11.11.12" />
- </nmwgt:endPointPair>
- </owamp:subject>
- <owamp:parameters id="param1">
- <nmwg:parameter name="direction">to</nmwg:parameter>
- <nmwg:parameter name="count" value="10"/>
- <nmwg:parameter name="size" value="10"/>
- <nmwg:parameter name="output">summary</nmwg:parameter>
- </owamp:parameters>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:data id="data2-owamp" metadataIdRef="owamp-meta2">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">owamp-meta2</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-owamp-aggregation.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-</nmwg:store>
\ No newline at end of file
Deleted:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-owamp.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-owamp.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-owamp.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,57 +0,0 @@
-<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
- xmlns="http://ggf.org/ns/nmwg/base/2.0/">
-
- <!-- owamp metadata section -->
- <nmwg:metadata id="owamp-meta1">
- <owamp:subject id="sub1">
- <nmwgt:endPointPair>
- <nmwgt:src type="ipv4" value="222.22.22.22" />
- <nmwgt:dst type="ipv4" value="111.11.11.11" />
- </nmwgt:endPointPair>
- </owamp:subject>
- <owamp:parameters id="param1">
- <nmwg:parameter name="direction">to</nmwg:parameter>
- <nmwg:parameter name="count" value="10"/>
- <nmwg:parameter name="size" value="10"/>
- </owamp:parameters>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:data id="data1-owamp" metadataIdRef="owamp-meta1">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">owamp-meta1</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-clmp-owamp.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
- <!-- owamp metadata summary (aggregated) data -->
- <nmwg:metadata id="owamp-meta2">
- <owamp:subject id="sub1">
- <nmwgt:endPointPair>
- <nmwgt:src type="ipv4" value="222.22.22.21" />
- <nmwgt:dst type="ipv4" value="111.11.11.12" />
- </nmwgt:endPointPair>
- </owamp:subject>
- <owamp:parameters id="param1">
- <nmwg:parameter name="direction">to</nmwg:parameter>
- <nmwg:parameter name="count" value="10"/>
- <nmwg:parameter name="size" value="10"/>
- <nmwg:parameter name="output">summary</nmwg:parameter>
- </owamp:parameters>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
- </nmwg:metadata>
- <nmwg:data id="data2-owamp" metadataIdRef="owamp-meta2">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">owamp-meta2</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-owamp-aggregation.xml</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-</nmwg:store>
-
-
-
Deleted:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-ping.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-ping.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-ping.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,28 +0,0 @@
-<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:ping="http://ggf.org/ns/nmwg/tools/ping/2.0/"
- xmlns="http://ggf.org/ns/nmwg/base/2.0/">
-
-
- <nmwg:metadata id="ping-meta1">
- <ping:subject id="sub1">
- <nmwgt:endPointPair>
- <nmwgt:src type="ipv4" value="222.22.22.22"/>
- <nmwgt:dst type="ipv4" value="111.11.11.11"/>
- </nmwgt:endPointPair>
- </ping:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/ping/2.0</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="ping-data1" metadataIdRef="ping-meta1">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="metadataId">ping-meta1</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-clmp-ping.xml</nmwg:parameter>
- <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/tools/ping/2.0</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-
-</nmwg:store>
\ No newline at end of file
Deleted:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_discards_TEST.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_discards_TEST.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_discards_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
- xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
- xmlns:discards="http://ggf.org/ns/nmwg/characteristic/discards/2.0/"
- xmlns="http://ggf.org/ns/nmwg/base/2.0/">
-
-
- <nmwg:metadata id="meta1-discards-test">
- <discards:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifIndex>2</nmwgt:ifIndex>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:capacity>1000000000</nmwgt:capacity>
- </nmwgt:interface>
- </discards:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/discards/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
-
-
- <nmwg:data id="data1-discards-test" metadataIdRef="meta1-discards-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">meta1-discards-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-discards.xml</nmwg:parameter>
- <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/characteristic/discards/2.0</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-
-</nmwg:store>
\ No newline at end of file
Deleted:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_errors_TEST.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_errors_TEST.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_errors_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
- xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
- xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
- xmlns="http://ggf.org/ns/nmwg/base/2.0/">
-
-
- <nmwg:metadata id="meta1-errors-test">
- <errors:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifIndex>2</nmwgt:ifIndex>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:capacity>1000000000</nmwgt:capacity>
- </nmwgt:interface>
- </errors:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/errors/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
-
-
- <nmwg:data id="data1-errors-test" metadataIdRef="meta1-errors-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">meta1-errors-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-errors.xml</nmwg:parameter>
- <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/characteristic/errors/2.0</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-
-</nmwg:store>
\ No newline at end of file
Deleted:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_iperf_TEST.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_iperf_TEST.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_iperf_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<nmwg:store xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:iperf="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
- xmlns="http://ggf.org/ns/nmwg/base/2.0/">
-
-
- <nmwg:metadata id="meta1-iperf-test">
- <iperf:subject id="subject-1">
- <nmwgt:endPointPair
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
- <nmwgt:src type="ipv4" value="198.32.8.170" port="5433"/>
- <nmwgt:dst type="ipv4" value="198.32.8.174" port="5433"/>
- </nmwgt:endPointPair>
- </iperf:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data1-iperf-test" metadataIdRef="meta1-iperf-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter
name="metadataId">meta1-iperf-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-iperf.xml</nmwg:parameter>
- <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-</nmwg:store>
\ No newline at end of file
Deleted:
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_utilization_TEST.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_utilization_TEST.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_utilization_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
- xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
- xmlns="http://ggf.org/ns/nmwg/base/2.0/">
-
-
-
- <nmwg:metadata id="meta1-test">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
-
-
- <nmwg:data id="data1-test" metadataIdRef="meta1-test">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
- <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-utilization.xml</nmwg:parameter>
- <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:data>
-
-
-
-</nmwg:store>
\ No newline at end of file
Modified: trunk/perfsonar-java-sql-ma/src/rpm/post
===================================================================
--- trunk/perfsonar-java-sql-ma/src/rpm/post 2013-12-20 11:35:09 UTC (rev
6480)
+++ trunk/perfsonar-java-sql-ma/src/rpm/post 2014-01-21 16:51:35 UTC (rev
6481)
@@ -1,11 +1,11 @@
## make symlink for easy access to conf
-%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.properties
%{_sysconfdir}/%{oldname}
-%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/objects.config
%{_sysconfdir}/%{oldname}
-%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.sql
%{_sysconfdir}/%{oldname}
-%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.xml
%{_sysconfdir}/%{oldname}
-%{__ln_s} -f %{prefix}/WEB-INF/classes/*.xml %{_sysconfdir}/%{oldname}
-%{__ln_s} -f %{prefix}/WEB-INF/log %{_var}/log/%{oldname}
-%{__ln_s} -f %{prefix} %{_var}/lib/tomcat6/webapps/%{oldname}
+%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.xml
%{_sysconfdir}/%{name}
+%{__ln_s} -f %{prefix}/WEB-INF/classes/perfsonar/conf/*.sql
%{_sysconfdir}/%{name}
+## Remove old name directories and configuration files
+rm -rf %{_sysconfdir}/%{oldname} || true
+rm -rf %{_var}/log/%{oldname} || true
+rm -rf %{_var}/lib/tomcat6/webapps/%{oldname} || true
+rm -rf /usr/share/doc/%{oldname} || true
## Open firewall port 8080 so tomcat can actually listen
grep "\-\-dport 8080" /etc/sysconfig/iptables > /dev/null
@@ -16,5 +16,8 @@
echo "--port=8080:tcp" >> /etc/sysconfig/system-config-firewall
fi
+## restart mysql
+/sbin/service mysqld restart
+
## restart tomcat
/sbin/service tomcat6 restart
Copied:
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database-L2status_TEST.xml
(from rev 6480,
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database-L2status_TEST.xml)
===================================================================
---
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database-L2status_TEST.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database-L2status_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,229 @@
+<nmwg:store xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
+ xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
+ xmlns:nmtl3="http://ggf.org/ns/nmwg/topology/l3/3.0/">
+
+
+
+ <nmwg:metadata id="md1">
+ <nmwg:subject id="sub-DFN-LRZ">
+ <nmwgtopo3:node id="DFN-LRZ">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">DFN-LRZ</nmwgtopo3:name>
+ <nmwgtopo3:country>Germany</nmwgtopo3:country>
+ <nmwgtopo3:city>Munich</nmwgtopo3:city>
+ <nmwgtopo3:institution>Leibniz
Rechenzentrum</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+
+
+ <nmwg:metadata id="md2">
+ <nmwg:subject id="sub-DFN-MUE">
+ <nmwgtopo3:node id="DFN-MUE">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">DFN-MUE</nmwgtopo3:name>
+ <nmwgtopo3:country>Germany</nmwgtopo3:country>
+ <nmwgtopo3:city>Muenster</nmwgtopo3:city>
+ <nmwgtopo3:institution>DFN-Verein</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+
+
+ <nmwg:metadata id="md3">
+ <nmwg:subject id="sub-SURFnet-MUE">
+ <nmwgtopo3:node id="SURFnet-MUE">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">SURFnet-MUE</nmwgtopo3:name>
+ <nmwgtopo3:country>Netherlands</nmwgtopo3:country>
+ <nmwgtopo3:city>Amsterdam</nmwgtopo3:city>
+ <nmwgtopo3:institution>Surfnet</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+
+
+ <nmwg:metadata id="md4">
+ <nmwg:subject id="sub-PSNC-PL">
+ <nmwgtopo3:node id="PSNC-PL">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">PSNC-PL</nmwgtopo3:name>
+ <nmwgtopo3:country>Poland</nmwgtopo3:country>
+ <nmwgtopo3:city>Poznan</nmwgtopo3:city>
+ <nmwgtopo3:institution>PSNC</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+
+
+ <nmwg:metadata id="md5">
+ <nmwg:subject id="sub-PSNC-PL-2">
+ <nmwgtopo3:node id="PSNC-PL-2">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">PSNC-PL-2</nmwgtopo3:name>
+ <nmwgtopo3:country>Poland</nmwgtopo3:country>
+ <nmwgtopo3:city>Poznan</nmwgtopo3:city>
+ <nmwgtopo3:institution>PSNC</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+
+
+ <nmwg:metadata id="md-link-LRZ-SARA-DEISA-001">
+ <nmwg:subject id="sub1">
+ <nmtl2:link>
+
+ <nmtl2:name type="logical">DFN-link-1234</nmtl2:name>
+ <nmtl2:globalName
type="logical">LRZ-SARA-DEISA-001</nmtl2:globalName>
+ <nmtl2:type>NREN_Link</nmtl2:type>
+
+ <nmwgtopo3:node nodeIdRef="DFN-LRZ">
+ <nmwgtopo3:role>EndPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+
+ <nmwgtopo3:node nodeIdRef="DFN-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:parameters>
+ <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter>
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ <!-- <nmwg:eventType>Path.Status</nmwg:eventType> -->
+ </nmwg:metadata>
+
+
+ <nmwg:metadata id="md-link-LRZ-SARA-DEISA-002">
+ <nmwg:subject id="sub1">
+ <nmtl2:link>
+
+ <nmtl2:name type="logical">DFN-Surfnet-Link-5678</nmtl2:name>
+ <nmtl2:globalName
type="logical">LRZ-SARA-DEISA-002</nmtl2:globalName>
+ <nmtl2:type>ID_Link</nmtl2:type>
+
+ <nmwgtopo3:node nodeIdRef="DFN-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+
+ <nmwgtopo3:node nodeIdRef="SURFnet-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:parameters>
+ <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter>
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ <!-- <nmwg:eventType>Path.Status</nmwg:eventType> -->
+ </nmwg:metadata>
+
+
+ <nmwg:metadata id="md-link-PSNC-DFN-MUE-003">
+ <nmwg:subject id="sub1">
+ <nmtl2:link>
+
+ <nmtl2:name
type="logical">PSNC-DFN-MUE-Link-1001</nmtl2:name>
+ <nmtl2:globalName
type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
+ <nmtl2:type>ID_Link</nmtl2:type>
+
+ <nmwgtopo3:node nodeIdRef="PSNC-PL">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+
+ <nmwgtopo3:node nodeIdRef="DFN-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:parameters>
+ <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter>
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ <!-- <nmwg:eventType>Path.Status</nmwg:eventType> -->
+ </nmwg:metadata>
+
+
+ <nmwg:metadata id="md-link-PSNC-2-DFN-MUE-004">
+ <nmwg:subject id="sub1">
+ <nmtl2:link>
+
+ <nmtl2:name
type="logical">PSNC-2-DFN-MUE-Link-1002</nmtl2:name>
+ <nmtl2:globalName
type="logical">PSNC-2-DFN-MUE-004</nmtl2:globalName>
+ <nmtl2:type>ID_Link</nmtl2:type>
+
+ <nmwgtopo3:node nodeIdRef="PSNC-PL-2">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+
+ <nmwgtopo3:node nodeIdRef="DFN-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:parameters>
+ <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter>
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ <!-- <nmwg:eventType>Path.Status</nmwg:eventType> -->
+ </nmwg:metadata>
+
+
+ <nmwg:data id="d1" metadataIdRef="md-link-LRZ-SARA-DEISA-001">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="pathId">DFN-link-1234</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
+ <nmwg:data id="d2" metadataIdRef="md-link-LRZ-SARA-DEISA-002">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="pathId">DFN-Surfnet-Link-5678</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
+ <nmwg:data id="d3" metadataIdRef="md-link-PSNC-DFN-MUE-003">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="pathId">PSNC-DFN-MUE-Link-1001</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status-domain.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
+ <nmwg:data id="d4" metadataIdRef="md-link-PSNC-2-DFN-MUE-004">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="pathId">PSNC-2-DFN-MUE-Link-1002</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status-interdomain.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
+
+</nmwg:store>
\ No newline at end of file
Copied:
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_TEST.xml
(from rev 6480,
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_TEST.xml)
===================================================================
---
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_TEST.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,389 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
+ xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
+ xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
+ xmlns:discards="http://ggf.org/ns/nmwg/characteristic/discards/2.0/"
+ xmlns:iperf="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
+ xmlns:ping="http://ggf.org/ns/nmwg/tools/ping/2.0/"
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <!-- utilization metadata section -->
+ <nmwg:metadata id="meta1-test">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data1-test" metadataIdRef="meta1-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-utilization.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <!-- errors metadata section -->
+ <nmwg:metadata id="meta1-errors-test">
+ <errors:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifIndex>2</nmwgt:ifIndex>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </errors:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/errors/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data1-errors-test" metadataIdRef="meta1-errors-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">meta1-errors-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-errors.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <!-- discards metadata section -->
+ <nmwg:metadata id="meta1-discards-test">
+ <discards:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifIndex>2</nmwgt:ifIndex>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </discards:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/discards/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data1-discards-test" metadataIdRef="meta1-discards-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">meta1-discards-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-discards.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <!-- L2 status section -->
+ <nmwg:metadata id="md1">
+ <nmwg:subject id="sub-DFN-LRZ">
+ <nmwgtopo3:node id="DFN-LRZ">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">DFN-LRZ</nmwgtopo3:name>
+ <nmwgtopo3:country>Germany</nmwgtopo3:country>
+ <nmwgtopo3:city>Munich</nmwgtopo3:city>
+ <nmwgtopo3:institution>Leibniz
Rechenzentrum</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+ <nmwg:metadata id="md2">
+ <nmwg:subject id="sub-DFN-MUE">
+ <nmwgtopo3:node id="DFN-MUE">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">DFN-MUE</nmwgtopo3:name>
+ <nmwgtopo3:country>Germany</nmwgtopo3:country>
+ <nmwgtopo3:city>Muenster</nmwgtopo3:city>
+ <nmwgtopo3:institution>DFN-Verein</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+ <nmwg:metadata id="md3">
+ <nmwg:subject id="sub-SURFnet-MUE">
+ <nmwgtopo3:node id="SURFnet-MUE">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">SURFnet-MUE</nmwgtopo3:name>
+ <nmwgtopo3:country>Netherlands</nmwgtopo3:country>
+ <nmwgtopo3:city>Amsterdam</nmwgtopo3:city>
+ <nmwgtopo3:institution>Surfnet</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+ <nmwg:metadata id="md4">
+ <nmwg:subject id="sub-PSNC-PL">
+ <nmwgtopo3:node id="PSNC-PL">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">PSNC-PL</nmwgtopo3:name>
+ <nmwgtopo3:country>Poland</nmwgtopo3:country>
+ <nmwgtopo3:city>Poznan</nmwgtopo3:city>
+ <nmwgtopo3:institution>PSNC</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+ <nmwg:metadata id="md5">
+ <nmwg:subject id="sub-PSNC-PL-2">
+ <nmwgtopo3:node id="PSNC-PL-2">
+ <nmwgtopo3:type>TopologyPoint</nmwgtopo3:type>
+ <nmwgtopo3:name type="logical">PSNC-PL-2</nmwgtopo3:name>
+ <nmwgtopo3:country>Poland</nmwgtopo3:country>
+ <nmwgtopo3:city>Poznan</nmwgtopo3:city>
+ <nmwgtopo3:institution>PSNC</nmwgtopo3:institution>
+ <nmwgtopo3:latitude>0</nmwgtopo3:latitude>
+ <nmwgtopo3:longitude>0</nmwgtopo3:longitude>
+ </nmwgtopo3:node>
+ </nmwg:subject>
+ </nmwg:metadata>
+ <nmwg:metadata id="md-link-LRZ-SARA-DEISA-001">
+ <nmwg:subject id="sub1">
+ <nmtl2:link>
+ <nmtl2:name type="logical">DFN-link-1234</nmtl2:name>
+ <nmtl2:globalName
type="logical">LRZ-SARA-DEISA-001</nmtl2:globalName>
+ <nmtl2:type>NREN_Link</nmtl2:type>
+ <nmwgtopo3:node nodeIdRef="DFN-LRZ">
+ <nmwgtopo3:role>EndPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+ <nmwgtopo3:node nodeIdRef="DFN-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:parameters>
+ <!-- supportedEventType parameter can replace the eventType
'Path.Status' -->
+ <!-- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter> -->
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ <nmwg:eventType>Path.Status</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="md-link-LRZ-SARA-DEISA-002">
+ <nmwg:subject id="sub1">
+ <nmtl2:link>
+ <nmtl2:name type="logical">DFN-Surfnet-Link-5678</nmtl2:name>
+ <nmtl2:globalName
type="logical">LRZ-SARA-DEISA-002</nmtl2:globalName>
+ <nmtl2:type>ID_Link</nmtl2:type>
+ <nmwgtopo3:node nodeIdRef="DFN-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+ <nmwgtopo3:node nodeIdRef="SURFnet-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:parameters>
+ <!-- supportedEventType parameter can replace the eventType
'Path.Status' -->
+ <!-- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter> -->
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ <nmwg:eventType>Path.Status</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="md-link-PSNC-DFN-MUE-003">
+ <nmwg:subject id="sub1">
+ <nmtl2:link>
+ <nmtl2:name
type="logical">PSNC-DFN-MUE-Link-1001</nmtl2:name>
+ <nmtl2:globalName
type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
+ <nmtl2:type>ID_Link</nmtl2:type>
+ <nmwgtopo3:node nodeIdRef="PSNC-PL">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+ <nmwgtopo3:node nodeIdRef="DFN-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:parameters>
+ <!-- supportedEventType parameter can replace the eventType
'Path.Status' -->
+ <!-- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter> -->
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ <nmwg:eventType>Path.Status</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="md-link-PSNC-2-DFN-MUE-004">
+ <nmwg:subject id="sub1">
+ <nmtl2:link>
+ <nmtl2:name
type="logical">PSNC-2-DFN-MUE-Link-1002</nmtl2:name>
+ <nmtl2:globalName
type="logical">PSNC-2-DFN-MUE-004</nmtl2:globalName>
+ <nmtl2:type>ID_Link</nmtl2:type>
+ <nmwgtopo3:node nodeIdRef="PSNC-PL-2">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+ <nmwgtopo3:node nodeIdRef="DFN-MUE">
+ <nmwgtopo3:role>DemarcPoint</nmwgtopo3:role>
+ </nmwgtopo3:node>
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:parameters>
+ <!-- supportedEventType parameter can replace the eventType
'Path.Status' -->
+ <!-- <nmwg:parameter
name="supportedEventType">Path.Status</nmwg:parameter> -->
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ <nmwg:eventType>Path.Status</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="d1" metadataIdRef="md-link-LRZ-SARA-DEISA-001">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="pathId">DFN-link-1234</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+ <nmwg:data id="d2" metadataIdRef="md-link-LRZ-SARA-DEISA-002">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="pathId">DFN-Surfnet-Link-5678</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+ <nmwg:data id="d3" metadataIdRef="md-link-PSNC-DFN-MUE-003">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="pathId">PSNC-DFN-MUE-Link-1001</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+ <nmwg:data id="d4" metadataIdRef="md-link-PSNC-2-DFN-MUE-004">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="pathId">PSNC-2-DFN-MUE-Link-1002</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-L2-status.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <!-- iperf/bwctl metadata section -->
+ <nmwg:metadata id="meta1-iperf-test">
+ <iperf:subject id="subject-1">
+ <nmwgt:endPointPair
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+ <nmwgt:src type="ipv4" value="198.32.8.170" port="5433"/>
+ <nmwgt:dst type="ipv4" value="198.32.8.174" port="5433"/>
+ </nmwgt:endPointPair>
+ </iperf:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data1-iperf-test" metadataIdRef="meta1-iperf-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">meta1-iperf-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-iperf.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <nmwg:metadata id="meta2-iperf-test">
+ <iperf:subject id="subject-1">
+ <nmwgt:endPointPair
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+ <nmwgt:src type="ipv4" value="150.254.0.1" port="5422"/>
+ <nmwgt:dst type="ipv4" value="150.254.0.2" port="5422"/>
+ </nmwgt:endPointPair>
+ </iperf:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data2-iperf-test" metadataIdRef="meta2-iperf-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">meta2-iperf-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-iperf.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <!-- ping metadata section -->
+ <nmwg:metadata id="ping-meta1">
+ <ping:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="222.22.22.22"/>
+ <nmwgt:dst type="ipv4" value="111.11.11.11"/>
+ </nmwgt:endPointPair>
+ </ping:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/ping/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="ping-data1" metadataIdRef="ping-meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="metadataId">ping-meta1</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-clmp-ping.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <!-- owamp metadata section -->
+ <nmwg:metadata id="owamp-meta1">
+ <owamp:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="222.22.22.22" />
+ <nmwgt:dst type="ipv4" value="111.11.11.11" />
+ </nmwgt:endPointPair>
+ </owamp:subject>
+ <owamp:parameters id="param1">
+ <nmwg:parameter name="direction">to</nmwg:parameter>
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ </owamp:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1-owamp" metadataIdRef="owamp-meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">owamp-meta1</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-clmp-owamp.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <!-- owamp metadata summary (aggregated) data -->
+ <nmwg:metadata id="owamp-meta2">
+ <owamp:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="222.22.22.21" />
+ <nmwgt:dst type="ipv4" value="111.11.11.12" />
+ </nmwgt:endPointPair>
+ </owamp:subject>
+ <owamp:parameters id="param1">
+ <nmwg:parameter name="direction">to</nmwg:parameter>
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ <nmwg:parameter name="output">summary</nmwg:parameter>
+ </owamp:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data2-owamp" metadataIdRef="owamp-meta2">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">owamp-meta2</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-owamp-aggregation.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+</nmwg:store>
\ No newline at end of file
Copied:
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_clmp-owamp.xml
(from rev 6480,
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-owamp.xml)
===================================================================
---
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_clmp-owamp.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_clmp-owamp.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,57 @@
+<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <!-- owamp metadata section -->
+ <nmwg:metadata id="owamp-meta1">
+ <owamp:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="222.22.22.22" />
+ <nmwgt:dst type="ipv4" value="111.11.11.11" />
+ </nmwgt:endPointPair>
+ </owamp:subject>
+ <owamp:parameters id="param1">
+ <nmwg:parameter name="direction">to</nmwg:parameter>
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ </owamp:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1-owamp" metadataIdRef="owamp-meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">owamp-meta1</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-clmp-owamp.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+ <!-- owamp metadata summary (aggregated) data -->
+ <nmwg:metadata id="owamp-meta2">
+ <owamp:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="222.22.22.21" />
+ <nmwgt:dst type="ipv4" value="111.11.11.12" />
+ </nmwgt:endPointPair>
+ </owamp:subject>
+ <owamp:parameters id="param1">
+ <nmwg:parameter name="direction">to</nmwg:parameter>
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ <nmwg:parameter name="output">summary</nmwg:parameter>
+ </owamp:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data2-owamp" metadataIdRef="owamp-meta2">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">owamp-meta2</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-owamp-aggregation.xml</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+</nmwg:store>
+
+
+
Copied:
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_clmp-ping.xml
(from rev 6480,
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_clmp-ping.xml)
===================================================================
---
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_clmp-ping.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_clmp-ping.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,28 @@
+<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:ping="http://ggf.org/ns/nmwg/tools/ping/2.0/"
+ xmlns="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+ <nmwg:metadata id="ping-meta1">
+ <ping:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="222.22.22.22"/>
+ <nmwgt:dst type="ipv4" value="111.11.11.11"/>
+ </nmwgt:endPointPair>
+ </ping:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/ping/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="ping-data1" metadataIdRef="ping-meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="metadataId">ping-meta1</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-clmp-ping.xml</nmwg:parameter>
+ <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/tools/ping/2.0</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
+</nmwg:store>
\ No newline at end of file
Copied:
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_discards_TEST.xml
(from rev 6480,
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_discards_TEST.xml)
===================================================================
---
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_discards_TEST.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_discards_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
+ xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
+ xmlns:discards="http://ggf.org/ns/nmwg/characteristic/discards/2.0/"
+ xmlns="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+ <nmwg:metadata id="meta1-discards-test">
+ <discards:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifIndex>2</nmwgt:ifIndex>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </discards:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/discards/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+
+ <nmwg:data id="data1-discards-test" metadataIdRef="meta1-discards-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">meta1-discards-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-discards.xml</nmwg:parameter>
+ <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/characteristic/discards/2.0</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
+</nmwg:store>
\ No newline at end of file
Copied:
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_errors_TEST.xml
(from rev 6480,
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_errors_TEST.xml)
===================================================================
---
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_errors_TEST.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_errors_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
+ xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
+ xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
+ xmlns="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+ <nmwg:metadata id="meta1-errors-test">
+ <errors:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifIndex>2</nmwgt:ifIndex>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </errors:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/errors/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+
+ <nmwg:data id="data1-errors-test" metadataIdRef="meta1-errors-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">meta1-errors-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-errors.xml</nmwg:parameter>
+ <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/characteristic/errors/2.0</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
+</nmwg:store>
\ No newline at end of file
Copied:
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_iperf_TEST.xml
(from rev 6480,
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_iperf_TEST.xml)
===================================================================
---
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_iperf_TEST.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_iperf_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<nmwg:store xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:iperf="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
+ xmlns="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+ <nmwg:metadata id="meta1-iperf-test">
+ <iperf:subject id="subject-1">
+ <nmwgt:endPointPair
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+ <nmwgt:src type="ipv4" value="198.32.8.170" port="5433"/>
+ <nmwgt:dst type="ipv4" value="198.32.8.174" port="5433"/>
+ </nmwgt:endPointPair>
+ </iperf:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1-iperf-test" metadataIdRef="meta1-iperf-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter
name="metadataId">meta1-iperf-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-iperf.xml</nmwg:parameter>
+ <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+</nmwg:store>
\ No newline at end of file
Copied:
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_utilization_TEST.xml
(from rev 6480,
trunk/perfsonar-java-sql-ma/src/main/resources/perfsonar/conf/sql-database_utilization_TEST.xml)
===================================================================
---
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_utilization_TEST.xml
(rev 0)
+++
trunk/perfsonar-java-sql-ma/src/test/resources/perfsonar/conf/sql-database_utilization_TEST.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<nmwg:store xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwgtopo="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"
+ xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
+ xmlns="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+
+ <nmwg:metadata id="meta1-test">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+
+ <nmwg:data id="data1-test" metadataIdRef="meta1-test">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
+ <nmwg:parameter
name="ibatisConfig">ibatis-SqlMapConfig-utilization.xml</nmwg:parameter>
+ <nmwg:parameter
name="eventType">http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:data>
+
+
+
+</nmwg:store>
\ No newline at end of file
Modified:
trunk/perfsonar-java-sql-ma/test/JavaSQLMAsoapUI/InterfaceBased/SQL_MA_soapui-project.xml
===================================================================
---
trunk/perfsonar-java-sql-ma/test/JavaSQLMAsoapUI/InterfaceBased/SQL_MA_soapui-project.xml
2013-12-20 11:35:09 UTC (rev 6480)
+++
trunk/perfsonar-java-sql-ma/test/JavaSQLMAsoapUI/InterfaceBased/SQL_MA_soapui-project.xml
2014-01-21 16:51:35 UTC (rev 6481)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<con:soapui-project name="SQL MA Service" soapui-version="4.6.1"
activeEnvironment="Default" abortOnError="false" runType="SEQUENTIAL"
resourceRoot=""
xmlns:con="http://eviware.com/soapui/config"><con:description>Full
functionnal test suite for the perfSONAR SQL MA Service.
+<con:soapui-project name="SQL MA Service" soapui-version="4.6.4"
activeEnvironment="Default" abortOnError="false" runType="SEQUENTIAL"
resourceRoot=""
xmlns:con="http://eviware.com/soapui/config"><con:description>Full
functionnal test suite for the perfSONAR SQL MA Service.
This test suite targets the SQL MA with base1 implementation. (base2
returns different status codes in some situations)
@@ -46,7 +46,7 @@
<con:entry key="Add local endpoint" value="false"/>
<con:entry key="Endpoint"
value="http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC4/services/MeasurementArchiveService"/>
<con:entry key="Local Port" value=""/>
-</xml-fragment></con:setting></con:settings><con:endpoints><con:endpoint>http://genesis-vm-centos6-32.rrze.uni-erlangen.de:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
action="" name="Metadata" bindingOperationName="Metadata" inputName=""
isOneWay="false" receivesAttachments="false" sendsAttachments="false"
type="Request-Response"
id="b2ae7dd4-544f-4a2d-96a3-5b5dd6d8e911"><con:settings/><con:call
name="Metadata Request" outgoingWss="" incomingWss=""
id="b6714ff9-014f-4000-a3ab-7cb57815cc4d"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/M
easurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</xml-fragment></con:setting></con:settings><con:endpoints><con:endpoint>http://genesis-vm-centos6-32.rrze.uni-erlangen.de:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
action="" name="Metadata" bindingOperationName="Metadata" inputName=""
isOneWay="false" receivesAttachments="false" sendsAttachments="false"
type="Request-Response"
id="b2ae7dd4-544f-4a2d-96a3-5b5dd6d8e911"><con:settings/><con:call
name="Metadata Request" outgoingWss="" incomingWss=""
id="b6714ff9-014f-4000-a3ab-7cb57815cc4d"><con:settings/
><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
>xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
>xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<ns:message id="?" messageIdRef="?" type="?">
@@ -562,7 +562,7 @@
<xs:attributeGroup ref="nmwgt:MetadataIdentifierRef"/>
</xs:complexType>
</xs:element>
-</xs:schema>]]></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part></con:definitionCache></con:interface><con:interface
name="LookupInfoRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}LookupInfoRequest"
soapVersion="1_1"
definition="file:../JavaSQLMAsoapUI/InterfaceBased/lookupinfo/LookupInfoRequest.wsdl"
xsi:type="con:WsdlInterface" wsaVersion="NONE"
id="0d9c5cc6-d58e-452e-b2b7-deefa5ad85b6"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:endpoints><con:endpoint>http://jra.ccf.auth.gr:8080/geant2_java-rrd-ma-2.3-RC2/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://genesis-vm-centos6-32.rrze.uni-erlangen.de:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
action="" name="LookupInfo" bindingOperationName="LookupInfo" inputName="" is
OneWay="false" receivesAttachments="false" sendsAttachments="false"
type="Request-Response"
id="a1e0f904-24f1-44fd-a28e-0f9e2770ece4"><con:settings/><con:call
name="Request 1"
id="aeae01bf-4ddc-4dec-b8ce-81b25d83e273"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</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/">
+</xs:schema>]]></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part></con:definitionCache></con:interface><con:interface
name="LookupInfoRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}LookupInfoRequest"
soapVersion="1_1"
definition="file:../JavaSQLMAsoapUI/InterfaceBased/lookupinfo/LookupInfoRequest.wsdl"
xsi:type="con:WsdlInterface" wsaVersion="NONE"
id="0d9c5cc6-d58e-452e-b2b7-deefa5ad85b6"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:endpoints><con:endpoint>http://genesis-vm-centos6-32.rrze.uni-erlangen.de:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://jra.ccf.auth.gr:8080/geant2_java-rrd-ma-2.3-RC2/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
action="" name="LookupInfo" bindingOperationName="LookupInfo" inputName="" is
OneWay="false" receivesAttachments="false" sendsAttachments="false"
type="Request-Response"
id="a1e0f904-24f1-44fd-a28e-0f9e2770ece4"><con:settings/><con:call
name="Request 1"
id="aeae01bf-4ddc-4dec-b8ce-81b25d83e273"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</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>
<ns:message id="?" messageIdRef="?" type="?">
@@ -697,13 +697,13 @@
<xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/"
schemaLocation="LookupInfoResponse.xsd"/>
<xs:import
namespace="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/"
schemaLocation="psservice.xsd"/>
<xs:element name="datum" substitutionGroup="nmwg:Datum"
type="xs:string"/>
-</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part></con:definitionCache></con:interface><con:interface
name="MeasurementArchiveStoreRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}MeasurementArchiveStoreRequest"
soapVersion="1_1"
definition="file:../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreRequest.wsdl"
xsi:type="con:WsdlInterface" wsaVersion="NONE"
id="8f0bcd75-e48a-4084-a715-ba77c01c8268"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:endpoints><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
action="" name="Store" bindingOperationName="Store" inputName=""
isOneWay="false" receivesAttachments=
"false" sendsAttachments="false" type="Request-Response"
id="788a14b2-7b7f-4e7f-a447-ce0054b8f42f"><con:settings/><con:call
name="Request 1" id="30a0cc54-dff7-437a-b672-1da0cf4aa9c6" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part></con:definitionCache></con:interface><con:interface
name="MeasurementArchiveStoreRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}MeasurementArchiveStoreRequest"
soapVersion="1_1"
definition="file:../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreRequest.wsdl"
xsi:type="con:WsdlInterface" wsaVersion="NONE"
id="8f0bcd75-e48a-4084-a715-ba77c01c8268"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:endpoints><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://sqlma:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operat
ion action="" name="Store" bindingOperationName="Store" inputName=""
isOneWay="false" receivesAttachments="false" sendsAttachments="false"
type="Request-Response"
id="788a14b2-7b7f-4e7f-a447-ce0054b8f42f"><con:settings/><con:call
name="Request 1" id="30a0cc54-dff7-437a-b672-1da0cf4aa9c6" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
<soapenv:Header/>
<soapenv:Body>
<ns:message id="?" messageIdRef="?" type="?">
</ns: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:call><con:call name="Request 1"
id="04fdec5d-892a-4427-b5a3-4afe51263066" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+</soapenv:Envelope>]]></con:request><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials></con:call><con:call name="Request 1"
id="04fdec5d-892a-4427-b5a3-4afe51263066" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
<soapenv:Header/>
<soapenv:Body>
<ns:message id="?" messageIdRef="?" type="?">
@@ -817,9 +817,3393 @@
</xs:simpleContent>
</xs:complexType>
</xs:element>
-</xs:schema>]]></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part></con:definitionCache></con:interface><con:testSuite
name="MetadataKeyRequest"
id="f48d15ee-cb2a-4a20-ac63-05ae1781218a"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests" searchProperties="true"
id="a1566581-f3b6-49d1-8fb1-3becb829d0be"
maxResults="0"><con:settings/><con:testStep type="request"
name="Metadata-Errors"
id="d55cc925-7075-4275-9265-d0c5abd05d92"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</xs:schema>]]></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part></con:definitionCache></con:interface><con:testSuite
name="Echo" id="507612c8-2a64-4397-bc0c-bd2b7af86390"><con:description>Echo
Requests testing messages.
+</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="true"
maxResults="0" name="Correct requests" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false"
amfEndpoint="" amfLogin="" amfPassword=""
id="72a35441-f3c0-42d4-96c1-495259e676ee"><con:description/><con:settings/><con:testStep
type="request" name="Echo Request"
id="a3ee1424-4300-4f81-8464-1e208bd032b2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Echo Request" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:sett
ing></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="37b1af3d-03e6-44d7-86b7-96926e9ef316"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'(echo/success|success\.echo)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="XML DB Access Test Request"
id="b99239e3-1ee6-4464-a467-f0e65502e55a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:re
quest name="XML DB Access Test Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-access-test</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="302a6436-9021-43a1-ac09-148d8d4ddb5e"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'xmldb-access-test/success')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="XML DB Content Test Request"
id="047e1364-2eb1-4e59-aacd-20b15e9c4aed"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:req
uest name="XML DB Content Test Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-content-test</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="8cd5fadb-15f0-44fc-af56-2ef26d9e9558"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'xmldb-content-test/success')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Random Fetch Test Request"
id="42bb46ed-21e3-4733-9e1d-978cbe9efb0f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:requ
est name="Random Fetch Test Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
+ xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/random-fetch-test</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="74f7243c-d1ee-4883-a438-55cd2b2e62af"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'random-fetch-test/success')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Selftest"
id="9c915e6f-d401-444f-8b9c-67985d8ae935"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Selftest
" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="5db45607-68b6-46ea-bc56-77f6795d06fd"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="8800d0a0-93b7-456c-8790-50abaa4afb2f"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Selftest DBConnection=yes"
id="90337cc9-bb7e-4160-998c-d1225478b674"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="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.Wsd
lRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="eb904743-f385-47e8-920a-f8c947686d67"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Selftest DBSchema=true"
id="81e84bd2-e7aa-424d-acc8-adacfa764cdf"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Selftest DBSchema=true" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlReque
st@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+
+ <nmwg:parameter name="testDBSchema" value="true"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="cd4d7983-b208-46c8-809b-a27b9aadbfbd"/><con:assertion type="SOAP Fault
Assertion" id="1910d792-0b05-4a9e-9ab8-d9aae9beff05"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="493c379d-d5c5-4487-a437-ef57780cdfe9"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="c1efcf39-545a-466e-998e-74900712e1aa"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("/success")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes >= 1
+assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Echo LoadTest"
id="8a1e6079-b8f4-409d-97ce-cde2fbc57398"><con:settings><con:setting
id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>32</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</con:testLimit><con:limitType>TIME</con:limitT
ype><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="7975186b-46ac-462f-8eff-012c87dbf960"><con:settings/><con:testStep
type="request" name="Request without nmwg:data"
id="890a5b16-676a-4887-bf3f-ff067d637733"><con
:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Request without 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ <nmwg:parameters>
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="eddb4d9a-516e-42c4-bc73-f4b244036b8d"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'warning\.(common|ls)\.(data_trigger|no_metadata)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Request without nmwg:metadata"
id="be6f2f5e-b2b3-43c7-9140-0998ce9e2bc8"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata
</con:operation><con:request name="Request without nmwg:metadata"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="48ac27ea-cf0a-4322-a48c-b812915ffc4b"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'warning\.(common|ls)\.(data_trigger|no_metadata)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Bad message type"
id="0f08eefc-c4e9-43de-b4ca-33555c8c11d6"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operati
on><con:request name="Bad message type" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="BadMsgType" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ <nmwg:parameters>
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="452d47db-3544-428b-a31e-b80d757ac7b8"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/message_type_not_support|\.common\.action_not_supported)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Bad eventType"
id="97f7345a-a262-40d0-87e4-4bb62f7c96f9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata<
/con:operation><con:request name="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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/badecho/2.0</nmwg:eventType>
+ <nmwg:parameters>
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="b3f103c6-b220-4099-a615-1ad7b8a5d8f2"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error.request')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Request without metadata/data pair"
id="12995574-0659-477c-9cf5-7089ad3bae3f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
n
ame="Request without 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="yes"/>
+ <nmwg:parameter name="testDBSchema" value="yes"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+<!-- Bad metadataIdRef -->
+ <nmwg:data id="data" metadataIdRef="badref"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="078fdf24-225c-44c0-9fe0-ce72342d8473"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="6d1c71f0-aae3-4eb3-971e-687fc40d0969"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+
+matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'warning\.(common|ls)\.(data_trigger|no_metadata)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="9ce0de36-910b-4e10-9985-f07d1b1b75ac"><con:de
scription>Not sure there is much to test here, we cannot have invalid data
for echo requests, not even bad
parameters.</con:description><con:settings/><con:testStep type="request"
name="2.5.2.3.1 - Selftest bad DBSchema !"
id="20ab0671-1906-4189-9ef1-c69b2a9d3159"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://sche
mas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+<!-- Bad parameter -->
+ <nmwg:parameter name="testDBSchema"
value="fdqs">fqfdsq</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta">
+ blahblah
+ </nmwg:data>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="51f2bb27-2a93-487b-a50a-6552c823e485"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="8800d0a0-93b7-456c-8790-50abaa4afb2f"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("success.ls")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes == 0
+assert noOfbadEventTypes >=
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="2.5.2.3.2 - Selftest bad DBConnection !"
id="ed1c1b84-4358-4cc2-a846-cc89d836147d"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="2.5.2.3.2 - Selftest bad DBConnection !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.
eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="testDBConnection" value="bad"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="aa5ba393-7f29-4b6e-883c-a4a14bc05d42"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("success.ls")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes == 0
+assert noOfbadEventTypes >
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="2.5.2.3.3 - Selftest bad parameter !"
id="384ea02d-15ff-4e3f-b854-b17aa61e098d"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="EchoRequest"
+ id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="badTest" value="yes"/>
+
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+</nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="ac417d2a-708e-4cc3-92c6-10e866d905f5"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+def noOfcorrectEventTypes = 0
+def noOfbadEventTypes = 0
+
+def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
+eventTypes.each{
+ if(it.getValueAsString().contains("success.ls")){
+ noOfcorrectEventTypes++
+ } else {
+ noOfbadEventTypes++
+ }
+}
+
+assert noOfcorrectEventTypes == 0
+assert noOfbadEventTypes >
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Store"
id="b4e0cb27-f96b-4a04-9943-e868b82f1ce6"><con:description>Storage requests
testing messages.
+
+Starting this test suite empties all content of the SQLMA tables (see Setup
Script).
+Local connection to the MySQL host and default credentials are assumed but
can be changed in the
properties.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests" searchProperties="true"
id="da9e32bc-e0b3-41a5-b564-8660b556cb38"
maxResults="0"><con:settings/><con:testStep type="request"
name="perfsonar_utilization without key - model"
id="6f5cce07-2b13-42c4-aea7-20120f34c6c9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="perfsonar_utilization without key - model" 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:end
point>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="78b6e5ec-ab65-49a6-8764-ccacc995fea4"/><con:assertion type="SOAP Fault
Assertion" id="4d4ae4fd-db83-4595-b8fa-1c953ba5e133"/><con:assertion
type="XPath Match"
id="0521b84b-dbc9-4c30-9e42-07a0ec1a02af"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match" id="414e084a-ab93-414c-a585-485a2e035b39" name="XPath
Match - to review" disabled="true"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="f025ac99-5990-495e-b501-16bb414432b0"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" id="a4e28468-d553-4b47-a8b2-f77a396cf905"
name="Check Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNC grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+//def rncLocation = "MeasurementArchiveStoreResponse.rng"
+def rncLocation =
context.expand('${projectDir}')+"/MeasurementArchiveStoreResponse.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="Schema
Compliance" id="ba98a8ec-eec3-4887-a076-f129eef7761d"
disabled="true"><con:configuration><definition>file:MeasurementArchiveStoreResponse.wsdl</definition></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Check Storage"
id="f1241358-d403-4388-aa25-dec7f2cdf980"><con:configuration><scriptText>import
groovy.sql.Sql
+import com.eviware.soapui.support.XmlHolder
+
+// Register the JDBC driver and connect to the DB
+com.eviware.soapui.support.GroovyUtils.registerJdbcDriver(
"com.mysql.jdbc.Driver" )
+def sql = Sql.newInstance("jdbc:mysql://localhost/perfsonar_ma",
"perfsonar_ma", "testpass", "com.mysql.jdbc.Driver")
+
+// The data we put in the store request
+def RequestHolder = new XmlHolder(messageExchange.requestContentAsXml)
+RequestHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+RequestHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+RequestHolder.namespaces["nmwgt"]="http://ggf.org/ns/nmwg/topology/2.0/"
+RequestHolder.namespaces["netutil"]="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+datum =
RequestHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/netutil:datum')
+v = datum[0].getAttribute("value").toInteger()
+vu = datum[0].getAttribute("valueUnits")
+tv = datum[0].getAttribute("timeValue").toInteger()
+log.info "Request: $v $vu @ $tv"
+
+// Compare it to what is actually stored in the DB a minute ago
+success = false
+sql.eachRow("SELECT metadataId,value,valueUnits,timeValue FROM
perfsonar_utilization WHERE value = $v AND timeValue = $tv AND ts >
DATE_SUB(NOW(), INTERVAL 1 MINUTE)") {
+ log.info "Stored: $it.value $it.valueUnits @ $it.timeValue -
$it.metadataId"
+ assert it.valueUnits == vu
+ assert it.timeValue.toInteger() == tv
+ if (it.value.toInteger() == v && it.valueUnits == vu
&& it.timeValue.toInteger() == tv) {
+ success = true
+ }
+}
+
+sql.close()
+assert(success)
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="perfsonar_iperf without key"
id="ae1d4f08-85b1-4bfc-8c8f-a9052cdaa795"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="perfsonar_iperf without key" 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:endpoin
t>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="78b6e5ec-ab65-49a6-8764-ccacc995fea4"/><con:assertion type="SOAP Fault
Assertion" id="4d4ae4fd-db83-4595-b8fa-1c953ba5e133"/><con:assertion
type="XPath Match"
id="0521b84b-dbc9-4c30-9e42-07a0ec1a02af"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match" id="414e084a-ab93-414c-a585-485a2e035b39"
disabled="true"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="f025ac99-5990-495e-b501-16bb414432b0"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" id="a4e28468-d553-4b47-a8b2-f77a396cf905"
name="Check Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNC grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+//def rncLocation = "MeasurementArchiveStoreResponse.rng"
+def rncLocation =
context.expand('${projectDir}')+"/MeasurementArchiveStoreResponse.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="Schema
Compliance" id="ba98a8ec-eec3-4887-a076-f129eef7761d"
disabled="true"><con:configuration><definition>file:MeasurementArchiveStoreResponse.wsdl</definition></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Test SQL storage"
id="f1241358-d403-4388-aa25-dec7f2cdf980"><con:configuration><scriptText>import
groovy.sql.Sql
+import com.eviware.soapui.support.XmlHolder
+
+// Register the JDBC driver and connect to the DB
+com.eviware.soapui.support.GroovyUtils.registerJdbcDriver(
"com.mysql.jdbc.Driver" )
+def sql = Sql.newInstance("jdbc:mysql://localhost/perfsonar_ma",
"perfsonar_ma", "testpass", "com.mysql.jdbc.Driver")
+
+// The data we put in the store request
+def RequestHolder = new XmlHolder(messageExchange.requestContentAsXml)
+RequestHolder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+RequestHolder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+RequestHolder.namespaces["nmwgt"]="http://ggf.org/ns/nmwg/topology/2.0/"
+RequestHolder.namespaces["netutil"]="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+datum =
RequestHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/netutil:datum')
+v = datum[0].getAttribute("value").toInteger()
+vu = datum[0].getAttribute("valueUnits")
+tv = datum[0].getAttribute("timeValue").toInteger()
+log.info "Request: $v $vu @ $tv"
+
+// Compare it to what is actually stored in the DB a minute ago
+success = false
+sql.eachRow("SELECT metadataId,value,valueUnits,timeValue FROM
perfsonar_utilization WHERE value = $v AND timeValue = $tv AND ts >
DATE_SUB(NOW(), INTERVAL 1 MINUTE)") {
+ log.info "Stored: $it.value $it.valueUnits @ $it.timeValue -
$it.metadataId"
+ assert it.valueUnits == vu
+ assert it.timeValue.toInteger() == tv
+ if (it.value.toInteger() == v && it.valueUnits == vu
&& it.timeValue.toInteger() == tv) {
+ success = true
+ }
+}
+
+sql.close()
+assert(success)
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no message id"
id="b7f64471-ec1d-4c65-ba4b-6b8a3990896f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no message id" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:enc
oding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="05c8b370-d39c-4970-8e57-6ae3922db1a6"/><con:assertion type="Schema
Compliance" disabled="true"
id="3b8f7fd0-8283-4cde-916a-f678601f12d3"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="7b35f957-87b6-4b59-8c2f-b288399dd58f"/><con:assertion type="XPath Match"
id="77216f60-2727-4eeb-9dd2-38cfb73b5928"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7d44d905-902a-41df-a330-d3a7b19e4612"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="bb3cbbf6-67af-492b-8f98-c07fc7d8eb52"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="c794fc1c-9077-4b0a-92c2-68e3cd8169df"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="013e12f5-0b3d-47b0-9bdf-769c56b17fb7"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, with messageidref"
id="b8c6ba64-ec12-48f3-8b9f-eba51c4a7a55"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, with messageidref" outgoingWss=""
incomingWss=""><con:setti
ngs><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg" metaidRef="meta1"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="a6812510-b2d6-4090-a880-eaada8c7ec78"/><con:assertion type="Schema
Compliance" disabled="true"
id="cb73749d-2b43-407b-9c14-a6cdb7b7f22d"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="ea7801a4-ddd3-434f-9b44-911d9a0b5ec2"/><con:assertion type="XPath Match"
id="a779b222-31e6-45e6-a9df-bec79f633cf8"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="32ab2d2a-9975-4ec5-b380-33cfa31f85ea"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="607437aa-3cd2-4122-a281-ef887e8c93eb"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="eeb10dbd-29b8-4b77-a30d-4f02ff5f3ef5"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="f5c07301-fe92-43c7-877e-f0e86963449a"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no id in subject"
id="b3f8f71c-2b12-4fc7-9db6-179caff2b92d"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no id in subject" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlReq
uest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject>
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="42b02d41-b852-4706-9ce5-306c053a1789"/><con:assertion type="Schema
Compliance" disabled="true"
id="8a816ec0-64e4-4100-869a-73cc4c21b1e1"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="b11a0dd8-c1d2-44c5-915a-6ce318c5a4dc"/><con:assertion type="XPath Match"
id="8b4c77a8-443b-433d-9162-03d4987fec96"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="8a2e888c-370b-4a45-8533-147c95fa08aa"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="9d00d8a8-dcc4-44e0-9c3a-03fbe903d235"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="f730faff-6e41-42a1-a333-474a6ffe9969"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="ef9fd079-76f3-4de5-a0e2-6209eecd077e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key , metadataIdref(same) in
subject" id="5c8364f5-dbd2-4439-a166-a3f4ff650740"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key , metadataIdref(same) in subject"
outgoingWss="" incomingWss=""><con:settings><con:setting id="com.ev
iware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1" metaidRef="meta1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="29fecf87-f720-4c73-b43e-6903b6dded00"/><con:assertion type="Schema
Compliance" disabled="true"
id="360cb4dc-aecb-4633-afc5-7f60f7b0f9c0"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="3672e5d2-afea-4088-859c-3582556ebb11"/><con:assertion type="XPath Match"
id="2df5e350-47e1-4819-b298-17ffd776e407"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="bbd9332b-4531-45b5-bd68-59251167173e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="307150ab-30f1-401d-882d-a488aaea1f6c"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="29943dca-f228-4bba-9972-64b1c1aa90e1"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="fcc4e32c-3193-4175-a544-a6e5e6beb8a4"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key ,
metadataIdref(duplicate) in subject"
id="5e9f48a9-c0d4-436c-9ab7-85703240d9d7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key , metadataIdref(duplicate) in subject"
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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1" metaIdRef="meta2">
+ <netutil:subject id="subj1" metaIdRef="meta2">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="4fbc73ea-7e12-448e-b571-c6b21f15e557"/><con:assertion type="Schema
Compliance" disabled="true"
id="5aee4e38-3602-4ee3-9076-f585a30bdf3c"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="af661351-f504-4738-9155-d0eb3f8736e4"/><con:assertion type="XPath Match"
id="1879fe0b-b190-4dec-83b8-536ea98fdc31"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="85d29b6a-1f1a-42c8-bd7a-320951c61521"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="4f685f6a-f403-491f-8120-0a8abac50355"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="e2cbf103-478b-467d-9cd6-5d6d89c9152e"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="794c3689-b33b-45f8-a310-598bc92feb9f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, empty interface
element" id="257aafcf-ea38-4029-816e-ca5675f82ae4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, empty interface element"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.imp
l.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="198c7b7e-2863-4392-9905-d9e619d17eca"/><con:assertion type="Schema
Compliance" disabled="true"
id="e01219bc-7cfc-4cc9-847f-3db81c71e42d"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="2e4f8b13-14a7-4a3a-aac1-018d1355608a"/><con:assertion type="XPath Match"
id="86ddc72d-d53b-41ec-bd4b-b9bfa59092ed"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="814f4237-d32e-4ffe-a5b6-baa698ff99ae"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="b539bb1d-b9e1-4629-b7c6-1daefe2224be"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="691805da-8e40-4907-8713-f736500636e1"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="ff0ca65d-a5d3-4321-a496-b856facdc1d6"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)!=0</path><content>false</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key, no key id"
id="fcb396fc-8f00-4a9f-a011-a2430a67551a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key, no key id" 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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="">
+ <nmwg:parameters>
+ <nmwg:parameter name="eventType"
+ value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter name="ibatisConfig">
+ ibatis-SqlMapConfig-utilization.xml
+ </nmwg:parameter>
+ <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="222111"
+ timeValue="1170154688"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5c5479b7-b965-4000-8c83-cbe43a0f1939"/><con:assertion type="Schema
Compliance" disabled="true"
id="99c83c76-4fd8-4fb4-92bc-07c9a32c768e"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="b4199166-43a6-4b34-bb07-8207b229de97"/><con:assertion type="XPath Match"
id="85654981-1bc2-4e8e-9eef-c0dbd307a825"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="ebf3aaa3-18ea-46a5-9688-7437136ef395"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="04808ee6-0a4b-46a7-9978-a6d8f844b64d"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="976d9841-19e4-4510-8891-8c7a720d1d1b"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="88b1affa-61ad-4e67-beed-18d0abf3270a"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no data Id"
id="c1bdd6dc-2ec0-42ad-bc6b-67f532045776"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no data Id" outgoingWss=""
incomingWss=""><con:settings><con:setti
ng
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="842acf3c-85db-4748-b00a-06e248d2a0e7"/><con:assertion type="Schema
Compliance" disabled="true"
id="82a76e9d-9870-4842-b529-5c7c509975cf"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="9f2840d0-3dd7-4ee0-9c17-6467e4d75124"/><con:assertion type="XPath Match"
id="b1efe224-ba56-499e-8d83-1adf6a9f5587"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="8dde2875-a623-464b-98fa-bdc86d510fd8"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="dc791798-1d1e-4b47-bcf3-524236a5f1a9"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="5f985952-4cb6-4d5d-a7a5-81aee5edf935"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="ba2d65a2-46cc-44af-8761-1d2e76ab57cc"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key"
id="5d24c4c7-3137-45c6-aac9-e543f5bcc925"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key" 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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="eventType"
+ value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter name="ibatisConfig">
+ ibatis-SqlMapConfig-utilization.xml
+ </nmwg:parameter>
+ <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="222111"
+ timeValue="1170154688"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="1fbd7ad9-bfeb-4bed-95e0-247304a32edc"/><con:assertion type="SOAP Fault
Assertion" id="4045d4ee-219a-4f15-b142-7d95aa2fe4d6"/><con:assertion
type="XPath Match"
id="3a9ccb3a-16f7-4f96-9ab9-2b81191240a5"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="17fc20c0-8c66-41c8-ad4d-24f5f3bdd268"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="2eec42c0-4658-4349-8bcd-fdc7142b1598"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="a9b2a23e-ca4c-48e4-b509-09f44d1721c0"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="210f6700-c784-45a4-9256-3ad708cbc3d9"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="SQL-groovy"
id="3fad786b-be02-4bf1-8970-542910de07ca"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+import groovy.sql.Sql
+
+def sql =
Sql.newInstance("jdbc:mysql://perfsonar.CARNet.hr:3306/perfsonar_ma",
"perfsonar_ma", "l0291nk1", "com.mysql.jdbc.Driver")
+
+ids='meta1'
+values='222111'
+valueUnitss='Bps'
+timeValues='1170154688'
+
+sql.execute("insert into perfsonar_utilization (metadataId, value,
valueUnits, timeValue) "+
+ " values (?,?,?,?)", [ids,values,valueUnitss,timeValues])
+
+def knownResultsMap=[metadataId:ids,value:values,valueUnits:valueUnitss]
+def resultList=[]
+
+sql.eachRow("select metadataId,value,valueUnits from perfsonar_utilization
where timeValue=FROM_UNIXTIME(1170154688) "){
+def result=[:]
+result=[metadataId:it.id,value:it.value,valueUnits:it.valueUnits]
+resultList.add(result)
+}
+
+resultList.each{
+if((it.id==knownResultsMap.metadataId)&&(it.value==knownResultsMap.value)&&(it.valueUnits==knownResultsMap.valueUnits))
+ println "\n We have a match" + "\n"+ it.id +" "+it.value+" "+it.valueUnits
+ }
+</scriptText></con:configuration></con:assertion><con:assertion type="Schema
Compliance" disabled="true"
id="4f48c7c5-112f-427f-9708-e7bb6de3f1e4"><con:configuration/></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key , no timeType in Datum"
id="37e3c08e-7092-4b7a-ae79-3d754ffa2f89"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key , no timeType in Datum" 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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="8b7df9ef-5314-4536-84db-b9c466b25901"/><con:assertion type="Schema
Compliance" disabled="true"
id="26abcf4f-4fd3-4e3f-aab6-9f333a4d98ad"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="6cf76d7a-e706-4c2f-968d-119d861708bf"/><con:assertion type="XPath Match"
id="e0d8d65e-ea37-495b-93c1-b6b9a4d8f277"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="237a98ee-3279-48bc-830c-934d575231ff"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="d816bfbf-5f80-4f17-9540-b858642b9e29"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="29074209-96ff-4ac9-bc39-746e5b32256e"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="d4248b9c-aacf-4203-90d3-ec077e2d0f92"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no valueUnits in Datum"
id="08c20568-d251-4ccf-a09b-63c5e89bd8ac"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no valueUnits in Datum"
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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="cfcf3fa1-2613-4131-9277-66e2c1b95686"/><con:assertion type="Schema
Compliance" disabled="true"
id="e662d93d-766a-41f3-ab00-b1e09eff33fd"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="c0871482-0559-4955-9e00-5a25f0a5080a"/><con:assertion type="XPath Match"
id="ce9f9f7a-7931-4a86-b872-9b53144005ab"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="6014f180-36e7-47ef-bbfa-a921a1ee9f0b"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="f4316031-d1a6-4950-8955-b4a003ce8fed"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="309910ce-4851-47f4-bc53-a4e7fb615fba"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="cc58e7ce-9f9c-4d90-bf6c-2d6ea1faf450"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="with metadata block describing interface and additional
parameter to create a key"
id="b8e285de-39eb-4aec-a6f8-46d7a75b2c24"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="with metadata block describing interface and additional parameter to
create a key" outgoingWss="" incomingWss=""><co
n: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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">100.11.22.33</nmwgt:ifAddress>
+ <nmwgt:ifName>test-2</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>out</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm2</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ <nmwg:parameters>
+ <nmwg:parameter name="ibatisConfig">
+ ibatis-SqlMapConfig-utilization.xml
+ </nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="67890"
+ timeValue="1170155455"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="bd6370dc-fe2d-434a-8fc0-8736898d813c"/><con:assertion type="Schema
Compliance" disabled="true"
id="391db62b-a92a-4bbe-acb2-b68c194626d3"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="0553a187-5c2e-49b2-bdf8-a2c8880eff56"/><con:assertion type="XPath Match"
id="2a5cfd75-821b-46f5-93fe-ee94c0fd7d45"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7bad669b-fd26-4774-b823-a0e73d16a8cb"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="a14c3e28-a754-4a96-865f-45457c6a8025"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="b96e6087-c398-4f8e-a4b6-faf2a52f7b4f"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7b2542ed-4e76-4227-94e8-4812f01158dc"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key, no data Id"
id="fafe69a0-a800-49b3-90cb-30379c2cecf0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key, no data Id" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-heade
rs"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="eventType"
+ value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter name="ibatisConfig">
+ ibatis-SqlMapConfig-utilization.xml
+ </nmwg:parameter>
+ <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+
+ <nmwg:data metadataIdRef="meta1">
+ <netutil:datum value="222111"
+ timeValue="1170154688"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="28895d8f-9187-43d5-b9c6-972d5256c1de"/><con:assertion type="Schema
Compliance" disabled="true"
id="9aa10eec-ef1f-4475-87bb-fb90c5f5f5ee"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="61f8830a-cf88-4f3a-87bf-564109a278b2"/><con:assertion type="XPath Match"
id="4a5b2c77-cba5-426d-bee2-2f786bf1d518"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="61dd45af-ba3d-4419-b068-3c6325a88381"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="d6ff3799-4011-419e-a973-81f3bb5312dd"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="94cd2786-d5aa-4620-987b-9840117a9830"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="b5d636fd-3524-48cf-a068-441c687d5b2e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="jdbc" name="JDBC Request"
id="36db65bb-c4a4-42c0-b129-c33a08a8dd03"><con:settings/><con:config
xsi:type="con:JdbcRequestTestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties/></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests" searchProperties="true"
id="de675593-c573-4d51-ad58-a967
1747da73" maxResults="0"><con:settings/><con:testStep type="request"
name="Store - Utilization without key, no message type"
id="1226cd2c-3a31-4a20-9981-2ba837a6c035"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no message type" 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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="62674ccc-34c7-4b73-abb9-345c9bcfb5b5"/><con:assertion type="SOAP Fault
Assertion" id="5869b50a-4a5d-4522-a094-5feb940e4b84"/><con:assertion
type="XPath Match"
id="3d36d77b-3062-4b7e-a033-fb242bb2f529"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(//nmwg:message/@id="resultCodeMessage")
+and
+(every $id in //nmwg:message/@id
+satisfies
(fn:string($id)="resultCodeMessage"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="97ae1ff2-237f-4c6c-b9be-da77ba77789d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="8d5da334-0dab-4232-9db6-454d48d9bf13"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="6669acee-71fd-4293-af41-96ea1d906b01"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">Action []
is not supported by the service or cannot be served - cannot instantiate
Message Handler</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="e6ed5d90-a388-4fb4-8b5e-2be574d92109"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/ErrorResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, wrong message type"
id="80ff2a41-ac77-4430-a6dd-8d0d02a7fbe6"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, wrong message type" 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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
>xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="Wrong-message-type"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="1e131ca2-934c-43e9-a7f3-11fd65ea150b"/><con:assertion type="SOAP Fault
Assertion" id="d6a7ce0d-88fa-475c-ae4b-cffffc7fe017"/><con:assertion
type="XPath Match"
id="e6e2e729-cb83-42fb-82a7-26a9e44fb8ae"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(//nmwg:message/@id="resultCodeMessage")
+and
+(every $id in //nmwg:message/@id
+satisfies
(fn:string($id)="resultCodeMessage"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="f13605b7-8acb-4ac7-bcfe-2295941297f4"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="d0739bb0-4fc4-4aac-b6ff-30eccdc19b58"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="63931e22-db6b-402c-9d05-5e83febb149f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">Action
[Wrong-message-type] is not supported by the service or cannot be served -
cannot instantiate Message Handler</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="eb9727a6-c895-4ab7-b313-60308073b630"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/ErrorResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, misspelled id in
metadata"
id="2e3ccff1-88b6-40ec-bc49-7954e5ce7d2c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, misspelled id in metadata"
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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
>xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata ids="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="7343129f-0bfe-457a-bbca-29e1e51bca3c"/><con:assertion type="SOAP Fault
Assertion" id="aea3fb76-f577-4404-802b-7cfd72418a4d"/><con:assertion
type="XPath Match"
id="24150670-4a9c-484b-b6dd-60723936c5a1"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="03babfec-c642-4869-be31-75c213276d8a"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="02fe033e-5885-4cfa-983d-a81032471ae6"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="a6c43743-0762-43ed-9448-92bce37c0e58"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, wrong interface
element" id="2c1737ab-9362-43fb-9fe2-c520524f3564"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, wrong interface element"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:set
tings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwg:wrongElement>boo</nmwg:wrongElement>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="9fcfebbd-8414-4041-bcfd-bca40c7dee37"/><con:assertion type="SOAP Fault
Assertion" id="ff3c1e15-a64c-4aa4-b3d1-952857474c73"/><con:assertion
type="XPath Match"
id="73d2be85-e466-4f23-bf1d-578e00a4f4dd"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="c41d2e9d-f079-4daf-a283-71e35fcb49d3"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="67f0636b-3d30-4f8f-b382-d44453bbdb4f"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="822a2b67-f8f6-4c1b-b584-8932468d1b68"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key no data element"
id="afdb1e8e-d63d-44d7-a705-57d6076004dc"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key no data element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encodin
g>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="8a205a54-fa6f-48a6-a6d5-81bf303bc052"/><con:assertion type="SOAP Fault
Assertion" id="c3a04539-ed1f-480b-bd12-db1fe2f11b12"/><con:assertion
type="XPath Match"
id="b1f02fa7-3509-4fef-9c25-d6573f898689"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="cf0451ec-7ad1-43a8-a330-be26afdec07f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="76f794a4-2cde-4aa4-91e9-d4149830e43b"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="56488c40-9a0d-491b-af85-2a93f98af46d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no metadata element"
id="8e956b58-1003-461a-8c3a-ea2edc9eb915"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no metadata element" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><c
on:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="264dab96-b826-4dc6-b6e2-6a6741036772"/><con:assertion type="SOAP Fault
Assertion" id="8897718d-62e8-459b-bb48-549e44cd6c30"/><con:assertion
type="XPath Match"
id="20b00590-ef35-48d0-9f9c-0872683b10d1"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="775fcf47-f169-4b16-9f66-da19398fb406"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="3421bf67-dff6-45ad-ad4f-6821a0985c80"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="6ffbad46-d825-4157-a1c3-4d09ea3dacc7"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, wrong eventType"
id="50af5d5c-b5a5-4138-97eb-8b2997b8865a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, wrong eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encod
ing>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ wrong.Event.Type
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="68ba2040-cfd2-4542-a039-f869b417605d"/><con:assertion type="SOAP Fault
Assertion" id="abf843ad-f734-4c7b-b053-7e363700d540"/><con:assertion
type="XPath Match"
id="ad5e1e95-2635-4e04-bfca-c0116248f752"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="1f6ce3a3-8a12-441b-b070-7a649cd115e0"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="8febc7fc-68dc-4675-8b04-6f68bca108d4"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="c66367fc-412a-4b43-8046-35a6f8875b3e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, empty EventType"
id="3eaf1401-8fed-4f4f-b4c1-7bf8bc8ad839"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, empty EventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlReque
st@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="ab73e18a-5486-4ae5-bdd0-056f966b8350"/><con:assertion type="SOAP Fault
Assertion" id="3bb07b62-71fd-457b-98f9-c41597825fa8"/><con:assertion
type="XPath Match"
id="f387bbce-0155-4650-a575-37f89039c2de"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="c63684e1-8429-4d85-aa09-ba8b87a93319"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="0017c544-1f7e-426d-bd97-33140bba132e"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="fd9f6c42-ede8-4451-af4c-51222faaf6c9"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no nmwg:subject ->
subject" id="3e0268ac-7c99-4a4e-afa1-d7d717a1d460"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no nmwg:subject -> subject"
outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soap
ui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="098385ce-931f-44a2-802f-b53b0710e626"/><con:assertion type="SOAP Fault
Assertion" id="fb0ef44a-2eb0-421a-ac11-a875ac3836c6"/><con:assertion
type="XPath Match"
id="1b835112-230b-4714-b404-b3ab72414b5f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="d3fc5c3a-3f5a-4a18-8ca6-3275e3a7011d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="0e52b686-67a7-45d1-b262-b56b08dd5722"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="3cdedb1e-699b-48c2-8b93-f7218a3e9a7f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key, no eventType parameter in
key" id="d5aac108-2f4e-48cb-a018-497c9d0b0631"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key, no eventType parameter in key"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></c
on:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+
+ <nmwg:parameter name="ibatisConfig">
+ ibatis-SqlMapConfig-utilization.xml
+ </nmwg:parameter>
+ <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="222111"
+ timeValue="1170154688"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="782947d0-2c34-4d7b-bc0e-11144d30a78f"/><con:assertion type="SOAP Fault
Assertion" id="183dd57c-69bf-4926-955a-55dca7783f45"/><con:assertion
type="XPath Match"
id="f744b4bc-4188-4ee8-b8a1-e2d93c9a1053"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="2f050930-d57f-4a12-96c1-c91848129aae"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="f49ec562-dbf5-4bdf-a8f5-fed81618e718"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="2e6c848d-b952-4b62-9c1c-6919960ec8d6"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLTypeMAServiceEngine.getStoreKey:
No eventType parameter in the key</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key, no ibatisConfig in key"
id="f2ebe843-9bce-40a0-b2c2-1a763fbe0617"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key, no ibatisConfig in key" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><c
on:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <nmwg:key>
+ <nmwg:parameters>
+ <nmwg:parameter name="eventType"
+ value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+
+ <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="222111"
+ timeValue="1170154688"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="d017b4bd-4807-4401-abb2-14603e2e2d5c"/><con:assertion type="SOAP Fault
Assertion" id="1d426556-88fe-4b13-a62f-b8da513c083d"/><con:assertion
type="XPath Match"
id="49ac3f03-b51f-465a-95a3-f0139a080a53"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="dc1910c4-a832-461e-9f9c-6207ad665cc2"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="483ec620-770c-45d2-8f4c-b7a14a8778fc"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="898b2108-23ce-42f1-91ff-3668c27757b0"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLTypeMAServiceEngine.getStoreKey:
No ibatisConfig parameter in the key</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, invalid value in datum
element" disabled="true"
id="8d60f2a8-70bf-4c92-8d86-becd7b3c84e7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, invalid value in datum element"
outgoingWss="" incomingWss=""><con:settings><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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="085222304812345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="12f134b6-8c83-490f-9ebe-efc8a5507624"/><con:assertion type="SOAP Fault
Assertion" id="009fbec6-9b09-4116-90f4-0638d3c0e6e5"/><con:assertion
type="XPath Match"
id="ca6caee8-537e-4520-a163-c75693300033"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="82b625e6-cfb6-4c15-a517-14a9d0d5644e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="b11302dc-704f-490e-92ca-2957286ad91b"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="27805af1-1f8f-405f-b852-3f186251fc5d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLStorageManager.store:
Problem generated by ibatis:
com.ibatis.common.jdbc.exception.NestedSQLException:
+--- The error occurred in ibatis-utilization.xml.
+--- The error occurred while applying a parameter map.
+--- Check the Results.insert-parameters.
+--- Check the statement (update failed).
+--- Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range
value adjusted for column 'value' at row 1
+Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range
value adjusted for column 'value' at row 1</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no value in datum"
disabled="true"
id="e2842abd-793e-40ef-860a-b4fcd500a642"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no value in datum" 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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value=""
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="671c2265-d613-4a74-9352-fa0ef17ba12b"/><con:assertion type="SOAP Fault
Assertion" id="9d0cce54-4995-469e-a53f-3e564129c6c0"/><con:assertion
type="XPath Match"
id="c58769ea-c5cc-46e5-bdaa-45cf355f93b3"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="61a6a622-0109-4bc3-a0a1-e193dcec25bc"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="1d287991-c771-40c1-829d-339c2e4237cf"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7c77a9ab-0e40-4cb4-8d51-eddc08d8ec8a"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLStorageManager.store:
Problem generated by ibatis:
com.ibatis.common.jdbc.exception.NestedSQLException:
+--- The error occurred in ibatis-utilization.xml.
+--- The error occurred while applying a parameter map.
+--- Check the Results.insert-parameters.
+--- Check the statement (update failed).
+--- Cause: java.sql.SQLException: Data truncated for column 'value' at row 1
+Caused by: java.sql.SQLException: Data truncated for column 'value' at row
1</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key,wrong metadataIdRef in
Data element"
id="f7eef1da-e3bd-4b9a-8b31-b289f6155eed"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key,wrong metadataIdRef in Data element"
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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="wrong">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="492bf3be-390a-4c32-bf01-4cc680515cf3"/><con:assertion type="SOAP Fault
Assertion" id="edc0f78e-37d3-4a01-9dfa-6eaca53ad572"/><con:assertion
type="XPath Match"
id="e67d15ae-6282-4c2f-ab34-d9fdc123503d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="05c2cdf7-1607-49bc-8c4b-abe1e2f5aa52"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="a636c83e-9862-4878-89d0-b5caa84594f9"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="cca138f5-2953-4945-8abe-9ad522a2d09e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key,no metadataIdRef in Data
element" id="9c034109-a4c2-4b8b-8791-7d8ed820cf2e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key,no metadataIdRef in Data element"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:s
etting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" >
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="f45199fb-4dc2-4438-afa8-a5435ed016e3"/><con:assertion type="SOAP Fault
Assertion" id="f12ac308-5ca8-4876-b88d-14b920cab989"/><con:assertion
type="XPath Match"
id="e8e5b4fa-db38-49df-968e-48a5653e82df"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="651adaae-cc6d-45f8-ada1-3e365fa2d5cb"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="2e91c707-e8d1-408c-989c-c74786142b1e"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="c7c97868-a775-4d49-b595-58e6c14add86"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key,too high timevalue"
id="d39a3918-135c-4ad0-a5aa-2ff52fccc383"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key,too high timevalue" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:e
ncoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifDescription>test description</nmwgt:ifDescription>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
+ <nmwgt:capacity>1000BaseT</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="43432423423423423"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="b75c8551-3339-42fa-bb03-762eaa27e2dc"/><con:assertion type="SOAP Fault
Assertion" id="46486e66-4f48-4416-a777-3e75e61dcc76"/><con:assertion
type="XPath Match"
id="65f854f8-9f62-4c0e-b224-99e2e07a0c38"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $id in //nmwg:metadata/@id
+satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7ed4ca22-5268-4cfb-ab14-b768fd1cc38f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="02eedcfd-9e87-42a3-9566-70983c69ff1b"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="b3a00b9e-0cc0-42fb-9c91-308645c38685"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+//nmwg:message/nmwg:data/@id="resultDescriptionData_for_resultCodeMetadata"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no interface"
id="7b219045-b469-4f98-91bd-b1a0b7ba5dcc"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no interface" 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://sqlma-d7:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg"
+ type="MeasurementArchiveStoreRequest"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1">
+ <netutil:datum value="12345"
+ timeValue="1139270800"
+ timeType="unix"
+ valueUnits="Bps" />
+ </nmwg:data>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="942a3b51-30a3-4872-a337-ff1680b36c09"/><con:assertion type="SOAP Fault
Assertion" id="a449e67e-8f90-4f17-9693-99daca393b2f"/><con:assertion
type="XPath Match"
id="34f78b71-8db5-4bb4-b6ba-840600a4c99e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="a0add396-aa40-46a4-9b5f-5ac322d69f6b"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="60651fe9-2681-4cdd-886d-e9824e883270"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="3d772e49-bba2-4c81-86e6-c8fa6b7ce846"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties><con:property><con:name>mysqlhost</con:name><con:value>localhost</con:value></con:property><con:property><con:name>mysqlport</con:name><con:value>3306</con:value></con:property><con:property><con:name>mysqluser</con:name><con:value>perfsonar_ma</con:value></con:property><con:property><con:name>mysqlpass</con:name><con:value>testpass</con:value></con:property><con:property><con:name>mysqldb</con:name><con:value>perfsonar_ma</con:value></con:property
></con:properties><con:setupScript>import groovy.sql.Sql
+
+// Register the JDBC driver and connect to the DB
+com.eviware.soapui.support.GroovyUtils.registerJdbcDriver(
"com.mysql.jdbc.Driver" )
+def host = testSuite.getPropertyValue("mysqlhost")
+def port = testSuite.getPropertyValue("mysqlport")
+def user = testSuite.getPropertyValue("mysqluser")
+def pass = testSuite.getPropertyValue("mysqlpass")
+def db = testSuite.getPropertyValue("mysqldb")
+def sql = Sql.newInstance("jdbc:mysql://$host/$db", "$user", "$pass",
"com.mysql.jdbc.Driver")
+
+// Empty all the SQL MA tables
+sql.execute "DELETE FROM clmp_ping;"
+sql.execute "DELETE FROM domain_link;"
+sql.execute "DELETE FROM interdomain_link;"
+sql.execute "DELETE FROM owamp;"
+sql.execute "DELETE FROM owamp_summary;"
+sql.execute "DELETE FROM perfsonar_discards;"
+sql.execute "DELETE FROM perfsonar_errors;"
+sql.execute "DELETE FROM perfsonar_iperf;"
+sql.execute "DELETE FROM perfsonar_links;"
+sql.execute "DELETE FROM perfsonar_utilization;"
+
+log.info "All tables from perfsonar_ma DB are now empty!"
+
+sql.close()
+</con:setupScript></con:testSuite><con:testSuite name="MetadataKeyRequest"
id="f48d15ee-cb2a-4a20-ac63-05ae1781218a"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests" searchProperties="true"
id="a1566581-f3b6-49d1-8fb1-3becb829d0be"
maxResults="0"><con:settings/><con:testStep type="properties" name="iperf
properties"
id="1c900142-3aef-4537-98f4-c006655b2a23"><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>src-ip</con:name><con:value>198.32.8.170</con:value></con:property><con:property><con:name>src-type</con:name><con:value>ipv4</con:value></con:property><con:property><con:name>src-port</con:name><con:value>5433</con:value></con:property><con:property><con:name>dst-ip</con:name><con:value>198.32.8.174</con:value></con:property><con:prope
rty><con:name>dst-type</con:name><con:value>ipv4</con:value></con:property><con:property><con:name>dst-port</con:name><con:value>5433</con:value></con:property></con:properties></con:config></con:testStep><con:testStep
type="request" name="iperf"
id="3af768d2-14d6-4504-85af-b0ddd7f66869"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="iperf" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MetadataKeyRequest"
+ id="req1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:iperf="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="m1">
+ <iperf:subject id="subject-1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="${iperf properties#src-type}" value="${iperf
properties#src-ip}" port="${iperf properties#src-port}"/>
+ <nmwgt:dst type="${iperf properties#dst-type}" value="${iperf
properties#dst-ip}" port="${iperf properties#dst-port}"/>
+ </nmwgt:endPointPair>
+ </iperf:subject>
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="d1" metadataIdRef="m1" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="612eb368-69d4-4709-b05f-b3f966fa82c4"/><con:assertion type="SOAP Fault
Assertion" id="b2c3b194-763a-4a89-9b32-6c691872f874"/><con:assertion
type="Schema Compliance" disabled="true"
id="844e152c-9210-4bba-9880-a642dd5eeb46"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="XPath Match" id="fe1d64f0-9718-4cb3-87fb-d281221dad10" name="XPath
Match - msg type, eventType and count"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace iperf='http://ggf.org/ns/nmwg/tools/iperf/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+
+(//nmwg:message/@type = "MetadataKeyResponse")
+and
+(every $eventType in //nmwg:message/nmwg:metadata/nmwg:eventType satisfies
$eventType="http://ggf.org/ns/nmwg/tools/iperf/2.0")
+and
+(count(//nmwg:message/nmwg:metadata/iperf:subject/nmwgt:endPointPair)=1)
+and
+(count(//nmwg:message/nmwg:data) =
count(//nmwg:message/nmwg:metadata))</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Check schema - add iperf !"
id="8c3797fc-33bc-4e87-b1d3-53eef1bcb312"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNC grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/MetadataKeyResponse.rnc"
+
+assert TestUtil.validateRNC(""+s, new File(rncLocation), log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath - check src"
id="cbc25b81-e53b-467f-bbe8-6c17492e42b5"><con:configuration><path>declare
namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace iperf='http://ggf.org/ns/nmwg/tools/iperf/2.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+concat(
+//nmwg:message/nmwg:metadata/iperf:subject/nmwgt:endPointPair/nmwgt:src/@value,
"-",
+//nmwg:message/nmwg:metadata/iperf:subject/nmwgt:endPointPair/nmwgt:src/@type,
"-",
+//nmwg:message/nmwg:metadata/iperf:subject/nmwgt:endPointPair/nmwgt:src/@port)</path><content>${iperf
properties#src-ip}-${iperf properties#src-type}-${iperf
properties#src-port}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath - check dst"
id="b31cdc15-cd70-4a2f-82c4-68f3ad9385d6"><con:configuration><path>declare
namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace iperf='http://ggf.org/ns/nmwg/tools/iperf/2.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+concat(
+//nmwg:message/nmwg:metadata/iperf:subject/nmwgt:endPointPair/nmwgt:dst/@value,
"-",
+//nmwg:message/nmwg:metadata/iperf:subject/nmwgt:endPointPair/nmwgt:dst/@type,
"-",
+//nmwg:message/nmwg:metadata/iperf:subject/nmwgt:endPointPair/nmwgt:dst/@port)</path><content>${iperf
properties#dst-ip}-${iperf properties#dst-type}-${iperf
properties#dst-port}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors"
id="d55cc925-7075-4275-9265-d0c5abd05d92"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operati
on>Metadata</con:operation><con:request name="Metadata-Errors"
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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+ <soapenv:Header/>
+ <soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
<nmwg:metadata id="m1">
@@ -900,7 +4284,7 @@
}
resultList.each{
println "\n We have a match" + "\n"+ it.metadataId +" "+it.value+"
"+it.valueUnits
-
}</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Discards - No consolidation function"
id="6b27cf61-f004-438c-b35a-efbc079faae0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Discards - No consolidation function" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+
}</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Discards - No consolidation function"
id="6b27cf61-f004-438c-b35a-efbc079faae0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Discards - No consolidation function" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1005,7 +4389,7 @@
}
resultList.each{
println "\n We have a match" + "\n"+ it.metadataId +" "+it.value+"
"+it.valueUnits
- }</scriptText></con:configuration></con:assertion><con:assertion
type="Schema Compliance" disabled="true"
id="5a37513e-7d84-48c7-8505-ef4efd69dec2"><con:configuration/></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Utilization-just capacity in description"
id="3ca0d03f-f8b6-431b-b293-43c0b391f92c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Utilization-just capacity in description" outgoingWss=""
incomingWss=""><con:settings/
><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+ }</scriptText></con:configuration></con:assertion><con:assertion
type="Schema Compliance" disabled="true"
id="5a37513e-7d84-48c7-8505-ef4efd69dec2"><con:configuration/></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Utilization-just capacity in description"
id="3ca0d03f-f8b6-431b-b293-43c0b391f92c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Utilization-just capacity in description" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1049,49 +4433,38 @@
and
(every $eventType in //nmwg:message/nmwg:metadata/nmwg:eventType satisfies
$eventType="http://ggf.org/ns/nmwg/characteristic/utilization/2.0")
and
-(count(//nmwg:message/nmwg:data) =
count(//nmwg:message/nmwg:metadata))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="f729feb5-993f-489a-9fb0-4dba90f022ec"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
+(count(//nmwg:message/nmwg:data) =
count(//nmwg:message/nmwg:metadata))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="f729feb5-993f-489a-9fb0-4dba90f022ec"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MetadataKeyResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="SQL-groovy"
id="a9327058-df5f-4814-b282-fbe6519dc32d"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-import groovy.sql.Sql
+// Get NMWG message and RNC grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+//def rncLocation = "MeasurementArchiveStoreResponse.rng"
+def rncLocation = context.expand('${projectDir}')+"/MetadataKeyResponse.rnc"
-def sql =
Sql.newInstance("jdbc:mysql://perfsonar.CARNet.hr:3306/perfsonar_ma",
"perfsonar_ma", "l0291nk1", "com.mysql.jdbc.Driver")
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="SQL-groovy"
id="a9327058-df5f-4814-b282-fbe6519dc32d"><con:configuration><scriptText>import
groovy.sql.Sql
+
+// Register the JDBC driver
+com.eviware.soapui.support.GroovyUtils.registerJdbcDriver(
"com.mysql.jdbc.Driver" )
+
+// Connect to the DB
+def sql = Sql.newInstance("jdbc:mysql://localhost/perfsonar_ma",
"perfsonar_ma", "testpass", "com.mysql.jdbc.Driver")
def resultList=[]
-sql.eachRow("select metadataId,value,valueUnits,timeValue from
perfsonar_utilization"){
-def result=[:]
-result=[metadataId:it.metadataId,value:it.value,valueUnits:it.valueUnits]
-resultList.add(result)
+sql.eachRow("select metadataId,value,valueUnits,timeValue from
perfsonar_utilization") {
+ def result=[:]
+ result=[metadataId:it.metadataId, value:it.value,
valueUnits:it.valueUnits]
+ resultList.add(result)
}
-resultList.each{
- println "\n We have a match" + "\n"+ it.metadataId +" "+it.value+"
"+it.valueUnits
-
}</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Errors"
id="7bf0c0b8-2ce7-477a-9e45-18f5fa0ab99e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata with Key-Errors" 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://localho
st:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+success = false
+resultList.each {
+ println "\n We have a match" + "\n"+ it.metadataId +" "+it.value+"
"+it.valueUnits
+ success = true
+}
+assert(success)</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Errors"
id="7bf0c0b8-2ce7-477a-9e45-18f5fa0ab99e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata with Key-Errors" 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>h
ttp://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1206,7 +4579,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors 1 data element"
id="52942ce0-ca07-4630-8bfb-c53802f542ec"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors 1 data element" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:E
nvelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors 1 data element"
id="52942ce0-ca07-4630-8bfb-c53802f542ec"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors 1 data element" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envel
ope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1279,7 +4652,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Utilization 2 Data elements"
id="1517a87c-a905-4850-ad21-6098a32427ac"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata with Key-Utilization 2 Data elements" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envel
ope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Utilization 2 Data elements"
id="1517a87c-a905-4850-ad21-6098a32427ac"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata with Key-Utilization 2 Data elements" 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://sqlma-d7:8080/geant2-j
ava-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1385,7 +4758,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors - No resolution"
id="c52b363d-d840-4a72-bb66-4a600013be16"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors - No resolution" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors - No resolution"
id="c52b363d-d840-4a72-bb66-4a600013be16"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors - No resolution" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Env
elope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1481,7 +4854,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Discards with additional information"
id="a3cd5c19-8027-4e7b-8f90-42c5d54b3750"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata with Key-Discards with additional information" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CD
ATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Discards with additional information"
id="a3cd5c19-8027-4e7b-8f90-42c5d54b3750"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata with Key-Discards with additional information" 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://sqlm
a-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1576,7 +4949,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Discards with select parameters in
key-different resolution"
id="9456880e-3030-4585-a426-f3fdd490fdc5"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata with Key-Discards with select parameters in key-different
resolution" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementA
rchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Discards with select parameters in
key-different resolution"
id="9456880e-3030-4585-a426-f3fdd490fdc5"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata with Key-Discards with select parameters in key-different
resolution" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
>xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
>xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1675,7 +5048,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors-Full interface description"
id="2bcb74ab-a499-4500-806a-11cb0fa2f841"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors-Full interface description" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors-Full interface description"
id="2bcb74ab-a499-4500-806a-11cb0fa2f841"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors-Full interface description" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schem
as.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1773,7 +5146,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Discards-just host-name in description"
id="ffd267d6-89eb-4d13-be2c-1def53f382df"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Discards-just host-name in description" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Discards-just host-name in description"
id="ffd267d6-89eb-4d13-be2c-1def53f382df"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Discards-just host-name in description" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="ht
tp://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1865,7 +5238,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors -Both key and select"
id="02fd923e-d2b4-4305-9d8e-832de5ab0232"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors -Both key and select" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors -Both key and select"
id="02fd923e-d2b4-4305-9d8e-832de5ab0232"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors -Both key and select" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.o
rg/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -1978,7 +5351,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors-Discards -Both key and select"
id="a2c0b38f-119f-4af5-b409-6e4095109ed4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors-Discards -Both key and select" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors-Discards -Both key and select"
id="a2c0b38f-119f-4af5-b409-6e4095109ed4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors-Discards -Both key and select" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http:/
/schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -2110,7 +5483,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors different parameter element"
id="07b56431-1d84-4b2e-a233-b11ba2b3fa95"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors different parameter element" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors different parameter element"
id="07b56431-1d84-4b2e-a233-b11ba2b3fa95"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors different parameter element" outgoingWss=""
incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:reque
st><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -2205,42 +5578,127 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Copy of Metadata-Errors"
id="4d648817-5d13-4348-bca4-f6ed8330084a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Copy of Metadata-Errors" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.or
g/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE"
version="200508"/></con:request></con:config></con:testStep><con:testStep
type="request" name="psUI - iperf query"
id="4d648817-5d13-4348-bca4-f6ed8330084a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="psUI - iperf query" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con
:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
- <soapenv:Body>
-<nmwg:message type="MetadataKeyRequest"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
+<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+ <ns2:message xmlns:ns2="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns3="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns5="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:ns6="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
xmlns:ns7="http://ggf.org/ns/nmwg/ops/select/2.0/"
xmlns:ns8="http://ggf.org/ns/nmwg/result/2.0/" id="id"
type="SetupDataRequest">
+ <ns2:metadata id="metadata1">
+ <ns2:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</ns2:eventType>
+ <ns6:subject id="subject1">
+ <ns3:endPointPair>
+ <ns3:src type="ipv4" value="188.1.221.6"/>
+ <ns3:dst type="ipv4" value="188.1.221.2"/>
+ </ns3:endPointPair>
+ </ns6:subject>
+ <ns2:parameters id="param1"/>
+ </ns2:metadata>
+ <ns2:metadata id="metadata1-2">
+ <ns2:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</ns2:eventType>
+ <ns7:subject id="subject1-2" metadataIdRef="metadata1"/>
+ <ns7:parameters id="param1-2">
+ <ns2:parameter name="startTime">1389397380</ns2:parameter>
+ <ns2:parameter name="endTime">1389480180</ns2:parameter>
+ </ns7:parameters>
+ </ns2:metadata>
+ <ns2:data id="data1" metadataIdRef="metadata1-2"/>
+ </ns2:message>
+</soapenv:Body>
- <nmwg:metadata id="m1">
- <errors:subject id="s1">
- <nmwgt:interface>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:direction>in</nmwgt:direction>
- </nmwgt:interface>
- </errors:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/errors/2.0
- </nmwg:eventType>
- </nmwg:metadata>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="1ca89c00-638b-4916-b335-cbf877648748"/><con:assertion type="SOAP Fault
Assertion" id="a1a5160a-0920-461c-bda9-b0be3edb2795"/><con:assertion
type="XPath Match"
id="df1b199b-93d0-4a7e-8d48-f4fd5007cf39"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
- <nmwg:data id="d1" metadataIdRef="m1"/>
+//nmwg:message/@type</path><content>MetadataKeyResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="aec10fa4-e581-4849-8984-d818e77e8fa1"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
- <nmwg:metadata id="m2">
- <select:subject id="s2" metadataIdRef="m1"/>
- <nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
- <select:parameters id="sp1">
- <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
- <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
- <nmwg:parameter name="consolidationFunction">AVERAGE</nmwg:parameter>
- <nmwg:parameter name="resolution">60</nmwg:parameter>
- </select:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="d2" metadataIdRef="m2"/>
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:metadata))
+and
+(//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="startTime"]
eq "1186735200")
+and
+(//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="endTime"]
eq "1186739100")
+and
+(//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
eq "AVERAGE")
+and
+(//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="resolution"]
eq
"60")</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="717b6089-820a-4ba0-ba39-a446824295a0"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
-</nmwg:message>
- </soapenv:Body>
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MetadataKeyResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+validator.validate(new DOMSource(node));
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="SQL-groovy"
id="f4f953f4-51f8-45c7-aab4-f9da459ebfd2"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+import groovy.sql.Sql
+
+def sql =
Sql.newInstance("jdbc:mysql://perfsonar.CARNet.hr:3306/perfsonar_ma",
"perfsonar_ma", "l0291nk1", "com.mysql.jdbc.Driver")
+def resultList=[]
+sql.eachRow("select metadataId,value,valueUnits,timeValue from
perfsonar_errors"){
+def result=[:]
+result=[metadataId:it.metadataId,value:it.value,valueUnits:it.valueUnits]
+resultList.add(result)
+}
+resultList.each{
+ println "\n We have a match" + "\n"+ it.metadataId +" "+it.value+"
"+it.valueUnits
+
}</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Copy of psUI - iperf query"
id="4030a0f6-fca8-4ddf-87ab-98d11e787df7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Copy of psUI - iperf query" 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://loc
alhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+ <soapenv:Header/>
+<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
+ <ns2:message xmlns:ns2="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns3="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns5="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:ns6="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
xmlns:ns7="http://ggf.org/ns/nmwg/ops/select/2.0/"
xmlns:ns8="http://ggf.org/ns/nmwg/result/2.0/" id="id"
type="MetadataKeyRequest">
+
+<nmwg:metadata xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
id="localhost.-78735a1:1437d8f3d07:-7e82">
+ <ns6:subject xmlns:ns6="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
id="iperf-subject" metadataIdRef="bwctl-metadata">
+ <ns3:endPointPair xmlns:ns3="http://ggf.org/ns/nmwg/topology/2.0/">
+ <ns3:src type="ipv4" value="188.1.221.6"/>
+ <ns3:dst type="ipv4" value="188.1.221.2"/>
+ </ns3:endPointPair>
+ </ns6:subject>
+ <ns6:parameters xmlns:ns6="http://ggf.org/ns/nmwg/tools/iperf/2.0/"
id="iperf-parameters">
+ <ns2:parameter xmlns:ns2="http://ggf.org/ns/nmwg/base/2.0/"
name="protocol" value="TCP"/>
+ <ns2:parameter xmlns:ns2="http://ggf.org/ns/nmwg/base/2.0/"
name="interval" value="6"/>
+ </ns6:parameters>
+ <ns2:eventType
xmlns:ns2="http://ggf.org/ns/nmwg/base/2.0/">http://ggf.org/ns/nmwg/tools/iperf/2.0</ns2:eventType>
+</nmwg:metadata>
+<nmwg:data xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
id="localhost.-78735a1:1437d8f3d07:-7e81"
metadataIdRef="localhost.-78735a1:1437d8f3d07:-7e82">
+ <nmwg:key id="localhost.-78735a1:1437d8f3d07:-7e80">
+ <nmwg:parameters id="localhost.-78735a1:1437d8f3d07:-7e7f">
+ <ns2:parameter xmlns:ns2="http://ggf.org/ns/nmwg/base/2.0/"
name="protocol" value="TCP"/>
+ <ns2:parameter xmlns:ns2="http://ggf.org/ns/nmwg/base/2.0/"
name="interval" value="6"/>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/tools/iperf/2.0"/>
+ <nmwg:parameter name="metadataId"
value="localhost.-78735a1:1437d8f3d07:-7e82"/>
+ </nmwg:parameters>
+ </nmwg:key>
+</nmwg:data>
+
+ </ns2:message>
+</soapenv:Body>
+
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="1ca89c00-638b-4916-b335-cbf877648748"/><con:assertion type="SOAP Fault
Assertion" id="a1a5160a-0920-461c-bda9-b0be3edb2795"/><con:assertion
type="XPath Match"
id="df1b199b-93d0-4a7e-8d48-f4fd5007cf39"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
@@ -2304,7 +5762,7 @@
}
resultList.each{
println "\n We have a match" + "\n"+ it.metadataId +" "+it.value+"
"+it.valueUnits
-
}</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests" searchProperties="true"
id="9533ade3-3cd3-4058-8d28-ea4bb98663c0"
maxResults="0"><con:settings/><con:testStep type="request" name="Metadata
-Utilization Not type in message"
id="bdcde19a-e6b1-468d-a194-0a17de881ca2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="M
etadata -Utilization Not type in message" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+
}</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests" searchProperties="true"
id="9533ade3-3cd3-4058-8d28-ea4bb98663c0"
maxResults="0"><con:settings/><con:testStep type="request" name="Metadata
-Utilization Not type in message"
id="bdcde19a-e6b1-468d-a194-0a17de881ca2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="M
etadata -Utilization Not type in message" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -2358,7 +5816,7 @@
def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/ErrorResponse.rng"));
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors emtpy type in message"
id="2cfa2ad3-e992-4069-83c7-c83472e9dbc9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Errors emtpy type in message" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:reque
st><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors emtpy type in message"
id="2cfa2ad3-e992-4069-83c7-c83472e9dbc9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Errors emtpy type in message" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><
![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -2412,7 +5870,7 @@
def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/ErrorResponse.rng"));
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Discards wrong type in message"
id="70381cdf-f9b2-4260-9adc-0dba4a1d3862"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Discards wrong type in message" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:r
equest><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Discards wrong type in message"
id="70381cdf-f9b2-4260-9adc-0dba4a1d3862"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Discards wrong type in message" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:reque
st><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -2466,7 +5924,7 @@
def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/ErrorResponse.rng"));
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Discards no metadata element"
id="8a9f3580-7389-4113-b170-3aad78bf7505"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Discards no metadata element" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:reque
st><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Discards no metadata element"
id="8a9f3580-7389-4113-b170-3aad78bf7505"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Discards no metadata element" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><
![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -2510,7 +5968,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors no data element"
id="b49d9bf4-28fe-41a5-bf53-ff7a2f6605a7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Errors no data element" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://
schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors no data element"
id="b49d9bf4-28fe-41a5-bf53-ff7a2f6605a7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Errors no data element" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://sche
mas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -2565,7 +6023,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Utilization no metadata-data elements"
id="dd638743-5a28-4db9-b5ff-c48c5ee05553"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Utilization no metadata-data elements" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:E
nvelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Utilization no metadata-data elements"
id="dd638743-5a28-4db9-b5ff-c48c5ee05553"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Utilization no metadata-data elements" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envel
ope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -2607,7 +6065,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in metadata"
id="94735a3b-d7f5-4a06-9f2d-dc0943830091"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors no id in metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="h
ttp://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in metadata"
id="94735a3b-d7f5-4a06-9f2d-dc0943830091"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors no id in metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -2684,7 +6142,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in metadata"
id="94674e61-4b66-418e-be8c-ffa8f5e979d2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Discards empty id in metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmln
s:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in metadata"
id="94674e61-4b66-418e-be8c-ffa8f5e979d2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Discards empty id in metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:so
apenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -2752,7 +6210,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid id in metadata"
id="1ac31c7d-dfbb-4da7-b93e-c3e63487e237"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization invalid id in metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Env
elope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid id in metadata"
id="1ac31c7d-dfbb-4da7-b93e-c3e63487e237"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization invalid id in metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelop
e xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -2820,7 +6278,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in second metadata"
id="ea68c453-1361-4b53-9ecb-35a9934bb329"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors no id in second metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xm
lns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in second metadata"
id="ea68c453-1361-4b53-9ecb-35a9934bb329"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors no id in second metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -2888,7 +6346,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in second metadata"
id="82b5b88d-e44a-410e-bb31-e7fd95bb3e57"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Discards empty id in second metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in second metadata"
id="82b5b88d-e44a-410e-bb31-e7fd95bb3e57"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Discards empty id in second metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Env
elope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -2956,7 +6414,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid id in second metadata"
id="bde6aa30-9959-4077-8e68-6358d94bac41"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization invalid id in second metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDAT
A[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid id in second metadata"
id="bde6aa30-9959-4077-8e68-6358d94bac41"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization invalid id in second metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<s
oapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3024,7 +6482,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no event type in metadata"
id="7eb9f666-75df-437b-953d-3ff7e14cb7e5"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors no event type in metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelop
e xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no event type in metadata"
id="7eb9f666-75df-437b-953d-3ff7e14cb7e5"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors no event type in metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xm
lns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3090,7 +6548,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization empty event Type element in
metadata"
id="7937ec8b-0003-410f-a181-1b7b4a9aae38"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization empty event Type element in metadata"
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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:r
equest><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization empty event Type element in
metadata"
id="7937ec8b-0003-410f-a181-1b7b4a9aae38"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization empty event Type element in metadata"
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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:reque
st><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3157,7 +6615,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards not valid event type in metadata"
id="03198420-d551-4258-82f0-eac8c6386f43"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Discards not valid event type in metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards not valid event type in metadata"
id="03198420-d551-4258-82f0-eac8c6386f43"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Discards not valid event type in metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soa
penv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3225,7 +6683,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards event type not equal to subject
namespace in metadata"
id="e9782116-7e0e-4b86-9e42-7c51a9643215"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Discards event type not equal to subject namespace in
metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveSe
rvice</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards event type not equal to subject
namespace in metadata"
id="e9782116-7e0e-4b86-9e42-7c51a9643215"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Discards event type not equal to subject namespace in
metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveServic
e</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3293,7 +6751,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors subject namespace not valid in
metadata"
id="fd7533f7-64aa-435e-ad0f-f4cfd1659f10"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors subject namespace not valid in metadata"
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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
>xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
>xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors subject namespace not valid in
metadata"
id="fd7533f7-64aa-435e-ad0f-f4cfd1659f10"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors subject namespace not valid in metadata"
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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3361,7 +6819,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject namespace not valid
along with event type in metadata"
id="9a682a64-8e61-478b-835d-4c288014d866"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization subject namespace not valid along with event
type in metadata" 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://localhost:8080/perfsonar-java-sql-ma/service
s/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject namespace not valid
along with event type in metadata"
id="9a682a64-8e61-478b-835d-4c288014d866"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization subject namespace not valid along with event
type in metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/Me
asurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3429,7 +6887,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors empty subject element metadata"
id="cd3bff50-5749-47fd-974c-99a40361cc9a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors empty subject element metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors empty subject element metadata"
id="cd3bff50-5749-47fd-974c-99a40361cc9a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors empty subject element metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Env
elope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3492,7 +6950,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors invalid ifAddess ip attribute in
metadata"
id="e16ea4f1-4793-4b20-a538-5290f0f508cc"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors invalid ifAddess ip attribute in metadata"
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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:req
uest><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors invalid ifAddess ip attribute in
metadata"
id="e16ea4f1-4793-4b20-a538-5290f0f508cc"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors invalid ifAddess ip attribute in metadata"
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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
>xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
>xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3560,7 +7018,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject element missing in
filter metadata"
id="c08a7b66-a0a7-4c79-8995-ec0acfc5ff98"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization subject element missing in filter metadata"
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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:end
point><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject element missing in
filter metadata"
id="c08a7b66-a0a7-4c79-8995-ec0acfc5ff98"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Utilization subject element missing in filter metadata"
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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoin
t><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3628,7 +7086,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no metadata id ref attribute in
subject in filter metadata"
id="dbae1cc9-86d2-49a8-860f-81774949a489"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors no metadata id ref attribute in subject in filter
metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArc
hiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no metadata id ref attribute in
subject in filter metadata"
id="dbae1cc9-86d2-49a8-860f-81774949a489"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors no metadata id ref attribute in subject in filter
metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchive
Service</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3696,7 +7154,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors empty metadata id ref attribute in
subject in filter metadata"
id="18b48592-0673-4d97-9749-5bb62fd80770"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors empty metadata id ref attribute in subject in filter
metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/Measurem
entArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors empty metadata id ref attribute in
subject in filter metadata"
id="18b48592-0673-4d97-9749-5bb62fd80770"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors empty metadata id ref attribute in subject in filter
metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementA
rchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3764,7 +7222,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors invalid metadata id ref attribute in
subject in filter metadata"
id="ab8432a3-27e5-48d8-af71-6c513acf0168"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors invalid metadata id ref attribute in subject in
filter metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/Meas
urementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors invalid metadata id ref attribute in
subject in filter metadata"
id="ab8432a3-27e5-48d8-af71-6c513acf0168"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors invalid metadata id ref attribute in subject in
filter metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/Measurem
entArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -3832,7 +7290,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter namespace other than nmwg
in filter metadata"
id="82c57543-0757-423f-b25a-0dc0d231579e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors parameter namespace other than nmwg in filter
metadata" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveServ
ice</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter namespace other than nmwg
in filter metadata"
id="82c57543-0757-423f-b25a-0dc0d231579e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors parameter namespace other than nmwg in filter
metadata" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService<
/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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -3889,7 +7347,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors no metadataIdRef in data"
id="bad691c5-d9df-4181-be0a-db4cd2ef8c7f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors no metadataIdRef in data" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors no metadataIdRef in data"
id="bad691c5-d9df-4181-be0a-db4cd2ef8c7f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors no metadataIdRef in data" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soap
env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -3946,7 +7404,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors empty metadataIdRef in data"
id="b11b6983-9493-461e-9112-66ad6b192e51"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors empty metadataIdRef in data" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors empty metadataIdRef in data"
id="b11b6983-9493-461e-9112-66ad6b192e51"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors empty metadataIdRef in data" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmln
s:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -4003,7 +7461,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors non valid metadataIdRef in data"
id="493dde52-8bc3-460f-93ad-214545ea84bd"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors non valid metadataIdRef in data" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:E
nvelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors non valid metadataIdRef in data"
id="493dde52-8bc3-460f-93ad-214545ea84bd"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata-Errors non valid metadataIdRef in data" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envel
ope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -4060,7 +7518,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Requests containing invalid data" searchProperties="true"
id="ec4202d3-e40d-451b-b320-20cf5802287d"
maxResults="0"><con:settings/><con:testStep type="request" name="Metadata -
Errors wrong hostname"
id="0b48aadc-3ace-40ea-863c-792f10563b6b"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong hostname" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Requests containing invalid data" searchProperties="true"
id="ec4202d3-e40d-451b-b320-20cf5802287d"
maxResults="0"><con:settings/><con:testStep type="request" name="Metadata -
Errors wrong hostname"
id="0b48aadc-3ace-40ea-863c-792f10563b6b"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong hostname" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -4119,7 +7577,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong ifName"
id="aebaf3df-1990-4cd9-9e94-a40e0025623d"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong ifName" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://sche
mas.xmlsoap.org/soap/envelope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong ifName"
id="aebaf3df-1990-4cd9-9e94-a40e0025623d"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong ifName" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -4178,7 +7636,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong ifAdress"
id="aedfe09d-da8e-4437-ae74-9f78e28b115c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong ifAdress" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong ifAdress"
id="aedfe09d-da8e-4437-ae74-9f78e28b115c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong ifAdress" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://sche
mas.xmlsoap.org/soap/envelope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -4237,7 +7695,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong ifIndex"
id="c89963e5-a0d7-44e8-bbf6-7c2f9c0f19e9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong ifIndex" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://sc
hemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong ifIndex"
id="c89963e5-a0d7-44e8-bbf6-7c2f9c0f19e9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong ifIndex" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schema
s.xmlsoap.org/soap/envelope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -4296,7 +7754,7 @@
def validator = schema.newValidator();
def node = holder.getDomNode("//nmwg:message")
validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong direction"
id="ea177dd0-1c2c-47f4-af26-e35e173ea956"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong direction" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong direction"
id="ea177dd0-1c2c-47f4-af26-e35e173ea956"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata - Errors wrong direction" 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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://sc
hemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest" id="datarq2-1"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
@@ -6981,9 +10439,171 @@
(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration"
and
-(//nmwg:message//nmwg:data/nmwgr:datum/text()="MetadataConfigurationStorageManager.fetch:
No metadata in the metadata
configuration")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:loadTest
name="LoadTest 1"
id="11eca714-6d27-47e8-ad37-338d40348033"><con:settings/><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionEr
rors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="LookupInfo"
id="61eb8d38-d1da-4131-8c0f-59455db2e45f"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests" searchProperties="true"
id="149a92a0-b8b5-4a18-a65f-26412981f4c3"
maxResults="0"><con:settings/><con:testStep type="request" name="LookupInfo -
Sample request (full)" disabled="true"
id="ff224167-991f-46c8-9208-3083fb46b6b5"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupInfoRequest</con:interface><con:operation>LookupInfo</con:operation><con:request
name="LookupInfo - Sample request (full)"
wssPasswordType=""><con:settings><con:setting id="com.eviware.soapui.im
pl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</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/">
+(//nmwg:message//nmwg:data/nmwgr:datum/text()="MetadataConfigurationStorageManager.fetch:
No metadata in the metadata
configuration")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:loadTest
name="LoadTest 1"
id="11eca714-6d27-47e8-ad37-338d40348033"><con:settings><con:setting
id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type
="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Metadata Queries"
id="44d0d813-50b7-4866-9354-2c04b09282da"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="MetadataKeyRequest" searchProperties="true"
id="79ee2895-0f3a-4a96-9603-562d319349fe"><con:settings/><con:testStep
type="request" name="Generic MetadataKeyRequest"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Generic MetadataKeyRequest" outgoingWss=""
incomingWss=""><con:settings><con:setting id="com.eviware.s
oapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soapenv:Header/>
<soapenv:Body>
+<nmwg:message type="MetadataKeyRequest" id="mdrq1"
+ xmlns:ns1="${#TestCase#eventType}/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <ns1:subject id="subject1">
+ ${#TestCase#subjectBody}
+ </ns1:subject>
+ <nmwg:eventType>
+ ${#TestCase#eventType}
+ </nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">${#TestCase#keyword}</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1"/>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="${#TestCase#eventType}"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and (@value="${#TestCase#eventType}" or
.="${#TestCase#eventType}")])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><![CDATA[<nmwgt:interface>
<nmwgt:ifAddress
type="ipv4">10.1.2.3</nmwgt:ifAddress><nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
]]></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name><con:value/></con:property></con:properties></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct requests" searchProperties="true"
id="b942468a-b579-4ca0-af65-75538bd505fd"><con:description>MetadataKeyRequest
tests are parametrized so a generic call can be made.
+
+However, there is an exception with L2 Path Status which doesn't use an OGF
standardised event type and for which the data section in the response is a
bit different.</con:description><con:settings/><con:testStep
type="calltestcase" name="Metadata - utilization"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><![CDATA[<nmwgt:interface>
<nmwgt:ifAddress
type="ipv4">10.1.2.3</nmwgt:ifAddress><nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
]]></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:proper
ties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Metadata - errors"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/characteristic/errors/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><![CDATA[<nmwgt:interface>
<nmwgt:ifAddress
type="ipv4">10.1.2.3</nmwgt:ifAddress><nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
]]></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="callt
estcase" name="Metadata - discards"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/characteristic/discards/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><![CDATA[<nmwgt:interface>
<nmwgt:ifAddress
type="ipv4">10.1.2.3</nmwgt:ifAddress><nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
]]></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Metadata - iperf"><con:settings/><con:config
xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.
w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/tools/iperf/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><nmwgt:endPointPair>
<nmwgt:src type="ipv4" value="198.32.8.170" port="5433"/>
<nmwgt:dst type="ipv4" value="198.32.8.174" port="5433"/>
</nmwgt:endPointPair></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Metadata - ping"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d3
19349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/tools/ping/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><nmwgt:endPointPair>
<nmwgt:src type="ipv4" value="222.22.22.22"/>
<nmwgt:dst type="ipv4" value="111.11.11.11"/>
</nmwgt:endPointPair></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Metadata - owamp"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http:/
/ggf.org/ns/nmwg/tools/owamp/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><nmwgt:endPointPair>
<nmwgt:src type="ipv4" value="222.22.22.22"/>
<nmwgt:dst type="ipv4" value="111.11.11.11"/>
</nmwgt:endPointPair></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="MetadataKeyRequest -
utilization"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="MetadataKeyRequest - utilization" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-hea
ders"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MetadataKeyRequest" id="mdrq1"
+
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+ <nmwg:eventType>
+ http://ggf.org/ns/nmwg/characteristic/utilization/2.0
+ </nmwg:eventType>
+ <nmwg:parameters id="params1">
+ <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
+ <nmwg:parameter>
+ <!-- This is an example, not needed! -->
+ <nmwg:key id="localhost.-5248e69b:1431f3dc3c0:-7f9e"></nmwg:key>
+ </nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta1"/>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
@value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="MetadataKeyRequest - L2
status"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation
>Metadata</con:operation><con:request name="MetadataKeyRequest - L2 status"
>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://sqlma-d7:8080/geant2-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <soapenv:Header/>
+ <soapenv:Body>
+
+<nmwg:message type="MetadataKeyRequest"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
+ xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <nmwg:subject id="subject1">
+ <nmtl2:link>
+ <nmtl2:globalName
type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
+ </nmtl2:link>
+ </nmwg:subject>
+ <nmwg:eventType>Path.Status</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="time">now</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+
+ </nmwg:message>
+
+ </soapenv:Body>
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
+def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
+holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
+holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
+
+// Get NMWG message and RNG grammar for validation
+def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
+def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
+
+assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata eventType
(1)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
+declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="Path.Status"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data eventType
(1)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
@value="Path.Status"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed requests"
searchProperties="true"><con:settings/><con:properties/></con:testCase><con:testCase
failOnError="true" failTestCaseOnError
s="true" keepSession="false" maxResults="0" name="Invalid data"
searchProperties="true"><con:settings/><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="LookupInfo"
id="61eb8d38-d1da-4131-8c0f-59455db2e45f"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests" searchProperties="true"
id="149a92a0-b8b5-4a18-a65f-26412981f4c3"
maxResults="0"><con:settings/><con:testStep type="request" name="LookupInfo -
Sample request (full)" disabled="true"
id="ff224167-991f-46c8-9208-3083fb46b6b5"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupInfoRequest</con:interface><con:operation>LookupInfo</con:operation><con:request
name="LookupInfo - Sample request (full)"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@reques
t-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</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 type="LookupInfoRequest" id="id1" messageIdRef="msgid1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/lookupinfo/2.0</nmwg:eventType>
@@ -7467,7 +11087,7 @@
//t.transform(new DOMSource(node), new StreamResult(sw));
//String yourAnswer = sw.toString();
//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:loadTest
name="LoadTest 1"
id="e67b13f6-83a5-4027-83b4-ba74c8926c1c"><con:settings/><con:threadCount>3</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>COUNT</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:cancelExcessiveThrea
ds><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests" searchProperties="true"
id="e20c04d9-d34c-4fde-bbdb-a2cfff424b9e"
maxResults="0"><con:settings/><con:testStep type="request" name="LookupInfo -
No type parameter in message"
id="7078c500-17e2-49f8-bb73-2ad03c162305"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupInfoRequest</con:interface><con:operation>LookupInfo</con:operation><con:request
name="LookupInfo - No type parameter in message"
wssPasswordType=""><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://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:re
quest><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:loadTest
name="LoadTest 1"
id="e67b13f6-83a5-4027-83b4-ba74c8926c1c"><con:settings><con:setting
id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>3</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>COUNT</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>1000</testDelay><randomFactor>0.5</randomFactor></con:config></con:loadStrategy><con:assertion
type="Step Status" name="Step Status"/><con:maxAssertionErrors>100<
/con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests" searchProperties="true"
id="e20c04d9-d34c-4fde-bbdb-a2cfff424b9e"
maxResults="0"><con:settings/><con:testStep type="request" name="LookupInfo -
No type parameter in message"
id="7078c500-17e2-49f8-bb73-2ad03c162305"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupInfoRequest</con:interface><con:operation>LookupInfo</con:operation><con:request
name="LookupInfo - No type parameter in message"
wssPasswordType=""><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://perfsonar.carnet
.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</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="id1" messageIdRef="msgid1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
@@ -7912,3354 +11532,4 @@
declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-count(//psservice:service)
=0</path><content>false</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Store test suite"
id="b4e0cb27-f96b-4a04-9943-e868b82f1ce6"><con:description>Storage requests
testing
messages.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests" searchProperties="true"
id="da9e32bc-e0b3-41a5-b564-8660b556cb38"
maxResults="0"><con:settings/><con:testStep type="request" name="Store -
Utilization without key"
id="6f5cce07-2b13-42c4-aea7-20120f34c6c9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementAr
chiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key" 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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="78b6e5ec-ab65-49a6-8764-ccacc995fea4"/><con:assertion type="SOAP Fault
Assertion" id="4d4ae4fd-db83-4595-b8fa-1c953ba5e133"/><con:assertion
type="XPath Match"
id="0521b84b-dbc9-4c30-9e42-07a0ec1a02af"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="414e084a-ab93-414c-a585-485a2e035b39"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="f025ac99-5990-495e-b501-16bb414432b0"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" id="a4e28468-d553-4b47-a8b2-f77a396cf905"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNC grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-//def rncLocation = "MeasurementArchiveStoreResponse.rng"
-def rncLocation =
context.expand('${projectDir}')+"/MeasurementArchiveStoreResponse.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="Schema
Compliance" id="ba98a8ec-eec3-4887-a076-f129eef7761d"
disabled="true"><con:configuration><definition>file:MeasurementArchiveStoreResponse.wsdl</definition></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="SQL-groovy"
id="f1241358-d403-4388-aa25-dec7f2cdf980"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-import groovy.sql.Sql
-
-def sql =
Sql.newInstance("jdbc:mysql://perfsonar.CARNet.hr:3306/perfsonar_ma",
"perfsonar_ma", "l0291nk1", "com.mysql.jdbc.Driver")
-
-ids='meta1'
-values='12345'
-valueUnitss='Bps'
-timeValues='1139270800'
-
-sql.execute("insert into perfsonar_utilization (metadataId, value,
valueUnits, timeValue) "+
- " values (?,?,?,?)", [ids,values,valueUnitss,timeValues])
-
-def knownResultsMap=[metadataId:ids,value:values,valueUnits:valueUnitss]
-def resultList=[]
-
-sql.eachRow("select metadataId,value,valueUnits from perfsonar_utilization
where timeValue=FROM_UNIXTIME(1139270800) "){
-def result=[:]
-result=[metadataId:it.id,value:it.value,valueUnits:it.valueUnits]
-resultList.add(result)
-}
-
-resultList.each{
-if((it.id==knownResultsMap.metadataId)&&(it.value==knownResultsMap.value)&&(it.valueUnits==knownResultsMap.valueUnits))
- println "\n We have a match" + "\n"+ it.id +" "+it.value+" "+it.valueUnits
- }
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no message id"
id="b7f64471-ec1d-4c65-ba4b-6b8a3990896f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no message id" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:enc
oding>UTF-8</con:encoding><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="05c8b370-d39c-4970-8e57-6ae3922db1a6"/><con:assertion type="Schema
Compliance" disabled="true"
id="3b8f7fd0-8283-4cde-916a-f678601f12d3"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="7b35f957-87b6-4b59-8c2f-b288399dd58f"/><con:assertion type="XPath Match"
id="77216f60-2727-4eeb-9dd2-38cfb73b5928"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7d44d905-902a-41df-a330-d3a7b19e4612"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="bb3cbbf6-67af-492b-8f98-c07fc7d8eb52"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="c794fc1c-9077-4b0a-92c2-68e3cd8169df"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="013e12f5-0b3d-47b0-9bdf-769c56b17fb7"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, with messageidref"
id="b8c6ba64-ec12-48f3-8b9f-eba51c4a7a55"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, with messageidref" 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:enco
ding><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg" metaidRef="meta1"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="a6812510-b2d6-4090-a880-eaada8c7ec78"/><con:assertion type="Schema
Compliance" disabled="true"
id="cb73749d-2b43-407b-9c14-a6cdb7b7f22d"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="ea7801a4-ddd3-434f-9b44-911d9a0b5ec2"/><con:assertion type="XPath Match"
id="a779b222-31e6-45e6-a9df-bec79f633cf8"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="32ab2d2a-9975-4ec5-b380-33cfa31f85ea"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="607437aa-3cd2-4122-a281-ef887e8c93eb"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="eeb10dbd-29b8-4b77-a30d-4f02ff5f3ef5"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="f5c07301-fe92-43c7-877e-f0e86963449a"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no id in subject"
id="b3f8f71c-2b12-4fc7-9db6-179caff2b92d"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no id in subject" 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:encodi
ng><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject>
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="42b02d41-b852-4706-9ce5-306c053a1789"/><con:assertion type="Schema
Compliance" disabled="true"
id="8a816ec0-64e4-4100-869a-73cc4c21b1e1"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="b11a0dd8-c1d2-44c5-915a-6ce318c5a4dc"/><con:assertion type="XPath Match"
id="8b4c77a8-443b-433d-9162-03d4987fec96"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="8a2e888c-370b-4a45-8533-147c95fa08aa"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="9d00d8a8-dcc4-44e0-9c3a-03fbe903d235"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="f730faff-6e41-42a1-a333-474a6ffe9969"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="ef9fd079-76f3-4de5-a0e2-6209eecd077e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key , metadataIdref(same)
in subject"
id="5c8364f5-dbd2-4439-a166-a3f4ff650740"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key , metadataIdref(same) in subject"
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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1" metaidRef="meta1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="29fecf87-f720-4c73-b43e-6903b6dded00"/><con:assertion type="Schema
Compliance" disabled="true"
id="360cb4dc-aecb-4633-afc5-7f60f7b0f9c0"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="3672e5d2-afea-4088-859c-3582556ebb11"/><con:assertion type="XPath Match"
id="2df5e350-47e1-4819-b298-17ffd776e407"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="bbd9332b-4531-45b5-bd68-59251167173e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="307150ab-30f1-401d-882d-a488aaea1f6c"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="29943dca-f228-4bba-9972-64b1c1aa90e1"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="fcc4e32c-3193-4175-a544-a6e5e6beb8a4"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key ,
metadataIdref(duplicate) in subject"
id="5e9f48a9-c0d4-436c-9ab7-85703240d9d7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key , metadataIdref(duplicate) in subject"
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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1" metaIdRef="meta2">
- <netutil:subject id="subj1" metaIdRef="meta2">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="4fbc73ea-7e12-448e-b571-c6b21f15e557"/><con:assertion type="Schema
Compliance" disabled="true"
id="5aee4e38-3602-4ee3-9076-f585a30bdf3c"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="af661351-f504-4738-9155-d0eb3f8736e4"/><con:assertion type="XPath Match"
id="1879fe0b-b190-4dec-83b8-536ea98fdc31"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="85d29b6a-1f1a-42c8-bd7a-320951c61521"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="4f685f6a-f403-491f-8120-0a8abac50355"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="e2cbf103-478b-467d-9cd6-5d6d89c9152e"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="794c3689-b33b-45f8-a310-598bc92feb9f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, empty interface
element" id="257aafcf-ea38-4029-816e-ca5675f82ae4"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, empty interface element"
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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
-
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="198c7b7e-2863-4392-9905-d9e619d17eca"/><con:assertion type="Schema
Compliance" disabled="true"
id="e01219bc-7cfc-4cc9-847f-3db81c71e42d"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="2e4f8b13-14a7-4a3a-aac1-018d1355608a"/><con:assertion type="XPath Match"
id="86ddc72d-d53b-41ec-bd4b-b9bfa59092ed"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="814f4237-d32e-4ffe-a5b6-baa698ff99ae"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="b539bb1d-b9e1-4629-b7c6-1daefe2224be"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="691805da-8e40-4907-8713-f736500636e1"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="ff0ca65d-a5d3-4321-a496-b856facdc1d6"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)!=0</path><content>false</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key, no key id"
id="fcb396fc-8f00-4a9f-a011-a2430a67551a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key, no key id" 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:endpo
int>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <nmwg:key id="">
- <nmwg:parameters>
- <nmwg:parameter name="eventType"
- value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
- <nmwg:parameter name="ibatisConfig">
- ibatis-SqlMapConfig-utilization.xml
- </nmwg:parameter>
- <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="222111"
- timeValue="1170154688"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5c5479b7-b965-4000-8c83-cbe43a0f1939"/><con:assertion type="Schema
Compliance" disabled="true"
id="99c83c76-4fd8-4fb4-92bc-07c9a32c768e"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="b4199166-43a6-4b34-bb07-8207b229de97"/><con:assertion type="XPath Match"
id="85654981-1bc2-4e8e-9eef-c0dbd307a825"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="ebf3aaa3-18ea-46a5-9688-7437136ef395"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="04808ee6-0a4b-46a7-9978-a6d8f844b64d"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="976d9841-19e4-4510-8891-8c7a720d1d1b"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="88b1affa-61ad-4e67-beed-18d0abf3270a"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no data Id"
id="c1bdd6dc-2ec0-42ad-bc6b-67f532045776"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no data Id" 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:endp
oint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="842acf3c-85db-4748-b00a-06e248d2a0e7"/><con:assertion type="Schema
Compliance" disabled="true"
id="82a76e9d-9870-4842-b529-5c7c509975cf"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="9f2840d0-3dd7-4ee0-9c17-6467e4d75124"/><con:assertion type="XPath Match"
id="b1efe224-ba56-499e-8d83-1adf6a9f5587"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="8dde2875-a623-464b-98fa-bdc86d510fd8"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="dc791798-1d1e-4b47-bcf3-524236a5f1a9"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="5f985952-4cb6-4d5d-a7a5-81aee5edf935"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="ba2d65a2-46cc-44af-8761-1d2e76ab57cc"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key"
id="5d24c4c7-3137-45c6-aac9-e543f5bcc925"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key" 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://sqlma-old:8080/gea
nt2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="eventType"
- value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
- <nmwg:parameter name="ibatisConfig">
- ibatis-SqlMapConfig-utilization.xml
- </nmwg:parameter>
- <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="222111"
- timeValue="1170154688"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="1fbd7ad9-bfeb-4bed-95e0-247304a32edc"/><con:assertion type="SOAP Fault
Assertion" id="4045d4ee-219a-4f15-b142-7d95aa2fe4d6"/><con:assertion
type="XPath Match"
id="3a9ccb3a-16f7-4f96-9ab9-2b81191240a5"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="17fc20c0-8c66-41c8-ad4d-24f5f3bdd268"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="2eec42c0-4658-4349-8bcd-fdc7142b1598"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="a9b2a23e-ca4c-48e4-b509-09f44d1721c0"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="210f6700-c784-45a4-9256-3ad708cbc3d9"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="SQL-groovy"
id="3fad786b-be02-4bf1-8970-542910de07ca"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-import groovy.sql.Sql
-
-def sql =
Sql.newInstance("jdbc:mysql://perfsonar.CARNet.hr:3306/perfsonar_ma",
"perfsonar_ma", "l0291nk1", "com.mysql.jdbc.Driver")
-
-ids='meta1'
-values='222111'
-valueUnitss='Bps'
-timeValues='1170154688'
-
-sql.execute("insert into perfsonar_utilization (metadataId, value,
valueUnits, timeValue) "+
- " values (?,?,?,?)", [ids,values,valueUnitss,timeValues])
-
-def knownResultsMap=[metadataId:ids,value:values,valueUnits:valueUnitss]
-def resultList=[]
-
-sql.eachRow("select metadataId,value,valueUnits from perfsonar_utilization
where timeValue=FROM_UNIXTIME(1170154688) "){
-def result=[:]
-result=[metadataId:it.id,value:it.value,valueUnits:it.valueUnits]
-resultList.add(result)
-}
-
-resultList.each{
-if((it.id==knownResultsMap.metadataId)&&(it.value==knownResultsMap.value)&&(it.valueUnits==knownResultsMap.valueUnits))
- println "\n We have a match" + "\n"+ it.id +" "+it.value+" "+it.valueUnits
- }
-</scriptText></con:configuration></con:assertion><con:assertion type="Schema
Compliance" disabled="true"
id="4f48c7c5-112f-427f-9708-e7bb6de3f1e4"><con:configuration/></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key , no timeType in Datum"
id="37e3c08e-7092-4b7a-ae79-3d754ffa2f89"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key , no timeType in Datum" 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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
>xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
-
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="8b7df9ef-5314-4536-84db-b9c466b25901"/><con:assertion type="Schema
Compliance" disabled="true"
id="26abcf4f-4fd3-4e3f-aab6-9f333a4d98ad"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="6cf76d7a-e706-4c2f-968d-119d861708bf"/><con:assertion type="XPath Match"
id="e0d8d65e-ea37-495b-93c1-b6b9a4d8f277"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="237a98ee-3279-48bc-830c-934d575231ff"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="d816bfbf-5f80-4f17-9540-b858642b9e29"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="29074209-96ff-4ac9-bc39-746e5b32256e"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="d4248b9c-aacf-4203-90d3-ec077e2d0f92"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no valueUnits in
Datum" id="08c20568-d251-4ccf-a09b-63c5e89bd8ac"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no valueUnits in Datum"
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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="cfcf3fa1-2613-4131-9277-66e2c1b95686"/><con:assertion type="Schema
Compliance" disabled="true"
id="e662d93d-766a-41f3-ab00-b1e09eff33fd"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="c0871482-0559-4955-9e00-5a25f0a5080a"/><con:assertion type="XPath Match"
id="ce9f9f7a-7931-4a86-b872-9b53144005ab"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="6014f180-36e7-47ef-bbfa-a921a1ee9f0b"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="f4316031-d1a6-4950-8955-b4a003ce8fed"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="309910ce-4851-47f4-bc53-a4e7fb615fba"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="cc58e7ce-9f9c-4d90-bf6c-2d6ea1faf450"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="with metadata block describing interface and additional
parameter to create a key"
id="b8e285de-39eb-4aec-a6f8-46d7a75b2c24"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="with metadata block describing interface and additional parameter to
create a key" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragme
nt/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
-<nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">100.11.22.33</nmwgt:ifAddress>
- <nmwgt:ifName>test-2</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>out</nmwgt:direction>
- <nmwgt:authRealm>TestRealm2</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- <nmwg:parameters>
- <nmwg:parameter name="ibatisConfig">
- ibatis-SqlMapConfig-utilization.xml
- </nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="67890"
- timeValue="1170155455"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="bd6370dc-fe2d-434a-8fc0-8736898d813c"/><con:assertion type="Schema
Compliance" disabled="true"
id="391db62b-a92a-4bbe-acb2-b68c194626d3"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="0553a187-5c2e-49b2-bdf8-a2c8880eff56"/><con:assertion type="XPath Match"
id="2a5cfd75-821b-46f5-93fe-ee94c0fd7d45"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7bad669b-fd26-4774-b823-a0e73d16a8cb"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="a14c3e28-a754-4a96-865f-45457c6a8025"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="b96e6087-c398-4f8e-a4b6-faf2a52f7b4f"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7b2542ed-4e76-4227-94e8-4812f01158dc"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key, no data Id"
id="fafe69a0-a800-49b3-90cb-30379c2cecf0"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key, no data Id" 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>h
ttp://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="eventType"
- value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
- <nmwg:parameter name="ibatisConfig">
- ibatis-SqlMapConfig-utilization.xml
- </nmwg:parameter>
- <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:metadata>
-
- <nmwg:data metadataIdRef="meta1">
- <netutil:datum value="222111"
- timeValue="1170154688"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="28895d8f-9187-43d5-b9c6-972d5256c1de"/><con:assertion type="Schema
Compliance" disabled="true"
id="9aa10eec-ef1f-4475-87bb-fb90c5f5f5ee"><con:configuration><definition>file:Z:\JRA
-
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\store2.3_RC4\rrd-ma-store-res.wsdl</definition></con:configuration></con:assertion><con:assertion
type="SOAP Fault Assertion"
id="61f8830a-cf88-4f3a-87bf-564109a278b2"/><con:assertion type="XPath Match"
id="4a5b2c77-cba5-426d-bee2-2f786bf1d518"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="61dd45af-ba3d-4419-b068-3c6325a88381"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="d6ff3799-4011-419e-a973-81f3bb5312dd"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="94cd2786-d5aa-4620-987b-9840117a9830"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder(
-messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MeasurementArchiveStoreResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="b5d636fd-3524-48cf-a068-441c687d5b2e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests" searchProperties="true"
id="de675593-c573-4d51-ad58-a9671747da73"
maxResults="0"><con:settings/><con:testStep type="request" name="Store -
Utilization without key, no message type"
id="1226cd2c-3a31-4a20-9981-2ba837a6c035"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utili
zation without key, no message type" 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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
-
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="62674ccc-34c7-4b73-abb9-345c9bcfb5b5"/><con:assertion type="SOAP Fault
Assertion" id="5869b50a-4a5d-4522-a094-5feb940e4b84"/><con:assertion
type="XPath Match"
id="3d36d77b-3062-4b7e-a033-fb242bb2f529"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(//nmwg:message/@id="resultCodeMessage")
-and
-(every $id in //nmwg:message/@id
-satisfies
(fn:string($id)="resultCodeMessage"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="97ae1ff2-237f-4c6c-b9be-da77ba77789d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="8d5da334-0dab-4232-9db6-454d48d9bf13"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="6669acee-71fd-4293-af41-96ea1d906b01"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">Action []
is not supported by the service or cannot be served - cannot instantiate
Message Handler</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="e6ed5d90-a388-4fb4-8b5e-2be574d92109"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/ErrorResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, wrong message type"
id="80ff2a41-ac77-4430-a6dd-8d0d02a7fbe6"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, wrong message type" 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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArch
iveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="Wrong-message-type"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="1e131ca2-934c-43e9-a7f3-11fd65ea150b"/><con:assertion type="SOAP Fault
Assertion" id="d6a7ce0d-88fa-475c-ae4b-cffffc7fe017"/><con:assertion
type="XPath Match"
id="e6e2e729-cb83-42fb-82a7-26a9e44fb8ae"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(//nmwg:message/@id="resultCodeMessage")
-and
-(every $id in //nmwg:message/@id
-satisfies
(fn:string($id)="resultCodeMessage"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="f13605b7-8acb-4ac7-bcfe-2295941297f4"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="d0739bb0-4fc4-4aac-b6ff-30eccdc19b58"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="63931e22-db6b-402c-9d05-5e83febb149f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">Action
[Wrong-message-type] is not supported by the service or cannot be served -
cannot instantiate Message Handler</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"
id="eb9727a6-c895-4ab7-b313-60308073b630"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/ErrorResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, misspelled id in
metadata"
id="2e3ccff1-88b6-40ec-bc49-7954e5ce7d2c"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, misspelled id in metadata"
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://sqlma-old:8080/geant2-java-sql-ma/services/M
easurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata ids="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="7343129f-0bfe-457a-bbca-29e1e51bca3c"/><con:assertion type="SOAP Fault
Assertion" id="aea3fb76-f577-4404-802b-7cfd72418a4d"/><con:assertion
type="XPath Match"
id="24150670-4a9c-484b-b6dd-60723936c5a1"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="03babfec-c642-4869-be31-75c213276d8a"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="02fe033e-5885-4cfa-983d-a81032471ae6"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="a6c43743-0762-43ed-9448-92bce37c0e58"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, wrong interface
element" id="2c1737ab-9362-43fb-9fe2-c520524f3564"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, wrong interface element"
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://sqlma-old:8080/geant2-java-sql-ma/servi
ces/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwg:wrongElement>boo</nmwg:wrongElement>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="9fcfebbd-8414-4041-bcfd-bca40c7dee37"/><con:assertion type="SOAP Fault
Assertion" id="ff3c1e15-a64c-4aa4-b3d1-952857474c73"/><con:assertion
type="XPath Match"
id="73d2be85-e466-4f23-bf1d-578e00a4f4dd"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="c41d2e9d-f079-4daf-a283-71e35fcb49d3"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="67f0636b-3d30-4f8f-b382-d44453bbdb4f"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="822a2b67-f8f6-4c1b-b584-8932468d1b68"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key no data element"
id="afdb1e8e-d63d-44d7-a705-57d6076004dc"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key no data element" 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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArc
hiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
-
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="8a205a54-fa6f-48a6-a6d5-81bf303bc052"/><con:assertion type="SOAP Fault
Assertion" id="c3a04539-ed1f-480b-bd12-db1fe2f11b12"/><con:assertion
type="XPath Match"
id="b1f02fa7-3509-4fef-9c25-d6573f898689"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="cf0451ec-7ad1-43a8-a330-be26afdec07f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="76f794a4-2cde-4aa4-91e9-d4149830e43b"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="56488c40-9a0d-491b-af85-2a93f98af46d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no metadata element"
id="8e956b58-1003-461a-8c3a-ea2edc9eb915"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no metadata element" 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://sqlma-old:8080/geant2-java-sql-ma/services/Meas
urementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
-
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="264dab96-b826-4dc6-b6e2-6a6741036772"/><con:assertion type="SOAP Fault
Assertion" id="8897718d-62e8-459b-bb48-549e44cd6c30"/><con:assertion
type="XPath Match"
id="20b00590-ef35-48d0-9f9c-0872683b10d1"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="775fcf47-f169-4b16-9f66-da19398fb406"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="3421bf67-dff6-45ad-ad4f-6821a0985c80"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="6ffbad46-d825-4157-a1c3-4d09ea3dacc7"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, wrong eventType"
id="50af5d5c-b5a5-4138-97eb-8b2997b8865a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, wrong eventType" 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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementA
rchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- wrong.Event.Type
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="68ba2040-cfd2-4542-a039-f869b417605d"/><con:assertion type="SOAP Fault
Assertion" id="abf843ad-f734-4c7b-b053-7e363700d540"/><con:assertion
type="XPath Match"
id="ad5e1e95-2635-4e04-bfca-c0116248f752"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="1f6ce3a3-8a12-441b-b070-7a649cd115e0"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="8febc7fc-68dc-4675-8b04-6f68bca108d4"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="c66367fc-412a-4b43-8046-35a6f8875b3e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, empty EventType"
id="3eaf1401-8fed-4f4f-b4c1-7bf8bc8ad839"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, empty EventType" 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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
>xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
-
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="ab73e18a-5486-4ae5-bdd0-056f966b8350"/><con:assertion type="SOAP Fault
Assertion" id="3bb07b62-71fd-457b-98f9-c41597825fa8"/><con:assertion
type="XPath Match"
id="f387bbce-0155-4650-a575-37f89039c2de"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="c63684e1-8429-4d85-aa09-ba8b87a93319"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="0017c544-1f7e-426d-bd97-33140bba132e"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="fd9f6c42-ede8-4451-af4c-51222faaf6c9"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no nmwg:subject ->
subject" id="3e0268ac-7c99-4a4e-afa1-d7d717a1d460"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no nmwg:subject -> subject"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encodi
ng>UTF-8</con:encoding><con:endpoint>http://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="098385ce-931f-44a2-802f-b53b0710e626"/><con:assertion type="SOAP Fault
Assertion" id="fb0ef44a-2eb0-421a-ac11-a875ac3836c6"/><con:assertion
type="XPath Match"
id="1b835112-230b-4714-b404-b3ab72414b5f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="d3fc5c3a-3f5a-4a18-8ca6-3275e3a7011d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="0e52b686-67a7-45d1-b262-b56b08dd5722"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="3cdedb1e-699b-48c2-8b93-f7218a3e9a7f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key, no eventType parameter in
key" id="d5aac108-2f4e-48cb-a018-497c9d0b0631"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key, no eventType parameter in key"
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://sqlma-old:8080/geant2-java-sql-ma
/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <nmwg:key>
- <nmwg:parameters>
-
- <nmwg:parameter name="ibatisConfig">
- ibatis-SqlMapConfig-utilization.xml
- </nmwg:parameter>
- <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="222111"
- timeValue="1170154688"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="782947d0-2c34-4d7b-bc0e-11144d30a78f"/><con:assertion type="SOAP Fault
Assertion" id="183dd57c-69bf-4926-955a-55dca7783f45"/><con:assertion
type="XPath Match"
id="f744b4bc-4188-4ee8-b8a1-e2d93c9a1053"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="2f050930-d57f-4a12-96c1-c91848129aae"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="f49ec562-dbf5-4bdf-a8f5-fed81618e718"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="2e6c848d-b952-4b62-9c1c-6919960ec8d6"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLTypeMAServiceEngine.getStoreKey:
No eventType parameter in the key</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization with key, no ibatisConfig in key"
id="f2ebe843-9bce-40a0-b2c2-1a763fbe0617"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization with key, no ibatisConfig in key" 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://sqlma-old:8080/geant2-java-sql-ma/services/Meas
urementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <nmwg:key>
- <nmwg:parameters>
- <nmwg:parameter name="eventType"
- value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
-
- <nmwg:parameter name="metadataId">meta1-test</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:key>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="222111"
- timeValue="1170154688"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="d017b4bd-4807-4401-abb2-14603e2e2d5c"/><con:assertion type="SOAP Fault
Assertion" id="1d426556-88fe-4b13-a62f-b8da513c083d"/><con:assertion
type="XPath Match"
id="49ac3f03-b51f-465a-95a3-f0139a080a53"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="dc1910c4-a832-461e-9f9c-6207ad665cc2"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="483ec620-770c-45d2-8f4c-b7a14a8778fc"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="898b2108-23ce-42f1-91ff-3668c27757b0"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLTypeMAServiceEngine.getStoreKey:
No ibatisConfig parameter in the key</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, invalid value in datum
element" disabled="true"
id="8d60f2a8-70bf-4c92-8d86-becd7b3c84e7"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, invalid value in datum element"
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://sqlma-old
:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="085222304812345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="12f134b6-8c83-490f-9ebe-efc8a5507624"/><con:assertion type="SOAP Fault
Assertion" id="009fbec6-9b09-4116-90f4-0638d3c0e6e5"/><con:assertion
type="XPath Match"
id="ca6caee8-537e-4520-a163-c75693300033"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="82b625e6-cfb6-4c15-a517-14a9d0d5644e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="b11302dc-704f-490e-92ca-2957286ad91b"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="27805af1-1f8f-405f-b852-3f186251fc5d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLStorageManager.store:
Problem generated by ibatis:
com.ibatis.common.jdbc.exception.NestedSQLException:
---- The error occurred in ibatis-utilization.xml.
---- The error occurred while applying a parameter map.
---- Check the Results.insert-parameters.
---- Check the statement (update failed).
---- Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range
value adjusted for column 'value' at row 1
-Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range
value adjusted for column 'value' at row 1</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no value in datum"
disabled="true"
id="e2842abd-793e-40ef-860a-b4fcd500a642"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no value in datum" 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://sqlma-old:8080/geant2-java-sql-ma/s
ervices/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value=""
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="671c2265-d613-4a74-9352-fa0ef17ba12b"/><con:assertion type="SOAP Fault
Assertion" id="9d0cce54-4995-469e-a53f-3e564129c6c0"/><con:assertion
type="XPath Match"
id="c58769ea-c5cc-46e5-bdaa-45cf355f93b3"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="61a6a622-0109-4bc3-a0a1-e193dcec25bc"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="1d287991-c771-40c1-829d-339c2e4237cf"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7c77a9ab-0e40-4cb4-8d51-eddc08d8ec8a"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLStorageManager.store:
Problem generated by ibatis:
com.ibatis.common.jdbc.exception.NestedSQLException:
---- The error occurred in ibatis-utilization.xml.
---- The error occurred while applying a parameter map.
---- Check the Results.insert-parameters.
---- Check the statement (update failed).
---- Cause: java.sql.SQLException: Data truncated for column 'value' at row 1
-Caused by: java.sql.SQLException: Data truncated for column 'value' at row
1</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key,wrong metadataIdRef in
Data element"
id="f7eef1da-e3bd-4b9a-8b31-b289f6155eed"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key,wrong metadataIdRef in Data element"
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://sqlma-old:8080/ge
ant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="wrong">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="492bf3be-390a-4c32-bf01-4cc680515cf3"/><con:assertion type="SOAP Fault
Assertion" id="edc0f78e-37d3-4a01-9dfa-6eaca53ad572"/><con:assertion
type="XPath Match"
id="e67d15ae-6282-4c2f-ab34-d9fdc123503d"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="05c2cdf7-1607-49bc-8c4b-abe1e2f5aa52"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="a636c83e-9862-4878-89d0-b5caa84594f9"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="cca138f5-2953-4945-8abe-9ad522a2d09e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key,no metadataIdRef in
Data element"
id="9c034109-a4c2-4b8b-8791-7d8ed820cf2e"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key,no metadataIdRef in Data element"
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://sqlma-old:8080/geant2-j
ava-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" >
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="f45199fb-4dc2-4438-afa8-a5435ed016e3"/><con:assertion type="SOAP Fault
Assertion" id="f12ac308-5ca8-4876-b88d-14b920cab989"/><con:assertion
type="XPath Match"
id="e8e5b4fa-db38-49df-968e-48a5653e82df"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="651adaae-cc6d-45f8-ada1-3e365fa2d5cb"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="2e91c707-e8d1-408c-989c-c74786142b1e"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="c7c97868-a775-4d49-b595-58e6c14add86"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">No output
metadata was returned by MessageHandler. Maybe there was no data trigger, or
data trigger didn't have valid metadataIdRef?</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key,too high timevalue"
id="d39a3918-135c-4ad0-a5aa-2ff52fccc383"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key,too high timevalue" 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://sqlma-old:8080/geant2-java-sql-ma/services/Measurem
entArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:hostName>test-hostName</nmwgt:hostName>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:ifName>test-0</nmwgt:ifName>
- <nmwgt:ifDescription>test description</nmwgt:ifDescription>
- <nmwgt:direction>in</nmwgt:direction>
- <nmwgt:authRealm>TestRealm</nmwgt:authRealm>
- <nmwgt:capacity>1000BaseT</nmwgt:capacity>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="43432423423423423"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="b75c8551-3339-42fa-bb03-762eaa27e2dc"/><con:assertion type="SOAP Fault
Assertion" id="46486e66-4f48-4416-a777-3e75e61dcc76"/><con:assertion
type="XPath Match"
id="65f854f8-9f62-4c0e-b224-99e2e07a0c38"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $id in //nmwg:metadata/@id
-satisfies
(fn:string($id)="resultCodeMetadata"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="7ed4ca22-5268-4cfb-ab14-b768fd1cc38f"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
-and
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="02eedcfd-9e87-42a3-9566-70983c69ff1b"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="b3a00b9e-0cc0-42fb-9c91-308645c38685"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-
-//nmwg:message/nmwg:data/@id="resultDescriptionData_for_resultCodeMetadata"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no interface"
id="7b219045-b469-4f98-91bd-b1a0b7ba5dcc"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no interface" 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://sqlma-old:8080/geant2-java-sql-ma/services/MeasurementArchiveService</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/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
- <nmwg:message id="msg"
- type="MeasurementArchiveStoreRequest"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
-
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1">
- <netutil:datum value="12345"
- timeValue="1139270800"
- timeType="unix"
- valueUnits="Bps" />
- </nmwg:data>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="942a3b51-30a3-4872-a337-ff1680b36c09"/><con:assertion type="SOAP Fault
Assertion" id="a449e67e-8f90-4f17-9693-99daca393b2f"/><con:assertion
type="XPath Match"
id="34f78b71-8db5-4bb4-b6ba-840600a4c99e"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-
-//nmwg:message/@type</path><content>MeasurementArchiveStoreResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="a0add396-aa40-46a4-9b5f-5ac322d69f6b"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
-satisfies (fn:string($descr)="perfSONAR service"))
-and
-(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
-satisfies (fn:string($type)="ma"))
-and
-(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
-satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains xmlns:nmwg"
id="60651fe9-2681-4cdd-886d-e9824e883270"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="XPath Match"
id="3d772e49-bba2-4c81-86e6-c8fa6b7ce846"><con:configuration><path>declare
namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
-declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace fn="http://www.w3.org/2005/xpath-functions";
-declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
-declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
-
-count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter)</path><content>0</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Echo Tests"
id="507612c8-2a64-4397-bc0c-bd2b7af86390"><con:description>Echo Requests
testing messages.
-</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="true"
maxResults="0" name="Correct requests" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false"
amfEndpoint="" amfLogin="" amfPassword=""
id="72a35441-f3c0-42d4-96c1-495259e676ee"><con:description/><con:settings/><con:testStep
type="request" name="Echo Request"
id="a3ee1424-4300-4f81-8464-1e208bd032b2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Echo Request" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:sett
ing></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="37b1af3d-03e6-44d7-86b7-96926e9ef316"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'(echo/success|success\.echo)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="XML DB Access Test Request"
id="b99239e3-1ee6-4464-a467-f0e65502e55a"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:re
quest name="XML DB Access Test Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest" id="msg1"
- xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-access-test</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="302a6436-9021-43a1-ac09-148d8d4ddb5e"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'xmldb-access-test/success')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="XML DB Content Test Request"
id="047e1364-2eb1-4e59-aacd-20b15e9c4aed"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:req
uest name="XML DB Content Test Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest" id="msg1"
- xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/xmldb-content-test</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="8cd5fadb-15f0-44fc-af56-2ef26d9e9558"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'xmldb-content-test/success')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Random Fetch Test Request"
id="42bb46ed-21e3-4733-9e1d-978cbe9efb0f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:requ
est name="Random Fetch Test Request" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest" id="msg1"
- xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0/random-fetch-test</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="5b84a67a-0f7f-42cf-baca-d600fbcaafc8"/><con:assertion type="SOAP Fault
Assertion" id="ec191b3d-a630-4a0c-ae6a-0f68281b08db"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="e437a626-29fd-4e51-b83e-3a75a317a894"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="74f7243c-d1ee-4883-a438-55cd2b2e62af"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-contains(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'random-fetch-test/success')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Selftest"
id="9c915e6f-d401-444f-8b9c-67985d8ae935"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Selftest
" outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest"
- id="msg1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="5db45607-68b6-46ea-bc56-77f6795d06fd"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="8800d0a0-93b7-456c-8790-50abaa4afb2f"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-def noOfcorrectEventTypes = 0
-def noOfbadEventTypes = 0
-
-def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
-eventTypes.each{
- if(it.getValueAsString().contains("/success")){
- noOfcorrectEventTypes++
- } else {
- noOfbadEventTypes++
- }
-}
-
-assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Selftest DBConnection=yes"
id="90337cc9-bb7e-4160-998c-d1225478b674"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="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.Wsd
lRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest"
- id="msg1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
- <nmwg:parameters>
-
- <nmwg:parameter name="testDBConnection" value="yes"/>
-
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>
-]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="eb904743-f385-47e8-920a-f8c947686d67"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-def noOfcorrectEventTypes = 0
-def noOfbadEventTypes = 0
-
-def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
-eventTypes.each{
- if(it.getValueAsString().contains("/success")){
- noOfcorrectEventTypes++
- } else {
- noOfbadEventTypes++
- }
-}
-
-assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Selftest DBSchema=true"
id="81e84bd2-e7aa-424d-acc8-adacfa764cdf"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Selftest DBSchema=true" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlReque
st@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest"
- id="msg1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
- <nmwg:parameters>
-
-
- <nmwg:parameter name="testDBSchema" value="true"/>
-
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="cd4d7983-b208-46c8-809b-a27b9aadbfbd"/><con:assertion type="SOAP Fault
Assertion" id="1910d792-0b05-4a9e-9ab8-d9aae9beff05"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="493c379d-d5c5-4487-a437-ef57780cdfe9"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="c1efcf39-545a-466e-998e-74900712e1aa"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-def noOfcorrectEventTypes = 0
-def noOfbadEventTypes = 0
-
-def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
-eventTypes.each{
- if(it.getValueAsString().contains("/success")){
- noOfcorrectEventTypes++
- } else {
- noOfbadEventTypes++
- }
-}
-
-assert noOfcorrectEventTypes >= 1
-assert noOfbadEventTypes ==
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:loadTest
name="Echo LoadTest"
id="8a1e6079-b8f4-409d-97ce-cde2fbc57398"><con:settings/><con:threadCount>32</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><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="7975186b-46ac-462f-8eff-012c87dbf960"><con:settings/><con:testStep
type="request" name="Request without nmwg:data"
id="890a5b16-676a-4887-bf3f-ff067d637733"><con:settings/><con:config
xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/200
1/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Request without nmwg:data" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
- <nmwg:parameters>
- <nmwg:parameter name="testDBConnection" value="yes"/>
- <nmwg:parameter name="testDBSchema" value="yes"/>
- </nmwg:parameters>
- </nmwg:metadata>
-
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="eddb4d9a-516e-42c4-bc73-f4b244036b8d"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'warning\.(common|ls)\.(data_trigger|no_metadata)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Request without nmwg:metadata"
id="be6f2f5e-b2b3-43c7-9140-0998ce9e2bc8"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata
</con:operation><con:request name="Request without nmwg:metadata"
outgoingWss="" incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="48ac27ea-cf0a-4322-a48c-b812915ffc4b"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'warning\.(common|ls)\.(data_trigger|no_metadata)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Bad message type"
id="0f08eefc-c4e9-43de-b4ca-33555c8c11d6"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operati
on><con:request name="Bad message type" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="BadMsgType" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
- <nmwg:parameters>
- <nmwg:parameter name="testDBConnection" value="yes"/>
- <nmwg:parameter name="testDBSchema" value="yes"/>
- </nmwg:parameters>
- </nmwg:metadata>
- <nmwg:data id="data" metadataIdRef="meta"/>
-
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="452d47db-3544-428b-a31e-b80d757ac7b8"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error(/message_type_not_support|\.common\.action_not_supported)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Bad eventType"
id="97f7345a-a262-40d0-87e4-4bb62f7c96f9"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata<
/con:operation><con:request name="Bad eventType" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/badecho/2.0</nmwg:eventType>
- <nmwg:parameters>
- <nmwg:parameter name="testDBConnection" value="yes"/>
- <nmwg:parameter name="testDBSchema" value="yes"/>
- </nmwg:parameters>
- </nmwg:metadata>
- <nmwg:data id="data" metadataIdRef="meta"/>
-
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="83bc93d9-6d52-4f16-8850-9130e6ad348e"/><con:assertion type="SOAP Fault
Assertion" id="a1e43c7c-380d-42b6-b106-d8d766c71016"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="dd06dcad-ea60-4a22-89ee-9e43afaff5f3"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="b3f103c6-b220-4099-a615-1ad7b8a5d8f2"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'error.request')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="Request without metadata/data pair"
id="12995574-0659-477c-9cf5-7089ad3bae3f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
n
ame="Request without metadata/data pair" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest"
- id="msg1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
- <nmwg:parameters>
-
- <nmwg:parameter name="testDBConnection" value="yes"/>
- <nmwg:parameter name="testDBSchema" value="yes"/>
-
- </nmwg:parameters>
- </nmwg:metadata>
-
-<!-- Bad metadataIdRef -->
- <nmwg:data id="data" metadataIdRef="badref"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="078fdf24-225c-44c0-9fe0-ce72342d8473"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - Result Code"
id="6d1c71f0-aae3-4eb3-971e-687fc40d0969"><con:configuration><path>declare
namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-
-matches(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType,
'warning\.(common|ls)\.(data_trigger|no_metadata)')</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Invalid data" searchProperties="true" timeout="0"
wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo=""
id="9ce0de36-910b-4e10-9985-f07d1b1b75ac"><con:de
scription>Not sure there is much to test here, we cannot have invalid data
for echo requests, not even bad
parameters.</con:description><con:settings/><con:testStep type="request"
name="2.5.2.3.1 - Selftest bad DBSchema !"
id="20ab0671-1906-4189-9ef1-c69b2a9d3159"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="2.5.2.3.1 - Selftest bad DBSchema !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://
schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
- <nmwg:parameters>
-<!-- Bad parameter -->
- <nmwg:parameter name="testDBSchema"
value="fdqs">fqfdsq</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta">
- blahblah
- </nmwg:data>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="669decd1-ba65-42f4-bf41-07b8d52f7ae6"/><con:assertion type="SOAP Fault
Assertion" id="2d45d3d4-6660-4368-9af8-250b62546b54"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="51f2bb27-2a93-487b-a50a-6552c823e485"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="8800d0a0-93b7-456c-8790-50abaa4afb2f"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-def noOfcorrectEventTypes = 0
-def noOfbadEventTypes = 0
-
-def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
-eventTypes.each{
- if(it.getValueAsString().contains("success.ls")){
- noOfcorrectEventTypes++
- } else {
- noOfbadEventTypes++
- }
-}
-
-assert noOfcorrectEventTypes == 0
-assert noOfbadEventTypes >=
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="2.5.2.3.2 - Selftest bad DBConnection !"
id="ed1c1b84-4358-4cc2-a846-cc89d836147d"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="2.5.2.3.2 - Selftest bad DBConnection !" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><con:setting
id="com.
eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest"
- id="msg1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
- <nmwg:parameters>
-
- <nmwg:parameter name="testDBConnection" value="bad"/>
-
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="aa5ba393-7f29-4b6e-883c-a4a14bc05d42"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-def noOfcorrectEventTypes = 0
-def noOfbadEventTypes = 0
-
-def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
-eventTypes.each{
- if(it.getValueAsString().contains("success.ls")){
- noOfcorrectEventTypes++
- } else {
- noOfbadEventTypes++
- }
-}
-
-assert noOfcorrectEventTypes == 0
-assert noOfbadEventTypes >
0</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="2.5.2.3.3 - Selftest bad parameter !"
id="384ea02d-15ff-4e3f-b854-b17aa61e098d"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="EchoRequest"
- id="msg1"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
-
- <nmwg:metadata id="meta">
-
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
- <nmwg:parameters>
-
- <nmwg:parameter name="badTest" value="yes"/>
-
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data" metadataIdRef="meta"/>
-</nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="f7619e7d-780d-4a07-89a6-8b46a9ab9723"/><con:assertion type="SOAP Fault
Assertion" id="ab084c62-8f4d-4380-bab6-2e2a399bfef5"/><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Schema"
id="ac417d2a-708e-4cc3-92c6-10e866d905f5"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" name="Script Assertion - Result Codes"
id="82dfb107-19ec-491d-bf0e-65388ab6740c"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.responseContent )
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-def noOfcorrectEventTypes = 0
-def noOfbadEventTypes = 0
-
-def eventTypes =
holder.getDomNodes("/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:metadata/nmwg:eventType");
-eventTypes.each{
- if(it.getValueAsString().contains("success.ls")){
- noOfcorrectEventTypes++
- } else {
- noOfbadEventTypes++
- }
-}
-
-assert noOfcorrectEventTypes == 0
-assert noOfbadEventTypes >
1</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite
name="Metadata Queries"
id="44d0d813-50b7-4866-9354-2c04b09282da"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="MetadataKeyRequest" searchProperties="true"
id="79ee2895-0f3a-4a96-9603-562d319349fe"><con:settings/><con:testStep
type="request" name="Generic MetadataKeyRequest"><con:settings/><con:config
xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.
org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Generic MetadataKeyRequest" 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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-<nmwg:message type="MetadataKeyRequest" id="mdrq1"
- xmlns:ns1="${#TestCase#eventType}/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <ns1:subject id="subject1">
- ${#TestCase#subjectBody}
- </ns1:subject>
- <nmwg:eventType>
- ${#TestCase#eventType}
- </nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">${#TestCase#keyword}</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1"/>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>
-]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
-declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-
-count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="${#TestCase#eventType}"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
-declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-
-count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and (@value="${#TestCase#eventType}" or
.="${#TestCase#eventType}")])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><![CDATA[<nmwgt:interface>
<nmwgt:ifAddress
type="ipv4">10.1.2.3</nmwgt:ifAddress><nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
]]></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name><con:value/></con:property></con:properties></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Correct requests" searchProperties="true"
id="b942468a-b579-4ca0-af65-75538bd505fd"><con:description>MetadataKeyRequest
tests are parametrized so a generic call can be made.
-
-However, there is an exception with L2 Path Status which doesn't use an OGF
standardised event type and for which the data section in the response is a
bit different.</con:description><con:settings/><con:testStep
type="calltestcase" name="Metadata - utilization"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><![CDATA[<nmwgt:interface>
<nmwgt:ifAddress
type="ipv4">10.1.2.3</nmwgt:ifAddress><nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
]]></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:proper
ties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Metadata - errors"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/characteristic/errors/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><![CDATA[<nmwgt:interface>
<nmwgt:ifAddress
type="ipv4">10.1.2.3</nmwgt:ifAddress><nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
]]></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="callt
estcase" name="Metadata - discards"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/characteristic/discards/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><![CDATA[<nmwgt:interface>
<nmwgt:ifAddress
type="ipv4">10.1.2.3</nmwgt:ifAddress><nmwgt:direction>in</nmwgt:direction>
</nmwgt:interface>
]]></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Metadata - iperf"><con:settings/><con:config
xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.
w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/tools/iperf/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><nmwgt:endPointPair>
<nmwgt:src type="ipv4" value="198.32.8.170" port="5433"/>
<nmwgt:dst type="ipv4" value="198.32.8.174" port="5433"/>
</nmwgt:endPointPair></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Metadata - ping"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d3
19349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http://ggf.org/ns/nmwg/tools/ping/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><nmwgt:endPointPair>
<nmwgt:src type="ipv4" value="222.22.22.22"/>
<nmwgt:dst type="ipv4" value="111.11.11.11"/>
</nmwgt:endPointPair></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Metadata - owamp"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>79ee2895-0f3a-4a96-9603-562d319349fe</con:targetTestCase><con:properties><con:property><con:name>eventType</con:name><con:value>http:/
/ggf.org/ns/nmwg/tools/owamp/2.0</con:value></con:property><con:property><con:name>subjectBody</con:name><con:value><nmwgt:endPointPair>
<nmwgt:src type="ipv4" value="222.22.22.22"/>
<nmwgt:dst type="ipv4" value="111.11.11.11"/>
</nmwgt:endPointPair></con:value></con:property><con:property><con:name>keyword</con:name><con:value>project:geant2</con:value></con:property><con:property><con:name>ns</con:name></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="MetadataKeyRequest -
utilization"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="MetadataKeyRequest - utilization" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-hea
ders"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-<nmwg:message type="MetadataKeyRequest" id="mdrq1"
-
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <netutil:subject id="subj1">
- <nmwgt:interface>
- <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
- <nmwgt:direction>in</nmwgt:direction>
- </nmwgt:interface>
- </netutil:subject>
- <nmwg:eventType>
- http://ggf.org/ns/nmwg/characteristic/utilization/2.0
- </nmwg:eventType>
- <nmwg:parameters id="params1">
- <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
- </nmwg:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta1"/>
-
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>
-]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
-declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-
-count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data
eventType"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
-declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-
-count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
@value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:testStep
type="request" name="MetadataKeyRequest - L2
status"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation
>Metadata</con:operation><con:request name="MetadataKeyRequest - L2 status"
>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://localhost:8080/perfsonar-java-sql-ma/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <soapenv:Header/>
- <soapenv:Body>
-
-<nmwg:message type="MetadataKeyRequest"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"
- xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
-
- <nmwg:metadata id="meta1">
- <nmwg:subject id="subject1">
- <nmtl2:link>
- <nmtl2:globalName
type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
- </nmtl2:link>
- </nmwg:subject>
- <nmwg:eventType>Path.Status</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:metadata id="meta2">
- <select:subject id="iusub2" metadataIdRef="meta1"/>
- <select:parameters id="param1">
- <nmwg:parameter name="time">now</nmwg:parameter>
- </select:parameters>
-
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
- </nmwg:metadata>
-
- <nmwg:data id="data1" metadataIdRef="meta2"/>
-
- </nmwg:message>
-
- </soapenv:Body>
-</soapenv:Envelope>
-]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="SOAP Fault Assertion"/><con:assertion type="GroovyScriptAssertion"
name="Script Assertion - Schema"><con:configuration><scriptText>import
org.perfsonar.soapUI.ls.TestUtil;
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)
-def holder = groovyUtils.getXmlHolder(messageExchange.responseContent)
-holder.namespaces["soapenv"]="http://schemas.xmlsoap.org/soap/envelope/"
-holder.namespaces["nmwg"]="http://ggf.org/ns/nmwg/base/2.0/"
-
-// Get NMWG message and RNG grammar for validation
-def s = holder.getDomNode("soapenv:Envelope/soapenv:Body/nmwg:message");
-def rncLocation = context.expand('${projectDir}')+"/rnc/nmbase.rnc"
-
-assert TestUtil.validateRNC(""+s,new File(rncLocation),log);
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match" name="XPath Match - metadata eventType
(1)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace
perfsonar='http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/';
-declare namespace nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
-
-count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType[.="Path.Status"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion
type="XPath Match" name="XPath Match - data eventType
(1)"><con:configuration><path>declare namespace
psservice='http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/';
-declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
-declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-
-count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"
and
@value="Path.Status"])</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/><con:authType>Global HTTP
Settings</con:authType></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Malformed requests"
searchProperties="true"><con:settings/><con:properties/></con:testCase><con:testCase
failOnError="true" failTestCaseOnError
s="true" keepSession="false" maxResults="0" name="Invalid data"
searchProperties="true"><con:settings/><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/><con:sensitiveInformation/></con:soapui-project>
\ No newline at end of file
+count(//psservice:service)
=0</path><content>false</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:authType>Global
HTTP
Settings</con:authType></con:credentials></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/><con:sensitiveInformation/></con:soapui-project>
- [pS-dev] [GEANT/SA2/ps-java-services] r6481 - in trunk/perfsonar-java-sql-ma: src/main/java/org/perfsonar/service/measurementArchive/sqlType src/main/resources/perfsonar/conf src/rpm src/test/resources/perfsonar/conf test/JavaSQLMAsoapUI/InterfaceBased, svn-noreply, 01/21/2014
Archive powered by MHonArc 2.6.16.