Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2857 - in trunk/functional-testing/JavaRRDMAsoapUI: . setupData-req setupData-res

Subject: perfsonar development work

List archive

perfsonar: r2857 - in trunk/functional-testing/JavaRRDMAsoapUI: . setupData-req setupData-res


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2857 - in trunk/functional-testing/JavaRRDMAsoapUI: . setupData-req setupData-res
  • Date: Thu, 20 Sep 2007 09:12:38 -0400

Author: michalis
Date: 2007-09-20 09:12:36 -0400 (Thu, 20 Sep 2007)
New Revision: 2857

Added:
trunk/functional-testing/JavaRRDMAsoapUI/rrd-ma-setupdata-req.wsdl
trunk/functional-testing/JavaRRDMAsoapUI/rrd-ma-setupdata-res.wsdl
trunk/functional-testing/JavaRRDMAsoapUI/rrd_out
trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/
trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/netutil.xsd
trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/nmwg.xsd
trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/select.xsd
trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/setupDataRequest.xsd
trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/setupdataKey-req/
trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/
trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/netutil.xsd
trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/nmwgr.xsd
trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/nmwgt.xsd
trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/select.xsd

trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/setupDataResponse.xsd
trunk/functional-testing/JavaRRDMAsoapUI/setupDataRequest.rnc
trunk/functional-testing/JavaRRDMAsoapUI/setupDataResponse.rnc
trunk/functional-testing/JavaRRDMAsoapUI/setupDataResponse.rng
Modified:
trunk/functional-testing/JavaRRDMAsoapUI/RRD MA-soapui-project.xml
Log:
setup data request tests

Modified: trunk/functional-testing/JavaRRDMAsoapUI/RRD MA-soapui-project.xml
===================================================================
--- trunk/functional-testing/JavaRRDMAsoapUI/RRD MA-soapui-project.xml
2007-09-20 09:07:03 UTC (rev 2856)
+++ trunk/functional-testing/JavaRRDMAsoapUI/RRD MA-soapui-project.xml
2007-09-20 13:12:36 UTC (rev 2857)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<con:soapui-project name="RRD MA" soapui-version="1.7.5"
xmlns:con="http://eviware.com/soapui/config";><con:settings><con:setting
id="ProjectSettings@projectRoot">C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI</con:setting></con:settings><con:interface
name="MetadataRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}MetadataRequest";
soapVersion="1_1" definition="file:C:\Documents and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-req.wsdl"><con:settings/><con:endpoints><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
action="" name="Metadata" bindingOperationName="Metadata" inputName=""
isOneWay="false" receivesAttachments="false"
sendsAttachments="false"><con:settings/><con:call name="Metadata
Request"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+<con:soapui-project name="RRD MA" soapui-version="1.7.5"
xmlns:con="http://eviware.com/soapui/config";><con:settings><con:setting
id="ProjectSettings@projectRoot">C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI</con:setting></con:settings><con:interface
name="MetadataRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}MetadataRequest";
soapVersion="1_1" definition="file:C:\Documents and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-req.wsdl"><con:settings/><con:endpoints><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:endpoint>http://leonidas.cynet.ac.cy:8080/perfSONAR-RRD-MA-2.0/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
action="" name="Metadata" bindingOperationName="Metadata" inputName=""
isOneWay="false" receivesAttachments="false"
sendsAttachments="false"><con:settings/><con:call name="Metadata
Request"><con:settings/><con:encoding>UTF-8

</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="?">
@@ -318,9 +318,320 @@
<xs:attribute name="id" type="xs:string"/>
</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"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests"
searchProperties="true"><con:settings/><con:testStep type="request"
name="Metadata-Errors"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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:interface
name="SetupDataRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}SetupDataRequest";
soapVersion="1_1" definition="file:C:\Documents and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-setupdata-req.wsdl"><con:settings/><con:endpoints><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint></con:endpoints><con:operation
action="" name="SetupData" bindingOperationName="SetupData" inputName=""
isOneWay="false" receivesAttachments="false"
sendsAttachments="false"><con:settings/><con:call
name="SetupDataRequest"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmln
s:ns="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:ns1="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:ns3="http://ggf.org/ns/nmwg/ops/select/2.0/";>
<soapenv:Header/>
<soapenv:Body>
+ <ns:message id="?" messageIdRef="?" type="?">
+ <!--You have a CHOICE of the next 3 items at this level-->
+ <ns:parameters id="?">
+ <!--1 or more repetitions:-->
+ <ns:parameter name="?" value="?">e gero</ns:parameter>
+ </ns:parameters>
+ <!--1 or more repetitions:-->
+ <ns:metadata id="?" metadataIdRef="?">
+ <!--You have a CHOICE of the next 5 items at this level-->
+ <ns1:subject id="?" metadataIdRef="?">
+ <!--Optional:-->
+ <ns2:interface>
+ <!--You have a CHOICE of the next 7 items at this level-->
+ <ns2:ifAddress type="?">?</ns2:ifAddress>
+ <ns2:hostName>?</ns2:hostName>
+ <ns2:direction>?</ns2:direction>
+ <ns2:ifDescription>?</ns2:ifDescription>
+ <ns2:ifName>?</ns2:ifName>
+ <ns2:authRealm>?</ns2:authRealm>
+ <ns2:capacity>?</ns2:capacity>
+ </ns2:interface>
+ </ns1:subject>
+ <!--Optional:-->
+ <ns3:subject id="?" metadataIdRef="?"/>
+ <ns3:parameters id="?">
+ <!--1 or more repetitions:-->
+ <ns:parameter name="?" value="?">cum sonoras</ns:parameter>
+ </ns3:parameters>
+ <ns:key id="?">
+ <ns:parameters id="?">
+ <!--1 or more repetitions:-->
+ <ns:parameter name="?" value="?">aeoliam
quae</ns:parameter>
+ </ns:parameters>
+ </ns:key>
+ <ns:eventType>?</ns:eventType>
+ </ns:metadata>
+ <ns:data id="?" metadataIdRef="?"/>
+ </ns:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request></con:call></con:operation><con:definitionCache
rootPart="file:C:\Documents and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-setupdata-res.wsdl"><con:part><con:url>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\setupData-res\netutil.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
+ <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/";
schemaLocation="setupDataResponse.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/ops/select/2.0/";
schemaLocation="select.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/result/2.0/";
schemaLocation="nmwgr.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/topology/2.0/";
schemaLocation="nmwgt.xsd"/>
+ <xs:element name="subject" type="nmwg:SubjectContent"/>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\setupData-res\setupDataResponse.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
+ <xs:import
namespace="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
schemaLocation="netutil.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/ops/select/2.0/";
schemaLocation="select.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/result/2.0/";
schemaLocation="nmwgr.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/topology/2.0/";
schemaLocation="nmwgt.xsd"/>
+ <xs:element name="message" type="nmwg:MessageContent"/>
+ <xs:complexType name="MessageContent">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="nmwg:parameters"/>
+ <xs:choice>
+ <xs:group ref="nmwg:Metadata"/>
+ <xs:group ref="nmwg:Data"/>
+ </xs:choice>
+ </xs:choice>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="messageIdRef" type="xs:string"/>
+ <xs:attribute name="type">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="SetupDataResponse"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:attributeGroup name="Identifier">
+ <xs:attribute name="id" use="required" type="xs:string"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="MessageIdentifierRef">
+ <xs:attribute name="messageIdRef" use="required" type="xs:string"/>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="Type">
+ <xs:attribute name="type" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="SetupDataResponse"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:group name="Metadata">
+ <xs:sequence>
+ <xs:element name="metadata">
+ <xs:complexType>
+ <xs:choice>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:choice>
+ <xs:element ref="netutil:subject"/>
+ <xs:choice>
+ <xs:element minOccurs="0" ref="select:subject"/>
+ <xs:element ref="select:parameters"/>
+ </xs:choice>
+ <xs:element ref="nmwg:key"/>
+ </xs:choice>
+ <xs:element ref="nmwg:parameters"/>
+ </xs:choice>
+ <xs:element ref="nmwg:eventType"/>
+ </xs:choice>
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ <xs:attribute name="metadataIdRef" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="eventType" type="xs:string"/>
+ <xs:attributeGroup name="MetadataIdentifierRef">
+ <xs:attribute name="metadataIdRef" use="required" type="xs:string"/>
+ </xs:attributeGroup>
+ <xs:complexType name="SubjectContent">
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="nmwgt:interface"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ <xs:attribute name="metadataIdRef" type="xs:string"/>
+ </xs:complexType>
+ <xs:group name="FilterMetadataContent">
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="select:subject"/>
+ <xs:element ref="select:parameters"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="parameters" type="nmwg:ParametersContent"/>
+ <xs:complexType name="ParametersContent">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="nmwg:parameter"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ </xs:complexType>
+ <xs:element name="parameter">
+ <xs:complexType mixed="true">
+ <xs:attribute name="name" use="required" type="xs:string"/>
+ <xs:attribute name="value" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="key">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="nmwg:parameters"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:group name="ResultCodeMetadata">
+ <xs:sequence>
+ <xs:element name="metadata">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="nmwg:eventType"/>
+ </xs:sequence>
+ <xs:attribute name="id" use="required" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="Data">
+ <xs:sequence>
+ <xs:group maxOccurs="unbounded" ref="nmwg:ResultData"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="ResultData">
+ <xs:sequence>
+ <xs:element name="data">
+ <xs:complexType>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded"
ref="nmwg:datum"/>
+ <xs:element ref="nmwgr:datum"/>
+ </xs:choice>
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ <xs:attributeGroup ref="nmwg:MetadataIdentifierRef"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+ <xs:element name="datum">
+ <xs:complexType>
+ <xs:attribute name="value" use="required" type="xs:string"/>
+ <xs:attribute name="timeValue" use="required" type="xs:string"/>
+ <xs:attribute name="timeType" type="xs:string"/>
+ <xs:attribute name="valueUnits" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:group name="ResultCodeData">
+ <xs:sequence>
+ <xs:element name="data">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="nmwgr:datum"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ <xs:attributeGroup ref="nmwg:MetadataIdentifierRef"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:group>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\setupData-res\nmwgr.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/result/2.0/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
+ <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/";
schemaLocation="setupDataResponse.xsd"/>
+ <xs:import
namespace="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
schemaLocation="netutil.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/ops/select/2.0/";
schemaLocation="select.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/topology/2.0/";
schemaLocation="nmwgt.xsd"/>
+ <xs:element name="datum" type="xs:string"/>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\setupData-res\nmwgt.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
+ <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/";
schemaLocation="setupDataResponse.xsd"/>
+ <xs:import
namespace="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
schemaLocation="netutil.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/ops/select/2.0/";
schemaLocation="select.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/result/2.0/";
schemaLocation="nmwgr.xsd"/>
+ <xs:element name="interface">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="nmwgt:ifAddress"/>
+ <xs:element ref="nmwgt:hostName"/>
+ <xs:element ref="nmwgt:direction"/>
+ <xs:element ref="nmwgt:ifDescription"/>
+ <xs:element ref="nmwgt:ifName"/>
+ <xs:element ref="nmwgt:authRealm"/>
+ <xs:element ref="nmwgt:capacity"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="ifAddress">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="type" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="ipv4"/>
+ <xs:enumeration value="ipv6"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="hostName" type="xs:string"/>
+ <xs:element name="direction">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="in"/>
+ <xs:enumeration value="out"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="ifDescription" type="xs:string"/>
+ <xs:element name="ifName" type="xs:string"/>
+ <xs:element name="authRealm" type="xs:string"/>
+ <xs:element name="capacity" type="xs:string"/>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\setupData-res\select.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/ops/select/2.0/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
+ <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/";
schemaLocation="setupDataResponse.xsd"/>
+ <xs:import
namespace="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
schemaLocation="netutil.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/result/2.0/";
schemaLocation="nmwgr.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/topology/2.0/";
schemaLocation="nmwgt.xsd"/>
+ <xs:element name="subject">
+ <xs:complexType>
+ <xs:attribute name="id" use="required" type="xs:string"/>
+ <xs:attribute name="metadataIdRef" use="required" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="parameters" type="nmwg:ParametersContent"/>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-setupdata-res.wsdl</con:url><con:content><definitions
name="RRD-MA" targetNamespace="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:tns="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns="http://schemas.xmlsoap.org/wsdl/";>
+
+ <types>
+ <schema elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/base/2.0/";
xmlns="http://www.w3.org/2001/XMLSchema";>
+ <include schemaLocation="setupData-res/setupDataResponse.xsd"/>
+ </schema>
+ </types>
+
+ <message name="SetupDataRequest">
+ <part name="SetupDAtaRequest" element="tns:message"/>
+ </message>
+
+ <message name="SetupDataResponse">
+ <part name="SetupDataResponse" element="tns:message"/>
+ </message>
+
+ <portType name="RRD MA">
+ <operation name="SetupData">
+ <input message="tns:SetupDataRequest"/>
+ <output message="tns:SetupDataResponse"/>
+ </operation>
+ </portType>
+
+ <binding name="SetupDataBinding" type="tns:RRD MA">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="SetupData">
+ <soap:operation style="document" soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+
+ <service name="RRD MA">
+ <documentation>
+ SOAP Service to provide access to RRD MA.
+ </documentation>
+ <port name="SetupDataPort" binding="tns:SetupDataBinding">
+ <soap:address
location="http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService"/>
+ </port>
+ </service>
+
+</definitions></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache></con:interface><con:testSuite

name="MetadataKeyRequest"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests"
searchProperties="true"><con:settings/><con:testStep type="request"
name="Metadata-Errors"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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:nmwg="http://ggf.org/ns/nmwg/base/2.0/";

xmlns:errors="http://ggf.org/ns/nmwg/characteristic/errors/2.0/";
@@ -389,13 +700,13 @@
satisfies (fn:string($source)="inerrors"))
and
(every $file in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"]
-satisfies
(fn:string($file)="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd"))
+satisfies
(fn:string($file)="/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd"))
and
(every $source in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSource"]
satisfies (fn:string($source)="inerrors"))
and
(every $type in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value
-satisfies
(fn:string($type)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Errors"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+satisfies
(fn:string($type)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Errors"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -495,7 +806,7 @@
satisfies (fn:string($source)="inerrors"))
and
(every $type in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value
-satisfies
(fn:string($type)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors 1 data
element"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+satisfies
(fn:string($type)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors 1 data
element"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -571,7 +882,7 @@
(every $file in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"]
satisfies
(fn:string($file)="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd"))
and
-(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Utilization 2 Data
elements"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xml
ns: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/";>
+(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Utilization 2 Data
elements"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xml
ns: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"
@@ -663,7 +974,7 @@
and

(count(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters[nmwg:parameter="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";])=2)
and
-(count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters[nmwg:parameter="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";])=2)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Discards - No consolidation
function"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(count(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters[nmwg:parameter="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";])=2)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Discards - No consolidation
function"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -739,7 +1050,7 @@
and

(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/discards/2.0";)
and
-(count(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="consolidationFunction"])=0)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors - No
resolution"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(count(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="consolidationFunction"])=0)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors - No
resolution"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -815,7 +1126,7 @@
and

(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";)
and
-(count(//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="resolution"])=0)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Discards with additional
information"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="resolution"])=0)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Discards with additional
information"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -891,15 +1202,12 @@
and
(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="resolution"]
satisfies $param="60")
and
-(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
satisfies
$param="AVERAGE")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Utilization with select parameters in
key"><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 with select parameters in key"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soap
env: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/";>
+(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
satisfies
$param="AVERAGE")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Utilization with select parameters in
key"><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 with select parameters in key"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soap
env: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:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
-
- <nmwg:metadata id="m1" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
- <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:message type="MetadataKeyRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="m1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
<nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
<nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
<nmwg:parameter name="dataSource">ds0</nmwg:parameter>
@@ -911,31 +1219,26 @@
<nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"/>
<nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
</nmwg:parameters>
- <select:parameters id="sp1"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <select:parameters id="sp1">
<nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
<nmwg:parameter name="resolution">60</nmwg:parameter>
<nmwg:parameter name="endTime">1186739100</nmwg:parameter>
<nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
</select:parameters>
- </nmwg:key>
- </nmwg:metadata>
-
- <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">1186730000</nmwg:parameter>
- <nmwg:parameter name="endTime">1186735000</nmwg:parameter>
- <nmwg:parameter name="consolidationFunction">A</nmwg:parameter>
- <nmwg:parameter name="resolution">60</nmwg:parameter>
- </select:parameters>
- </nmwg:metadata>
-
- <nmwg:data id="d2" metadataIdRef="m2"/>
-
-
-</nmwg:message>
-
+ </nmwg:key>
+ </nmwg:metadata>
+ <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">1186730000</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186735000</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">A</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+ </nmwg:metadata>
+ <nmwg:data id="d2" metadataIdRef="m2"/>
+ </nmwg:message>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="Schema Compliance"><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"><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/';
@@ -969,7 +1272,7 @@
and
(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="resolution"]
satisfies $param="60")
and
-(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
satisfies
$param="AVERAGE")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Errors with select parameters in
key-different consolitation"><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 with select parameters in key-different
consolitation" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</co
n: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/";>
+(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
satisfies
$param="AVERAGE")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Errors with select parameters in
key-different consolitation"><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 with select parameters in key-different
consolitation" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</co
n: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"
@@ -1044,7 +1347,7 @@
and
(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="resolution"]
satisfies $param="60")
and
-(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
satisfies
$param="MAX")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Discards with select parameters in
key-different resolution"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endp
oint><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/";>
+(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
satisfies
$param="MAX")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata with Key-Discards with select parameters in
key-different resolution"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endp
oint><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"
@@ -1119,7 +1422,7 @@
and
(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="resolution"]
satisfies $param="3600")
and
-(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
satisfies
$param="AVERAGE")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors-Full interface
description"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(every $param in
//nmwg:message/nmwg:data/nmwg:key/select:parameters/nmwg:parameter[@name="consolidationFunction"]
satisfies
$param="AVERAGE")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors-Full interface
description"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -1197,7 +1500,7 @@
(every $file in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"]
satisfies
(fn:string($file)="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd"))
and
-(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Discards-just host-name in
description"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Discards-just host-name in
description"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -1269,7 +1572,7 @@
(every $file in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"]
satisfies
(fn:string($file)="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd"))
and
-(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/discards/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Utilization-just capacity in
description"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/discards/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Utilization-just capacity in
description"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -1347,7 +1650,7 @@
(every $file in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"]
satisfies
(fn:string($file)="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd"))
and
-(every $eventType in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value
satisfies
$eventType="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors -Both key and
select"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(every $eventType in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value
satisfies
$eventType="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors -Both key and
select"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -1440,7 +1743,7 @@
satisfies
(fn:string($type)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";))
and
(every $file in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"]
-satisfies
$file="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="CopyMetadata-Errors-Discards -Both key and
select"><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="CopyMetadata-Errors-Discards -Both key and
select"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+satisfies
$file="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="CopyMetadata-Errors-Discards -Both key and
select"><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="CopyMetadata-Errors-Discards -Both key and
select"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -1559,7 +1862,7 @@

(count(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter="indiscards")=1)
and
(every $file in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"]
-satisfies
$file="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors different parameter
element"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+satisfies
$file="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd")</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors different parameter
element"><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -1634,7 +1937,7 @@
(every $file in
//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"]
satisfies
(fn:string($file)="/home/mike/geant2_java-rrd-ma-2.3-RC1/samples/rrd/test.rrd"))
and
-(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests"
searchProperties="true"><con:settings/><con:testStep type="request"
name="Metadata -Utilization Not type in message"><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 Not type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:

endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(fn:string(//nmwg:message/nmwg:data/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/errors/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests"
searchProperties="true"><con:settings/><con:testStep type="request"
name="Metadata -Utilization Not type in message"><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 Not type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:

endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -1669,7 +1972,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="error.common.action_not_supported")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors emtpy type in
message"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors emtpy type in
message"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -1704,7 +2007,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="error.common.action_not_supported")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name=" Metadata -Discards wrong type in
message"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name=" Metadata -Discards wrong type in
message"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -1739,7 +2042,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="error.common.action_not_supported")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Discards no metadata
element"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Discards no metadata
element"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -1763,7 +2066,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors no data
element"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors no data
element"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -1798,7 +2101,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Utilization no metadata-data
elements"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Utilization no metadata-data
elements"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -1820,33 +2123,33 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/topolog
y/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/";>
- <nmwg:metadata>
- <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>
- <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"/>
- </nmwg:message>
- </soapenv:Body>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/topolog
y/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/";>
+ <nmwg:metadata>
+ <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>
+ <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"/>
+ </nmwg:message>
+ </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
@@ -1857,7 +2160,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/Mea
surementArchiveService</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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/Mea
surementArchiveService</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"
@@ -1905,7 +2208,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid id in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/se

rvices/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid id in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/se

rvices/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"
@@ -1953,7 +2256,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in second
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in second
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="MetadataKeyRequest"
@@ -2001,7 +2304,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in second
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC

1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in second
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC

3/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"
@@ -2049,7 +2352,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid id in second
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd

-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid id in second
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd

-ma-2.3-RC3/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"
@@ -2097,7 +2400,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no event type in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/servic

es/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no event type in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/servic

es/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"
@@ -2143,7 +2446,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization empty event Type element in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/g

eant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization empty event Type element in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/g

eant2_java-rrd-ma-2.3-RC3/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"
@@ -2190,7 +2493,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards not valid event type in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-m

a-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards not valid event type in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-m

a-2.3-RC3/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"
@@ -2238,7 +2541,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards event type not equal to subject
namespace in metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>h

ttp://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards event type not equal to subject
namespace in metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>h

ttp://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -2286,7 +2589,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors subject namespace not valid in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_

java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors subject namespace not valid in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_

java-rrd-ma-2.3-RC3/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"
@@ -2334,7 +2637,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject namespace not valid
along with event type in metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:en

coding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject namespace not valid
along with event type in metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:en

coding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -2382,7 +2685,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors empty subject element
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC

1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors empty subject element
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC

3/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"
@@ -2425,7 +2728,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in subject element in
metadata"><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 subject element in metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-r

rd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no id in subject element in
metadata"><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 subject element in metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-r

rd-ma-2.3-RC3/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"
@@ -2473,7 +2776,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards subject id value empty in
metadata"><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 subject id value empty in metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-r

rd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards subject id value empty in
metadata"><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 subject id value empty in metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-r

rd-ma-2.3-RC3/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"
@@ -2521,7 +2824,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid subject id in
metadata"><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 subject id in metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd

-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization invalid subject id in
metadata"><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 subject id in metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd

-ma-2.3-RC3/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"
@@ -2569,7 +2872,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors invalid ifAddess ip attribute in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/gea

nt2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors invalid ifAddess ip attribute in
metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/gea

nt2_java-rrd-ma-2.3-RC3/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"
@@ -2617,7 +2920,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards Invalid direction in
metadata"><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 Invalid direction in metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-

RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards Invalid direction in
metadata"><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 Invalid direction in metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-

RC3/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"
@@ -2665,7 +2968,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject namespace not valid in
filter metadata"><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 in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://19

2.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject namespace not valid in
filter metadata"><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 in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://19

2.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -2713,7 +3016,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject element missing in
filter metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.

10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization subject element missing in
filter metadata"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.

10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -2761,7 +3064,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards no id in subject element in filter
metadata"><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 id in subject element in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:

8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards no id in subject element in filter
metadata"><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 id in subject element in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:

8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -2809,7 +3112,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in subject element in
filter metadata"><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 subject element in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.

10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards empty id in subject element in
filter metadata"><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 subject element in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.

10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -2857,7 +3160,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no metadata id ref attribute in
subject in filter metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endp

oint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors no metadata id ref attribute in
subject in filter metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endp

oint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -2905,7 +3208,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors empty metadata id ref attribute in
subject in filter metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><co

n:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors empty metadata id ref attribute in
subject in filter metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><co

n:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -2953,7 +3256,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.ma.query")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors invalid metadata id ref attribute in
subject in filter metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding
><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors invalid metadata id ref attribute in
subject in filter metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding
><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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"
@@ -3001,7 +3304,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization no select parameter in filter
metadata"><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 select parameter in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080

/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization no select parameter in filter
metadata"><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 select parameter in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080

/geant2_java-rrd-ma-2.3-RC3/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"
@@ -3044,7 +3347,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization parameter namespace other than
select in filter metadata"><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 parameter namespace other than select in filter
metadata" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><co

n:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization parameter namespace other than
select in filter metadata"><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 parameter namespace other than select in filter
metadata" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><co

n:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
@@ -3080,7 +3383,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards no parameter elements in filter
metadata"><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 parameter elements in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/g

eant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards no parameter elements in filter
metadata"><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 parameter elements in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/g

eant2_java-rrd-ma-2.3-RC3/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"
@@ -3124,7 +3427,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards parameters element has no id
attribute in filter metadata"><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 parameters element has no id attribute in filter
metadata" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:en

dpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Discards parameters element has no id
attribute in filter metadata"><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 parameters element has no id attribute in filter
metadata" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:en

dpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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:discards="http://ggf.org/ns/nmwg/characteristic/discards/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
@@ -3161,7 +3464,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter namespace other than nmwg
in filter metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>htt

p://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter namespace other than nmwg
in filter metadata"><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" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>htt

p://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
@@ -3198,7 +3501,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter with no name attribute in
filter metadata"><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 with no name attribute in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://19

2.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter with no name attribute in
filter metadata"><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 with no name attribute in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://19

2.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
@@ -3235,7 +3538,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter with empty name attribute
in filter metadata"><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 with empty name attribute in filter
metadata" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>htt

p://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter with empty name attribute
in filter metadata"><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 with empty name attribute in filter
metadata" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>htt

p://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
@@ -3272,7 +3575,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter with no value in filter
metadata"><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 with no value in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/g

eant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors parameter with no value in filter
metadata"><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 with no value in filter metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/g

eant2_java-rrd-ma-2.3-RC3/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/";>
@@ -3309,7 +3612,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization key with namespace other than
nmwg metadata"><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 key with namespace other than nmwg metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.

10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization key with namespace other than
nmwg metadata"><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 key with namespace other than nmwg metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.

10.86:8080/geant2_java-rrd-ma-2.3-RC3/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 id="msg1" type="MetadataKeyRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
@@ -3346,7 +3649,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization key with no parameters
metadata"><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 key with no parameters metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-r

rd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Utilization key with no parameters
metadata"><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 key with no parameters metadata"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-r

rd-ma-2.3-RC3/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 id="msg1" type="MetadataKeyRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
@@ -3376,33 +3679,33 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors no metadataIdRef in
data"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/services/Measu
rementArchiveService</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/";>
- <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>
- <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" />
- </nmwg:message>
- </soapenv:Body>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Schema Compliance"><con:configuration><definition>file:C:\Documents
and Settings\IBM\My
Documents\JavaRRDMAsoapUI\rrd-ma-metadata-res.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors no metadataIdRef in
data"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/Measu
rementArchiveService</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/";>
+ <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>
+ <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" />
+ </nmwg:message>
+ </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="Schema
Compliance"><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="SOAP Fault Assertion"/><con:assertion type="XPath
Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
@@ -3413,33 +3716,33 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors empty metadataIdRef in
data"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
- <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>
- <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="" />
- </nmwg:message>
- </soapenv:Body>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors empty metadataIdRef in
data"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
+ <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>
+ <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="" />
+ </nmwg:message>
+ </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="Schema
Compliance"><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="SOAP Fault Assertion"/><con:assertion type="XPath
Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
@@ -3450,33 +3753,33 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors non valid metadataIdRef in
data"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
- <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>
- <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="hello" />
- </nmwg:message>
- </soapenv:Body>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata-Errors non valid metadataIdRef in
data"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
+ <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>
+ <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="hello" />
+ </nmwg:message>
+ </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="Schema
Compliance"><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="SOAP Fault Assertion"/><con:assertion type="XPath
Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
@@ -3487,7 +3790,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="warning.common.no_metadata")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Requests containing invalid data"
searchProperties="true"><con:settings/><con:testStep type="request"
name="Metadata - Errors wrong hostname"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Requests containing invalid data"
searchProperties="true"><con:settings/><con:testStep type="request"
name="Metadata - Errors wrong hostname"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
@@ -3526,7 +3829,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong
ifName"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/"; xm
lns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong
ifName"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/"; xm
lns: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/";>
@@ -3565,7 +3868,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong
ifAdress"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong
ifAdress"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
@@ -3604,7 +3907,7 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong
ifIndex"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC1/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/";>
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata - Errors wrong
ifIndex"><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"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
@@ -3643,4 +3946,3446 @@
and

(fn:string(//nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase></con:testSuite></con:soapui-project>
\ No newline at end of file
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Copy of Metadata - Errors wrong
ifIndex"><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 wrong ifIndex"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://leonidas.cynet.ac.cy:8080/perfSONAR-RRD-MA-2.0/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/nmw
g/topology/2.0/" xmlns:ns2="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message type="SetupDataRequest" id="datarq2-1"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";>
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifName>GEANT-Milano</nmwgt:ifName>
+ <nmwgt:direction>out</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="1" metadataIdRef="meta1"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="Schema
Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP
Fault Assertion"/><con:assertion type="XPath
Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";;
+
+(count(//nmwg:metadata)=count(//nmwg:data))
+and
+(fn:string(//nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration")
+and
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase></con:testSuite><con:testSuite

name="SetupDataRequest"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Valid and well formed Requests"
searchProperties="true"><con:settings/><con:testStep type="request"
name="SetupData"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils =
new com.eviware.soapui.support.GroovyUtils( context )
+//println messageExchange.getResponseContent();
+Hashtable fileValues = new Hashtable();
+(new File("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/rrd_out")).withReader(){reader->
+ reader.readLine();
+ reader.readLine();
+
+ reader.eachLine(){line->
+ def Values =line.split(": ");
+ def util=Values[1].split(" ");
+ if(util[0].equals("nan")){
+ fileValues.put(Values[0],'NaN');
+ }
+ else{
+ fileValues.put(Values[0],(new
Double(util[0]).intValue()).toString());
+ }
+ }
+ }
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+Hashtable rrdValues = new Hashtable();
+
+//println values[5];
+for(i in 1..values.length-1){;
+rrdValues.put(timeValues[i],values[i]);
+}
+
+//assert holder["//nmwg:message/nmwg:metadata"] != null
+//def str = "hello"
+//assert values.toString().contains('7999');
+//println "-----------------------------------------------------"
+def keys=rrdValues.keys();
+
+ while(keys.hasMoreElements()){
+
+ def key=keys.nextElement();
+
+//println fileValues.get(key);
+//println rrdValues.get(key);
+
+ assert rrdValues.get(key).startsWith( fileValues.get(key) )

+
+ }</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:hostName)="test-hostName")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifName)="test-0")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifDescription)="test
descripyion")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress)="10.1.2.3")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:authRealm)="TestRealm")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:capacity)="1000BaseT")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="supportedEventType"])="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData with Key"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData with
Key"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="file">/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ <select:parameters id="sp1">
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ </select:parameters>
+ </nmwg:key>
+ </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"><con:configuration><scriptText>def groovyUtils =
new com.eviware.soapui.support.GroovyUtils( context )
+//println messageExchange.getResponseContent();
+Hashtable fileValues = new Hashtable();
+(new File("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/rrd_out")).withReader(){reader->
+ reader.readLine();
+ reader.readLine();
+
+ reader.eachLine(){line->
+ def Values =line.split(": ");
+ def util=Values[1].split(" ");
+ if(util[0].equals("nan")){
+ fileValues.put(Values[0],'NaN');
+ }
+ else{
+ fileValues.put(Values[0],(new
Double(util[0]).intValue()).toString());
+ }
+ }
+ }
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+Hashtable rrdValues = new Hashtable();
+
+//println values[5];
+for(i in 1..values.length-1){;
+rrdValues.put(timeValues[i],values[i]);
+}
+
+//assert holder["//nmwg:message/nmwg:metadata"] != null
+//def str = "hello"
+//assert values.toString().contains('7999');
+//println "-----------------------------------------------------"
+def keys=rrdValues.keys();
+
+ while(keys.hasMoreElements()){
+
+ def key=keys.nextElement();
+
+//println fileValues.get(key);
+//println rrdValues.get(key);
+
+ assert rrdValues.get(key).startsWith( fileValues.get(key) )

+
+ }</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSource"])="inoctets")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"])="/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSourceType"])="ABSOLUTE")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSourceStep"])="300")</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData with Key and select
parameters"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData with Key and select
parameters"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="file">/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils =
new com.eviware.soapui.support.GroovyUtils( context )
+//println messageExchange.getResponseContent();
+Hashtable fileValues = new Hashtable();
+(new File("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/rrd_out")).withReader(){reader->
+ reader.readLine();
+ reader.readLine();
+
+ reader.eachLine(){line->
+ def Values =line.split(": ");
+ def util=Values[1].split(" ");
+ if(util[0].equals("nan")){
+ fileValues.put(Values[0],'NaN');
+ }
+ else{
+ fileValues.put(Values[0],(new
Double(util[0]).intValue()).toString());
+ }
+ }
+ }
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+Hashtable rrdValues = new Hashtable();
+
+//println values[5];
+for(i in 1..values.length-1){;
+rrdValues.put(timeValues[i],values[i]);
+}
+
+//assert holder["//nmwg:message/nmwg:metadata"] != null
+//def str = "hello"
+//assert values.toString().contains('7999');
+//println "-----------------------------------------------------"
+def keys=rrdValues.keys();
+
+ while(keys.hasMoreElements()){
+
+ def key=keys.nextElement();
+
+//println fileValues.get(key);
+//println rrdValues.get(key);
+
+ assert rrdValues.get(key).startsWith( fileValues.get(key) )

+
+ }</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSource"])="inoctets")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"])="/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSourceType"])="ABSOLUTE")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSourceStep"])="300")</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData with no filtering"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData with no filtering"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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: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"><con:configuration><scriptText>def groovyUtils =
new com.eviware.soapui.support.GroovyUtils( context )
+//println messageExchange.getResponseContent();
+Hashtable fileValues = new Hashtable();
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+
+//println values[5];
+for(i in 1..values.length-1){;
+
+ if(!values[i].equals("NaN")) assert false;
+}
+
+</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:hostName)="test-hostName")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifName)="test-0")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifDescription)="test
descripyion")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress)="10.1.2.3")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:authRealm)="TestRealm")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:capacity)="1000BaseT")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="supportedEventType"])="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData with Key old select
parameters"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData with Key old select
parameters"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg5" type="SetupDataRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="631d3fb1:10f99d4f612:f88">
+ <nmwg:parameters id="631d3fb1:10f99d4f612:f89">
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter
name="file">/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ </nmwg:parameters>
+ </nmwg:key>
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSource"])="inoctets")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="file"])="/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="eventType"]/@value)="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSourceType"])="ABSOLUTE")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:key/nmwg:parameters/nmwg:parameter[@name="dataSourceStep"])="300")</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData just ifName"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData just ifName"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils =
new com.eviware.soapui.support.GroovyUtils( context )
+//println messageExchange.getResponseContent();
+Hashtable fileValues = new Hashtable();
+(new File("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/rrd_out")).withReader(){reader->
+ reader.readLine();
+ reader.readLine();
+
+ reader.eachLine(){line->
+ def Values =line.split(": ");
+ def util=Values[1].split(" ");
+ if(util[0].equals("nan")){
+ fileValues.put(Values[0],'NaN');
+ }
+ else{
+ fileValues.put(Values[0],(new
Double(util[0]).intValue()).toString());
+ }
+ }
+ }
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+Hashtable rrdValues = new Hashtable();
+
+//println values[5];
+for(i in 1..values.length-1){;
+rrdValues.put(timeValues[i],values[i]);
+}
+
+//assert holder["//nmwg:message/nmwg:metadata"] != null
+//def str = "hello"
+//assert values.toString().contains('7999');
+//println "-----------------------------------------------------"
+def keys=rrdValues.keys();
+
+ while(keys.hasMoreElements()){
+
+ def key=keys.nextElement();
+
+//println fileValues.get(key);
+//println rrdValues.get(key);
+
+ assert rrdValues.get(key).startsWith( fileValues.get(key) )

+
+ }</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:hostName)="test-hostName")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifName)="test-0")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifDescription)="test
descripyion")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress)="10.1.2.3")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:authRealm)="TestRealm")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:capacity)="1000BaseT")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="supportedEventType"])="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData just ifhostName"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData just ifhostName"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns="ht
tp://ggf.org/ns/nmwg/base/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils =
new com.eviware.soapui.support.GroovyUtils( context )
+//println messageExchange.getResponseContent();
+Hashtable fileValues = new Hashtable();
+(new File("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/rrd_out")).withReader(){reader->
+ reader.readLine();
+ reader.readLine();
+
+ reader.eachLine(){line->
+ def Values =line.split(": ");
+ def util=Values[1].split(" ");
+ if(util[0].equals("nan")){
+ fileValues.put(Values[0],'NaN');
+ }
+ else{
+ fileValues.put(Values[0],(new
Double(util[0]).intValue()).toString());
+ }
+ }
+ }
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+Hashtable rrdValues = new Hashtable();
+
+//println values[5];
+for(i in 1..values.length-1){;
+rrdValues.put(timeValues[i],values[i]);
+}
+
+//assert holder["//nmwg:message/nmwg:metadata"] != null
+//def str = "hello"
+//assert values.toString().contains('7999');
+//println "-----------------------------------------------------"
+def keys=rrdValues.keys();
+
+ while(keys.hasMoreElements()){
+
+ def key=keys.nextElement();
+
+//println fileValues.get(key);
+//println rrdValues.get(key);
+
+ assert rrdValues.get(key).startsWith( fileValues.get(key) )

+
+ }</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:hostName)="test-hostName")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifName)="test-0")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifDescription)="test
descripyion")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress)="10.1.2.3")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:authRealm)="TestRealm")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:capacity)="1000BaseT")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="supportedEventType"])="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData with key and interface
spec"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData with key and interface spec"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ <nmwg:metadata id="meta3">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="file">/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ <select:parameters id="sp1">
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ </select:parameters>
+ </nmwg:key>
+ </nmwg:metadata>
+ <nmwg:data id="data2" metadataIdRef="meta4"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils =
new com.eviware.soapui.support.GroovyUtils( context )
+//println messageExchange.getResponseContent();
+Hashtable fileValues = new Hashtable();
+(new File("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/rrd_out")).withReader(){reader->
+ reader.readLine();
+ reader.readLine();
+
+ reader.eachLine(){line->
+ def Values =line.split(": ");
+ def util=Values[1].split(" ");
+ if(util[0].equals("nan")){
+ fileValues.put(Values[0],'NaN');
+ }
+ else{
+ fileValues.put(Values[0],(new
Double(util[0]).intValue()).toString());
+ }
+ }
+ }
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+Hashtable rrdValues = new Hashtable();
+
+//println values[5];
+for(i in 1..values.length-1){;
+rrdValues.put(timeValues[i],values[i]);
+}
+
+//assert holder["//nmwg:message/nmwg:metadata"] != null
+//def str = "hello"
+//assert values.toString().contains('7999');
+//println "-----------------------------------------------------"
+def keys=rrdValues.keys();
+
+ while(keys.hasMoreElements()){
+
+ def key=keys.nextElement();
+
+//println fileValues.get(key);
+//println rrdValues.get(key);
+
+ assert rrdValues.get(key).startsWith( fileValues.get(key) )

+
+ }</scriptText></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:hostName)="test-hostName")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifName)="test-0")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifDescription)="test
descripyion")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress)="10.1.2.3")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:authRealm)="TestRealm")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:capacity)="1000BaseT")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="supportedEventType"])="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- start time only"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- start time only"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime" >-86400</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">GREAT</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:hostName)="test-hostName")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifName)="test-0")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifDescription)="test
descripyion")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress)="10.1.2.3")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:authRealm)="TestRealm")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:capacity)="1000BaseT")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="supportedEventType"])="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils
= new com.eviware.soapui.support.GroovyUtils( context )
+
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+def timeNow=(System.currentTimeMillis()/1000)+1000;
+Hashtable rrdValues = new Hashtable();
+println timeNow
+println timeValues[0]
+println Integer.parseInt( timeValues[0])+86400;
+for(i in 1..values.length-1){;
+
+if((timeNow&lt;Integer.parseInt(timeValues[i])) ) assert false;
+if(Integer.parseInt(timeValues[0])+86400 &lt;Integer.parseInt(
timeValues[i])) assert false;
+if(!values[i].equals("NaN")) assert false;
+}
+
+</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="malformed and invalid requests"
searchProperties="true"><con:settings/><con:testStep type="request"
name="SetupData - first element not message"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - first element not message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envel
ope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:perfsonar id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:perfsonar>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.parse_error</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - no type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - no type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - non existing type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - non existing type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupData"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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:request></con:config></con:testStep><con:testStep
type="request" name="SetupData -type empty in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData -type empty in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" 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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - no metadata and
data"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - no metadata and data"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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:request></con:config></con:testStep><con:testStep
type="request" name="SetupData -no metadata"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData -no metadata" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+
+ <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="XPath Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - no data"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - no data" wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- No id in
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- No id in metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata >
+ <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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Copy of SetupData- empty id in
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="Copy of SetupData- empty id in metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id ="" >
+ <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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- subject element
malformed"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- subject element malformed"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id ="meta1" >
+ <netutil:wrongsubject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:wrongsubject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- invalid subject
namespace"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- invalid subject namespace"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/wrongutilization/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 ="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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- no interface"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- no interface"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>error.ma.query</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- element name other than
interface"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- element name other than
interface"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id ="meta1" >
+ <netutil:subject id="subj1">
+ <nmwgt:interfacewrong>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interfacewrong>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- interface element
empty"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- interface element empty"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/wrongutilization/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 ="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:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- invalid
direction"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- invalid direction"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id ="meta1" >
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:direction>somewhere</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>warning.ma.metadata_configuration</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- invalid ip type in ifAddress
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- invalid ip type in ifAddress
element"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id ="meta1" >
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv8">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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>warning.ma.metadata_configuration</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- wrong namespace of interface
elements"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- wrong namespace of interface
elements"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/ntopology/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>error.common.parse_error</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- event Type element
missing"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- event Type element missing"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>error.ma.query</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- invalid event
Type"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- invalid event Type"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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/subutilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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:metadata/nmwg:eventType</path><content>error.ma.query</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - key element other than
key"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - key element other than
key"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:skey id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="file">/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ <select:parameters id="sp1">
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ </select:parameters>
+ </nmwg:skey>
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>warning.common.no_metadata</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - key element with no
parameters"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - key element with no
parameters"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+
+ </nmwg:key>
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.ma.query</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - no file
parameter"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - no file
parameter"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ <select:parameters id="sp1">
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ </select:parameters>
+ </nmwg:key>
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="RRDStorageManager.rrdFetch: no file
element in the
key"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- key with wrong file
parameter"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- key with wrong file
parameter"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="file">/home/mike/geant2_java-rrd-ma-2.3-RC/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ <select:parameters id="sp1">
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ </select:parameters>
+ </nmwg:key>
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.rrdma.rrdjtool"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="RRDStorageManager.rrdFetch: Cannot
retrieve data from rrdjtool library: RRDFETCH failed: opening
'/home/mike/geant2_java-rrd-ma-2.3-RC/samples/rrd/test.rrd': No such file or
directory"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- key with the file parameter named
differently"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- key with the file parameter named
differently"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/env
elope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter name="dataSource">inoctets</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="nofile">/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ <select:parameters id="sp1">
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ </select:parameters>
+ </nmwg:key>
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="RRDStorageManager.rrdFetch: no file
element in the
key"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- key with no
datasource"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- key with no
datasource"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="file">/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ <select:parameters id="sp1">
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ </select:parameters>
+ </nmwg:key>
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="RRDStorageManager.rrdFetch: no ds
element in the
key"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- key with wrong
datasource"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- key with wrong
datasource"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <nmwg:key id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f57">
+ <nmwg:parameters
id="localhost.localdomain.5f5db2e6:114ee11a37e:-7f56">
+ <nmwg:parameter
name="dataSourceMinValue">0</nmwg:parameter>
+ <nmwg:parameter name="dataSource">octets</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceHeartbeat">400</nmwg:parameter>
+ <nmwg:parameter name="dataSourceStep">300</nmwg:parameter>
+ <nmwg:parameter
name="file">/home/mike/geant2_java-rrd-ma-2.3-RC3/samples/rrd/test.rrd</nmwg:parameter>
+ <nmwg:parameter
name="dataSourceMaxValue">10000000</nmwg:parameter>
+ <nmwg:parameter name="valueUnits">Bps</nmwg:parameter>
+ <nmwg:parameter name="eventType"
value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
+ <nmwg:parameter
name="dataSourceType">ABSOLUTE</nmwg:parameter>
+ </nmwg:parameters>
+ <select:parameters id="sp1">
+ <nmwg:parameter
name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ </select:parameters>
+ </nmwg:key>
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.rrdma.rrd_file"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="RRDStorageManager.getRRDColumn: No
octets column/data source in RRD
file"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData-no event type in filter
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData-no event type in filter metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="RRDTypeMAServiceEngine._getKey:
something wrong with eventType in metadata
id=meta2"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData-wrong event type in filter
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData-wrong event type in filter
metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmln
s:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="RRDTypeMAServiceEngine._getKey:
eventType http://ggf.org/ns/nmwg/characteristic/utilization/2.0 in metadata
id=meta2 is not
supported"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData-no metadataIdRef in filter
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData-no metadataIdRef in filter
metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapen
v="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" />
+ <select:parameters id="param1">
+ <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: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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="MetadataQueryGeneratorFactory.getMetadataQueryGenerator:
eventType http://ggf.org/ns/nmwg/ops/select/2.0 is not
supported"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData-wrong metadataIdRef in filter
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData-wrong metadataIdRef in filter
metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="htt
p://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta" />
+ <select:parameters id="param1">
+ <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: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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.common.no_metadata"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="No output metadata was returned by
MessageHandler. Maybe there was no data trigger, or data trigger didn't have
valid
metadataIdRef?"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData-no subject element in filter
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData-no subject element in filter
metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2" >
+
+ <select:parameters id="param1">
+ <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: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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="MetadataQueryGeneratorFactory.getMetadataQueryGenerator:
eventType http://ggf.org/ns/nmwg/ops/select/2.0 is not
supported"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData-no parameters element in filter
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData-no parameters element in filter
metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+
<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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="MetadataQueryGeneratorFactory.getMetadataQueryGenerator:
eventType http://ggf.org/ns/nmwg/ops/select/2.0 is not
supported"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- parameters element empty in filter
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- parameters element empty in filter
metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+
+ </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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="MetadataQueryGeneratorFactory.getMetadataQueryGenerator:
eventType http://ggf.org/ns/nmwg/ops/select/2.0 is not
supported"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- parameter element with no value attribute or
text"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- parameter element with no value attribute or
text"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime"></nmwg:parameter>
+ <nmwg:parameter name="endTime"></nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.ma.query"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="MetadataQueryGeneratorFactory.getMetadataQueryGenerator:
eventType http://ggf.org/ns/nmwg/ops/select/2.0 is not
supported"</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- no name attribute in parameter in filter
metadata"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- no name attribute in parameter in filter
metadata"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter >1186735200</nmwg:parameter>
+ <nmwg:parameter >1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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="GroovyScriptAssertion"><con:configuration><scriptText>def groovyUtils =
new com.eviware.soapui.support.GroovyUtils( context )
+//println messageExchange.getResponseContent();
+Hashtable fileValues = new Hashtable();
+
+def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
+def values= holder["//nmwg:message/nmwg:data/netutil:datum/@value"];
+def timeValues= holder["//nmwg:message/nmwg:data/netutil:datum/@timeValue"];
+
+//println values[5];
+for(i in 1..values.length-1){;
+
+ if(!values[i].equals("NaN")) assert false;
+}
+
+</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/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";;
+
+(count(//nmwg:message/nmwg:data) = count(//nmwg:message/nmwg:data))
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:hostName)="test-hostName")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifName)="test-0")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifDescription)="test
descripyion")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:ifAddress)="10.1.2.3")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:authRealm)="TestRealm")
+and
+(fn:string(//nmwg:message/nmwg:metadata/netutil:subject/nmwgt:interface/nmwgt:capacity)="1000BaseT")
+and
+(fn:string(//nmwg:message/nmwg:metadata/nmwg:parameters/nmwg:parameter[@name="supportedEventType"])="http://ggf.org/ns/nmwg/characteristic/utilization/2.0";)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- wrong metadataIdRef in
data"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- wrong metadataIdRef in data"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/s
oap/envelope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime" >1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime" >1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.common.no_metadata"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="No output metadata was returned by
MessageHandler. Maybe there was no data trigger, or data trigger didn't have
valid
metadataIdRef?"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- no metadataIdRef in
data"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- no metadataIdRef in data"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.x
mlsoap.org/soap/envelope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime" >1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime" >1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" />
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.common.no_metadata"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="No output metadata was returned by
MessageHandler. Maybe there was no data trigger, or data trigger didn't have
valid
metadataIdRef?"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- empty metadataIdRef in
data"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- empty metadataIdRef in data"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://sch
emas.xmlsoap.org/soap/envelope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime" >1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime" >1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef=""/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.common.no_metadata"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="No output metadata was returned by
MessageHandler. Maybe there was no data trigger, or data trigger didn't have
valid
metadataIdRef?"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
name="Requests with invalid data"
searchProperties="true"><con:settings/><con:testStep type="request"
name="SetupData- start time bigger than end time"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- start time bigger than end time"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con

:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime" >1186739200</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: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"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="error.rrdma.rrdjtool"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="RRDStorageManager.rrdFetch: Cannot
retrieve data from rrdjtool library: RRDFETCH failed: start (1186739200)
should be less than end
(1186739100)"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- wrong If address"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- wrong If address"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoa
p.org/soap/envelope/" xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/";>
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifAddress type="ipv4">10.1.2.33</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:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="SimpleMetadataConfigurationStorageManager.fetch:
No metadata in metadata configuration
file"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- wrong hostname"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- wrong hostname"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns="http://ggf.org/ns/nmwg/ba
se/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostNamewrong</nmwgt:hostName>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifIndex>2</nmwgt:ifIndex>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:capacity>1000000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="SimpleMetadataConfigurationStorageManager.fetch:
No metadata in metadata configuration
file"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- invalid
direction"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- invalid direction"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns="http://ggf.org/ns/n
mwg/base/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:hostName>test-hostName</nmwgt:hostName>
+ <nmwgt:ifName>test-0</nmwgt:ifName>
+ <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
+ <nmwgt:ifIndex>2</nmwgt:ifIndex>
+ <nmwgt:direction>else</nmwgt:direction>
+ <nmwgt:capacity>1000000000</nmwgt:capacity>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="SimpleMetadataConfigurationStorageManager.fetch:
No metadata in metadata configuration
file"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- wrong if index"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- wrong if index"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns="http://ggf.org/ns/nmwg/ba
se/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <nmwg:message id="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifIndex>12</nmwgt:ifIndex>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="SimpleMetadataConfigurationStorageManager.fetch:
No metadata in metadata configuration
file"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- wrong if name"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- wrong if name"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC3/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="msg4" type="SetupDataRequest"
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/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
+ <nmwg:metadata id="meta1">
+ <netutil:subject id="subj1">
+ <nmwgt:interface>
+ <nmwgt:ifName>test</nmwgt:ifName>
+ <nmwgt:direction>in</nmwgt:direction>
+ <nmwgt:direction>in</nmwgt:direction>
+ </nmwgt:interface>
+ </netutil:subject>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:metadata id="meta2">
+ <select:subject id="iusub2" metadataIdRef="meta1"/>
+ <select:parameters id="param1">
+ <nmwg:parameter name="startTime">1186735200</nmwg:parameter>
+ <nmwg:parameter name="endTime">1186739100</nmwg:parameter>
+ <nmwg:parameter
name="consolidationFunction">AVERAGE</nmwg:parameter>
+ <nmwg:parameter name="resolution">60</nmwg:parameter>
+ </select:parameters>
+
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data1" metadataIdRef="meta2"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><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("C:/Documents and Settings/IBM/My
Documents/JavaRRDMAsoapUI/SetupDataResponse.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"><con:configuration><path>declare namespace
nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
+
+(//nmwg:message/nmwg:metadata/nmwg:eventType)="warning.ma.metadata_configuration"
+and
+(//nmwg:message/nmwg:data/nmwgr:datum)="SimpleMetadataConfigurationStorageManager.fetch:
No metadata in metadata configuration
file"</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase></con:testSuite></con:soapui-project>
\ No newline at end of file

Added: trunk/functional-testing/JavaRRDMAsoapUI/rrd-ma-setupdata-req.wsdl

Added: trunk/functional-testing/JavaRRDMAsoapUI/rrd-ma-setupdata-res.wsdl

Added: trunk/functional-testing/JavaRRDMAsoapUI/rrd_out

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/netutil.xsd

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/nmwg.xsd

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/select.xsd

Added:
trunk/functional-testing/JavaRRDMAsoapUI/setupData-req/setupDataRequest.xsd

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/netutil.xsd

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/nmwgr.xsd

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/nmwgt.xsd

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/select.xsd

Added:
trunk/functional-testing/JavaRRDMAsoapUI/setupData-res/setupDataResponse.xsd

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupDataRequest.rnc

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupDataResponse.rnc

Added: trunk/functional-testing/JavaRRDMAsoapUI/setupDataResponse.rng



  • perfsonar: r2857 - in trunk/functional-testing/JavaRRDMAsoapUI: . setupData-req setupData-res, svnlog, 09/20/2007

Archive powered by MHonArc 2.6.16.

Top of Page