perfsonar-dev - perfsonar: r2197 - trunk/functional-testing/clmp
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r2197 - trunk/functional-testing/clmp
- Date: Thu, 8 Mar 2007 02:15:48 -0500
Author: reinwand
Date: 2007-03-08 02:15:48 -0500 (Thu, 08 Mar 2007)
New Revision: 2197
Added:
trunk/functional-testing/clmp/Echo-Req.xml
trunk/functional-testing/clmp/Echo-Resp.xml
trunk/functional-testing/clmp/cl-mp-echo.wsdl
Modified:
trunk/functional-testing/clmp/CLMP-soapui-project.xml
trunk/functional-testing/clmp/README-tests.txt
Log:
Added functional testing of BWCTL part of CL MP.
Added functional testing of EchoRequest.
Modified: trunk/functional-testing/clmp/CLMP-soapui-project.xml
===================================================================
--- trunk/functional-testing/clmp/CLMP-soapui-project.xml 2007-03-06
12:14:23 UTC (rev 2196)
+++ trunk/functional-testing/clmp/CLMP-soapui-project.xml 2007-03-08
07:15:48 UTC (rev 2197)
@@ -97,246 +97,260 @@
</soapenv:Body>
</soapenv:Envelope>]]></con:request>
</con:call>
- </con:operation>
- <con:definitionCache rootPart="file:./cl-mp-bwctlres.wsdl">
- <con:part>
- <con:url>file:./cl-mp-bwctlres/bwctlres.xsd</con:url>
- <con:content>
- <xs:schema elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import schemaLocation="cl-mp-bwctlres.xsd"
namespace="http://ggf.org/ns/nmwg/base/2.0/"/>
- <xs:import schemaLocation="nmwgt.xsd"
namespace="http://ggf.org/ns/nmwg/topology/2.0/"/>
- <xs:element name="subject">
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="nmwg:EndpointPair">
- <xs:attributeGroup ref="nmwg:Identifier"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="parameters">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" ref="nmwg:parameter"
minOccurs="0"/>
- </xs:sequence>
- <xs:attributeGroup ref="nmwg:Identifier"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="datum">
- <xs:complexType>
- <xs:attribute use="required" type="xs:float"
name="intervalEnd"/>
- <xs:attribute use="required" type="xs:float"
name="intervalStart"/>
- <xs:attribute use="required" type="xs:string"
name="intervalUnit"/>
- <xs:attribute use="required" type="xs:int" name="numBytes"/>
- <xs:attribute use="required" type="xs:string"
name="numBytesUnits"/>
- <xs:attribute type="xs:string" name="tcpAdapterType"/>
- <xs:attribute type="xs:int" name="tcpMSSSize"/>
- <xs:attribute type="xs:string" name="tcpMSSUnit"/>
- <xs:attribute type="xs:int" name="tcpMTUSize"/>
- <xs:attribute type="xs:string" name="tcpMTUUnit"/>
- <xs:attribute type="xs:int" name="tcpWindowSize"/>
- <xs:attribute type="xs:string" name="tcpWindowUnit"/>
- <xs:attribute type="xs:string" name="udpBufferUnit"/>
- <xs:attribute type="xs:int" name="udpBufferSize"/>
- <xs:attribute type="xs:string" name="udpDatagramUnit"/>
- <xs:attribute type="xs:int" name="udpDatagramSize"/>
- <xs:attribute type="xs:string" name="udpJitterUnit"/>
- <xs:attribute type="xs:float" name="udpJitter"/>
- <xs:attribute type="xs:int" name="udpPacketLoss"/>
- <xs:attribute type="xs:float"
name="udpPacketLossPercentage"/>
- <xs:attribute type="xs:int" name="udpPacketSent"/>
- <xs:attribute use="required" type="xs:float" name="value"/>
- <xs:attribute use="required" type="xs:string"
name="valueUnits"/>
- <xs:attribute use="required" type="xs:string"
name="timeType"/>
- <xs:attribute use="required" type="xs:string"
name="timeValue"/>
- </xs:complexType>
- </xs:element>
- </xs:schema>
- </con:content>
- <con:type>http://www.w3.org/2001/XMLSchema</con:type>
- </con:part>
- <con:part>
- <con:url>file:./cl-mp-bwctlres/cl-mp-bwctlres.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">
- <xs:import schemaLocation="bwctlres.xsd"
namespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"/>
- <xs:import schemaLocation="nmwgt.xsd"
namespace="http://ggf.org/ns/nmwg/topology/2.0/"/>
- <xs:element type="nmwg:MessageContent" name="message"/>
- <xs:complexType name="MessageContent">
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="nmwg:metadata"/>
- <xs:element ref="nmwg:data"/>
- </xs:choice>
- <xs:attribute type="xs:string" name="id"/>
- <xs:attribute type="xs:string" name="messageIdRef"/>
- <xs:attributeGroup ref="nmwg:Type"/>
- </xs:complexType>
- <xs:attributeGroup name="Identifier">
- <xs:attribute use="required" type="xs:string" name="id"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="MessageIdentifierRef">
- <xs:attribute use="required" type="xs:string"
name="messageIdRef"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="Type">
- <xs:attribute use="required" name="type">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="MeasurementResponse"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:attributeGroup>
- <xs:element name="metadata">
- <xs:complexType>
- <xs:choice>
- <xs:group ref="nmwg:BwctlMetadataContent"/>
- <xs:element ref="bwctlres:parameters"/>
- </xs:choice>
- <xs:attributeGroup ref="nmwg:Identifier"/>
- <xs:attribute type="xs:string" name="metadataIdRef"/>
- </xs:complexType>
- </xs:element>
- <xs:group name="BwctlMetadataContent">
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="bwctlres:subject"/>
- <xs:element ref="bwctlres:parameters"/>
- <xs:element ref="nmwg:eventType"/>
- </xs:choice>
- </xs:sequence>
- </xs:group>
- <xs:complexType name="EndpointPair">
- <xs:sequence>
- <xs:element ref="nmwgt:endPointPair"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="EndpointPairContent">
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="nmwgt:src"/>
- <xs:element ref="nmwgt:dst"/>
- </xs:choice>
- </xs:complexType>
- <xs:attributeGroup name="EndpointContent">
- <xs:attribute type="xs:string" name="value"/>
- <xs:attribute use="required" type="xs:string" name="type"/>
- <xs:attribute type="xs:int" name="port"/>
- </xs:attributeGroup>
- <xs:element name="eventType">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="bwctl"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="parameter">
- <xs:complexType mixed="true">
- <xs:attribute use="required" name="name">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="interval"/>
- <xs:enumeration value="length"/>
- <xs:enumeration value="windowSize"/>
- <xs:enumeration value="dynamicWindowSize"/>
- <xs:enumeration value="concurrentConnections"/>
- <xs:enumeration value="sessionInterval"/>
- <xs:enumeration value="bandwidth"/>
- <xs:enumeration value="duration"/>
- <xs:enumeration value="tos"/>
- <xs:enumeration value="testNumber"/>
- <xs:enumeration value="randomize"/>
- <xs:enumeration value="latestDelay"/>
- <xs:enumeration value="protocol"/>
- <xs:enumeration value="role"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="value"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="data">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" ref="bwctlres:datum"
minOccurs="0"/>
- </xs:sequence>
- <xs:attributeGroup ref="nmwg:Identifier"/>
- <xs:attributeGroup ref="nmwg:MetadataIdentifierRef"/>
- </xs:complexType>
- </xs:element>
- <xs:attributeGroup name="MetadataIdentifierRef">
- <xs:attribute use="required" type="xs:string"
name="metadataIdRef"/>
- </xs:attributeGroup>
- </xs:schema>
- </con:content>
- <con:type>http://www.w3.org/2001/XMLSchema</con:type>
- </con:part>
- <con:part>
- <con:url>file:./cl-mp-bwctlres/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">
- <xs:import schemaLocation="cl-mp-bwctlres.xsd"
namespace="http://ggf.org/ns/nmwg/base/2.0/"/>
- <xs:import schemaLocation="bwctlres.xsd"
namespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"/>
- <xs:element type="nmwg:EndpointPairContent" name="endPointPair"/>
- <xs:element name="src">
- <xs:complexType mixed="true">
- <xs:attributeGroup ref="nmwg:EndpointContent"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="dst">
- <xs:complexType mixed="true">
- <xs:attributeGroup ref="nmwg:EndpointContent"/>
- </xs:complexType>
- </xs:element>
- </xs:schema>
- </con:content>
- <con:type>http://www.w3.org/2001/XMLSchema</con:type>
- </con:part>
- <con:part>
- <con:url>file:./cl-mp-bwctlres.wsdl</con:url>
- <con:content>
- <definitions name="CL-MP"
targetNamespace="http://ggf.org/ns/nmwg/base/2.0/"
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="cl-mp-bwctlres/cl-mp-bwctlres.xsd"/>
- </schema>
- </types>
- <message name="MeasurementRequest">
- <part name="MessageRequest" element="tns:message"/>
- </message>
- <message name="MeasurementResponse">
- <part name="MessageResponse" element="tns:message"/>
- </message>
- <portType name="CL-MP-BWCTL">
- <operation name="Measurement">
- <input message="tns:MeasurementRequest"/>
- <output message="tns:MeasurementResponse"/>
- </operation>
- </portType>
- <binding type="tns:CL-MP-BWCTL" name="MeasurementBinding">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
- <operation name="Measurement">
- <soap:operation soapAction="" style="document"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
- <input>
- <soap:body use="literal"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
- </input>
- <output>
- <soap:body use="literal"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
- </output>
- </operation>
- </binding>
- <service name="CL MP">
- <documentation>
+ <con:call name="default"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1"/>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request></con:call></con:operation>
+
+ <con:definitionCache
rootPart="file:./cl-mp-bwctlres.wsdl"><con:part><con:url>file:./cl-mp-bwctlres/bwctlres.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctlres="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+ <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/"
schemaLocation="cl-mp-bwctlres.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/topology/2.0/"
schemaLocation="nmwgt.xsd"/>
+ <xs:element name="subject">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="nmwg:EndpointPair">
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="parameters">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded"
ref="nmwg:parameter"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="datum">
+ <xs:complexType>
+ <xs:attribute name="intervalEnd" use="required" type="xs:float"/>
+ <xs:attribute name="intervalStart" use="required" type="xs:float"/>
+ <xs:attribute name="intervalUnit" use="required" type="xs:string"/>
+ <xs:attribute name="numBytes" use="required" type="xs:int"/>
+ <xs:attribute name="numBytesUnits" use="required" type="xs:string"/>
+ <xs:attribute name="tcpAdapterType" type="xs:string"/>
+ <xs:attribute name="tcpMSSSize" type="xs:int"/>
+ <xs:attribute name="tcpMSSUnit" type="xs:string"/>
+ <xs:attribute name="tcpMTUSize" type="xs:int"/>
+ <xs:attribute name="tcpMTUUnit" type="xs:string"/>
+ <xs:attribute name="tcpWindowSize" type="xs:int"/>
+ <xs:attribute name="tcpWindowUnit" type="xs:string"/>
+ <xs:attribute name="udpBufferUnit" type="xs:string"/>
+ <xs:attribute name="udpBufferSize" type="xs:int"/>
+ <xs:attribute name="udpDatagramUnit" type="xs:string"/>
+ <xs:attribute name="udpDatagramSize" type="xs:int"/>
+ <xs:attribute name="udpJitterUnit" type="xs:string"/>
+ <xs:attribute name="udpJitter" type="xs:float"/>
+ <xs:attribute name="udpPacketLoss" type="xs:int"/>
+ <xs:attribute name="udpPacketLossPercentage" type="xs:float"/>
+ <xs:attribute name="udpPacketSent" type="xs:int"/>
+ <xs:attribute name="value" use="required" type="xs:float"/>
+ <xs:attribute name="valueUnits" use="required" type="xs:string"/>
+ <xs:attribute name="timeType" use="required" type="xs:string"/>
+ <xs:attribute name="timeValue" use="required" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlres/cl-mp-bwctlres.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:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctlres="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+ <xs:import namespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
schemaLocation="bwctlres.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:metadata"/>
+ <xs:element ref="nmwg:data"/>
+ </xs:choice>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="messageIdRef" type="xs:string"/>
+ <xs:attributeGroup ref="nmwg:Type"/>
+ </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="MeasurementResponse"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:element name="metadata">
+ <xs:complexType>
+ <xs:choice>
+ <xs:group ref="nmwg:BwctlMetadataContent"/>
+ <xs:element ref="bwctlres:parameters"/>
+ </xs:choice>
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ <xs:attribute name="metadataIdRef" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:group name="BwctlMetadataContent">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="bwctlres:subject"/>
+ <xs:element ref="bwctlres:parameters"/>
+ <xs:element ref="nmwg:eventType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+ <xs:complexType name="EndpointPair">
+ <xs:sequence>
+ <xs:element ref="nmwgt:endPointPair"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="EndpointPairContent">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="nmwgt:src"/>
+ <xs:element ref="nmwgt:dst"/>
+ </xs:choice>
+ </xs:complexType>
+ <xs:attributeGroup name="EndpointContent">
+ <xs:attribute name="value" type="xs:string"/>
+ <xs:attribute name="type" use="required" type="xs:string"/>
+ <xs:attribute name="port" type="xs:int"/>
+ </xs:attributeGroup>
+ <xs:element name="eventType">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="bwctl"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="parameter">
+ <xs:complexType mixed="true">
+ <xs:attribute name="name" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="interval"/>
+ <xs:enumeration value="length"/>
+ <xs:enumeration value="windowSize"/>
+ <xs:enumeration value="dynamicWindowSize"/>
+ <xs:enumeration value="concurrentConnections"/>
+ <xs:enumeration value="sessionInterval"/>
+ <xs:enumeration value="bandwidth"/>
+ <xs:enumeration value="duration"/>
+ <xs:enumeration value="tos"/>
+ <xs:enumeration value="testNumber"/>
+ <xs:enumeration value="randomize"/>
+ <xs:enumeration value="latestDelay"/>
+ <xs:enumeration value="protocol"/>
+ <xs:enumeration value="role"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="value"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="data">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded"
ref="bwctlres:datum"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ <xs:attributeGroup ref="nmwg:MetadataIdentifierRef"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="MetadataIdentifierRef">
+ <xs:attribute name="metadataIdRef" use="required" type="xs:string"/>
+ </xs:attributeGroup>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlres/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:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctlres="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+ <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/"
schemaLocation="cl-mp-bwctlres.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
schemaLocation="bwctlres.xsd"/>
+ <xs:element name="endPointPair" type="nmwg:EndpointPairContent"/>
+ <xs:element name="src">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="nmwg:EndpointContent"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="dst">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="nmwg:EndpointContent"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlres.wsdl</con:url><con:content><definitions
name="CL-MP" 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="cl-mp-bwctlres/cl-mp-bwctlres.xsd"/>
+ </schema>
+ </types>
+
+ <message name="MeasurementRequest">
+ <part name="MessageRequest" element="tns:message"/>
+ </message>
+
+ <message name="MeasurementResponse">
+ <part name="MessageResponse" element="tns:message"/>
+ </message>
+
+ <portType name="CL-MP-BWCTL">
+ <operation name="Measurement">
+ <input message="tns:MeasurementRequest"/>
+ <output message="tns:MeasurementResponse"/>
+ </operation>
+ </portType>
+
+ <binding name="MeasurementBinding" type="tns:CL-MP-BWCTL">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="Measurement">
+ <soap:operation style="document" soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+
+ <service name="CL MP">
+ <documentation>
SOAP Service to provide access to CL Measurement Point.
</documentation>
- <port binding="tns:MeasurementBinding" name="MeasurementPort">
- <soap:address
location="http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
- </port>
- </service>
- </definitions>
- </con:content>
- <con:type>http://schemas.xmlsoap.org/wsdl/</con:type>
- </con:part>
- </con:definitionCache>
- </con:interface>
+ <port name="MeasurementPort" binding="tns:MeasurementBinding">
+ <soap:address
location="http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService"/>
+ </port>
+ </service>
+
+</definitions></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache></con:interface>
<con:interface definition="file:./cl-mp-owampreq.wsdl" name="CL-MP-OWAMP"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}MeasurementBinding">
<con:settings/>
<con:endpoints>
@@ -567,17 +581,293 @@
</service>
</definitions></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache></con:interface>
+ <con:interface name="CL-MP-ECHO"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}EchoBinding"
definition="file:./cl-mp-echo.wsdl"><con:settings/><con:endpoints><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con:endpoint></con:endpoints><con:operation
action="" name="Echo" bindingOperationName="Echo" inputName="" outputName=""
isOneWay="false" receivesAttachments="false"
sendsAttachments="false"><con:settings/><con:call
name="EchoRequest"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="EchoRequest"
+ id="id1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request></con:call></con:operation><con:definitionCache
rootPart="file:./cl-mp-echo.wsdl"><con:part><con:url>file:./cl-mp-echo.wsdl</con:url><con:content><definitions
name="CL-MP" 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">
+ <element name="message"/>
+ </schema>
+ </types>
+
+ <message name="EchoRequest">
+ <part name="EchoRequest" element="tns:message"/>
+ </message>
+
+ <message name="EchoResponse">
+ <part name="EchoResponse" element="tns:message"/>
+ </message>
+
+ <portType name="CL-MP-ECHO">
+ <operation name="Echo">
+ <input message="tns:EchoRequest"/>
+ <output message="tns:EchoResponse"/>
+ </operation>
+ </portType>
+
+ <binding name="EchoBinding" type="tns:CL-MP-ECHO">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="Echo">
+ <soap:operation style="document" soapAction=""/>
+ <input>
+ <soap:body use="literal"/>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+
+ <service name="CL MP">
+ <documentation>
+ SOAP Service to provide access to CL Measurement Point.
+ </documentation>
+ <port name="EchoPort" binding="tns:EchoBinding">
+ <soap:address
location="http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService"/>
+ </port>
+ </service>
+
+</definitions></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache></con:interface>
<con:testSuite name="CL-MP-BWCTL">
<con:settings/>
<con:runType>SEQUENTIAL</con:runType>
- <con:testCase searchProperties="true" failOnError="true"
keepSession="false" name="Well formed and valid">
+ <con:testCase searchProperties="true" failOnError="false"
keepSession="false" name="Well formed and valid">
<con:settings/>
- <con:testStep type="request" name="bwctl request tcp 1">
+ <con:testStep type="request" name="default"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="default"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1"/>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep>
+ <con:testStep type="request"
name="duration=2"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="duration=2"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="src and dst"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="src and dst"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="200.159.254.223"/>
+ <nmwgt:dst type="ipv4" value="131.188.81.178"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="protocol=tcp">
<con:settings/>
<con:config type="con:RequestStep" xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:interface>CL-MP-BWCTL</con:interface>
<con:operation>Measurement</con:operation>
- <con:request wssPasswordType="" name="bwctl request tcp 1">
+ <con:request wssPasswordType="" name="protocol=tcp">
<con:settings/>
<con:encoding>UTF-8</con:encoding>
<con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con:endpoint>
@@ -596,7 +886,10 @@
</nmwgt:endPointPair>
</bwctl:subject>
<nmwg:eventType>bwctl</nmwg:eventType>
- <bwctl:parameters id="param1"/>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="protocol" value="tcp"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
</nmwg:metadata>
<nmwg:metadata id="metasend" metadataIdRef="metabase">
@@ -620,9 +913,7 @@
</soapenv:Envelope>]]></con:request>
<con:assertion type="SOAP Fault Assertion"/>
<con:assertion type="Schema Compliance">
- <con:configuration>
- <definition>file:./cl-mp-bwctlres.wsdl</definition>
- </con:configuration>
+
<con:configuration><definition>file:./cl-mp-bwctlres.wsdl</definition></con:configuration>
</con:assertion>
<con:assertion type="XPath Match">
<con:configuration>
@@ -644,9 +935,2290 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep>
- </con:testCase>
- </con:testSuite>
+ </con:testStep><con:testStep type="request"
name="protocol=udp"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="protocol=udp"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="protocol" value="udp"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.wsdl</definition></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="interval=2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="interval=2"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="interval" value="2"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="length=100"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="length=100"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="length" value="100"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="windowSize=5000"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="windowSize=5000"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="windowSize" value="5000"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="dynamicWindowSize=5M"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="dynamicWindowSize=5M"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="dynamicWindowSize" value="5M"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="bandwidth=500
(protocol=udp)"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="bandwidth=500 (protocol=udp)"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="bandwidth" value="500"/>
+ <nmwg:parameter name="protocol" value="udp"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="tos=0x20"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="tos=0x20"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="tos" value="0x20"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase>
+ <con:testCase failOnError="true" keepSession="false" name="Well formed but
invalid" searchProperties="true"><con:settings/><con:testStep type="request"
name="src, no dst"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="src, no dst"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1"/>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.validator.malformed_request" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.validator.malformed_request"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="no src, no dst"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="no src, no dst"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1"/>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.validator.malformed_request" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.validator.malformed_request"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="concurrentConnections=5"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="concurrentConnections=5"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="concurrentConnections" value="5"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.system.tool_response" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Invalid duration"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Invalid duration"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.validator.malformed_request" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.validator.malformed_request"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Invalid protocol"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Invalid protocol"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="protocol" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.validator.malformed_request" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.validator.malformed_request"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Invalid interval"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Invalid interval"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="interval" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.system.tool_response" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Invalid length"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Invalid length"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="length" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.system.tool_response" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Invalid windowSize"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Invalid windowSize"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="windowSize" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.system.tool_response" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Invalid dynamicWindowSize"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Invalid dynamicWindowSize"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="dynamicWindowSize" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.system.tool_response" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Invalid bandwidth"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Invalid bandwidth"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="bandwidth" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.system.tool_response" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Invalid tos"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Invalid tos"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="tos" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.system.tool_response" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="protocol=tcp and bandwidth"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="protocol=tcp and bandwidth"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="protocol" value="tcp"/>
+ <nmwg:parameter name="bandwidth" value="500"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq "error.mp.clmp.system.tool_response" and
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[2]/nmwg:eventType
eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Unknown Parameter"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Unknown Parameter"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="WRONG" value="WRONG"/>
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="XPath
Match"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase><con:testCase
failOnError="true" keepSession="false" name="Not well formed requests"
searchProperties="true"><con:settings/><con:testStep type="request"
name="Wrong parameter namespace"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Wrong parameter namespace"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <bwctl:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType
eq
"warning.common.no_metadata"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing end tag metadata 1"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing end tag metadata 1"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.wsdl</definition></con:configuration></con:assertion><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
ns1='http://xml.apache.org/axis/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+/soapenv:Envelope/soapenv:Body/soapenv:Fault/faultcode =
"soapenv:Server.userException"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing end tag metadata 2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing end tag metadata 2"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.wsdl</definition></con:configuration></con:assertion><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
ns1='http://xml.apache.org/axis/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+/soapenv:Envelope/soapenv:Body/soapenv:Fault/faultcode =
"soapenv:Server.userException"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing end tag metadata 3"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing end tag metadata 3"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.wsdl</definition></con:configuration></con:assertion><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
ns1='http://xml.apache.org/axis/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+/soapenv:Envelope/soapenv:Body/soapenv:Fault/faultcode =
"soapenv:Server.userException"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Wrong message type"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Wrong message type"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="WRONG" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType eq
"error.common.action_not_supported"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing message type"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing message type"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType eq
"error.common.action_not_supported"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Wrong metadata/id"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Wrong metadata/id"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="WRONG">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType eq
"warning.common.no_metadata"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing metadata/id"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing metadata/id"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata>
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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/';
+
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType eq
"warning.common.no_metadata"</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Wrong metadata/id send"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Wrong metadata/id send"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="WRONG" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing metadata/id send"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing metadata/id send"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Wrong metadata/id recv"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Wrong metadata/id recv"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="WRONG" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing metadata/id recv"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing metadata/id recv"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="WRONG" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing metadata/subject"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing metadata/subject"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType)</path><content>error.mp.clmp.validator.malformed_request</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing
subject/endPointPair"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing subject/endPointPair"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType)</path><content>error.mp.clmp.validator.malformed_request</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Wrong metadata/eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Wrong metadata/eventType"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>WRONG</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType)</path><content>error.mp.clmp.unsupported_tool</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing metadata/eventType"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing metadata/eventType"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType)</path><content>error.mp.clmp.validator.malformed_request</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing metadata/parameters
1"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing metadata/parameters 1"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType)</path><content>error.mp.clmp.validator.malformed_request</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing metadata/parameters
2"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing metadata/parameters 2"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing metadata/parameters
3"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing metadata/parameters 3"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing data (trigger) 1"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing data (trigger) 1"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing data (trigger) 2"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing data (trigger) 2"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault
Assertion"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:./cl-mp-bwctlres.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 nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace bwctl='http://ggf.org/ns/nmwg/tools/bwctl/2.0/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd)
> 0)
+and
+(every $intervalEnd in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalEnd
satisfies ($intervalEnd > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart)
> 0)
+and
+(every $intervalStart in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalStart
satisfies ($intervalStart >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@intervalUnit)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes)
> 0)
+and
+(every $numBytes in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytes
satisfies ($numBytes > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@numBytesUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeType
satisfies ($timeType = "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@valueUnits)
> 0)
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value)
> 0)
+and
+(every $value in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/bwctl:datum/@value
satisfies ($value >
0))</path><content>true</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing data (trigger) both"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing data (trigger) both"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType)</path><content>warning.common.no_metadata</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Wrong data/metadataIdRef
both"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Wrong data/metadataIdRef both"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="WRONG" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="WRONG" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType)</path><content>warning.common.no_metadata</content></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Missing data/metadataIdRef
both"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-BWCTL</con:interface><con:operation>Measurement</con:operation><con:request
name="Missing data/metadataIdRef both"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/bwctl/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="duration" value="2"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender"/>
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver"/>
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata[1]/nmwg:eventType)</path><content>warning.common.no_metadata</content></con:configuration></con:assertion></con:request></con:config></con:testStep></con:testCase></con:testSuite>
<con:testSuite name="CL-MP-OWAMP">
<con:settings/>
<con:runType>SEQUENTIAL</con:runType>
@@ -1497,7 +4069,7 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="dscp=TODO">
+ </con:testStep><con:testStep type="request" name="dscp=0x10">
<con:settings/>
<con:config type="con:RequestStep" xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:interface>CL-MP-OWAMP</con:interface>
@@ -1640,7 +4212,7 @@
<owamp:subject id="sub2">
<nmwgt:endPointPair>
<nmwgt:dst type="ipv4" value="198.32.10.220"/>
- <nmwgt:src type="ipv4" value="198.32.10.220"/>
+ <nmwgt:src type="ipv4" value="131.188.81.178"/>
</nmwgt:endPointPair>
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
@@ -2069,47 +4641,6 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="Invalid phb">
- <con:settings/>
- <con:config type="con:RequestStep" xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <con:interface>CL-MP-OWAMP</con:interface>
- <con:operation>Measurement</con:operation>
- <con:request wssPasswordType="" name="Invalid phb">
- <con:settings/>
- <con:encoding>UTF-8</con:encoding>
-
<con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con: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/tools/owamp/2.0/"
xmlns:ns2="http://ggf.org/ns/nmwg/topology/2.0/">
- <soapenv:Header/>
- <soapenv:Body>
-<nmwg:message type="MeasurementRequest" id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/">
-
-<nmwg:metadata id="owampRequest">
- <owamp:subject id="sub2">
- <nmwgt:endPointPair>
- <nmwgt:dst type="ipv4" value="198.32.10.220"/>
- </nmwgt:endPointPair>
- </owamp:subject>
- <nmwg:eventType>owamp</nmwg:eventType>
- <owamp:parameters id="param2">
- <nmwg:parameter name="phb">WRONG</nmwg:parameter>
- </owamp:parameters>
-
-</nmwg:metadata>
-<nmwg:data id="2" metadataIdRef="owampRequest" />
-</nmwg:message>
- </soapenv:Body>
-</soapenv:Envelope>]]></con:request>
- <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/';
-
-/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType eq
"error.mp.clmp.system.tool_response"</path><content>true</content></con:configuration>
- </con:assertion>
- </con:request>
- </con:config>
</con:testStep><con:testStep type="request" name="timeOut=0.00001
(< BucketWidth default)">
<con:settings/>
<con:config type="con:RequestStep" xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@@ -2793,4 +5324,26 @@
</con:request>
</con:config>
</con:testStep></con:testCase></con:testSuite>
-</con:soapui-project>
\ No newline at end of file
+<con:testSuite
name="CL-MP-ECHO"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase
failOnError="true" keepSession="false" name="Well formed and valid"
searchProperties="true"><con:settings/><con:testStep type="request"
name="EchoRequest"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>CL-MP-ECHO</con:interface><con:operation>Echo</con:operation><con:request
name="EchoRequest"
wssPasswordType=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="EchoRequest"
+ id="id1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+
+
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
+ </nmwg:metadata>
+
+ <nmwg:data id="data" metadataIdRef="meta"/>
+
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><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';
+
+fn:string(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/nmwg:eventType)</path><content>success.echo</content></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/clmp/Echo-Req.xml
Added: trunk/functional-testing/clmp/Echo-Resp.xml
Modified: trunk/functional-testing/clmp/README-tests.txt
===================================================================
--- trunk/functional-testing/clmp/README-tests.txt 2007-03-06 12:14:23
UTC (rev 2196)
+++ trunk/functional-testing/clmp/README-tests.txt 2007-03-08 07:15:48
UTC (rev 2197)
@@ -288,7 +288,7 @@
Request: Element "subject" in element "metadata" is missing.
Response: perfSONAR error: error.mp.clmp.validator.malformed_request
-3.3.2.7. Missing metadata/endPointPair
+3.3.2.7. Missing subject/endPointPair
Request: Element "endPointPair" in element "metadata" is missing.
Response: perfSONAR error: error.mp.clmp.validator.malformed_request
Added: trunk/functional-testing/clmp/cl-mp-echo.wsdl
- perfsonar: r2197 - trunk/functional-testing/clmp, svnlog, 03/08/2007
Archive powered by MHonArc 2.6.16.