Skip to Content.
Sympa Menu

perfsonar-dev - r2128 - trunk/functional-testing/clmp

Subject: perfsonar development work

List archive

r2128 - trunk/functional-testing/clmp


Chronological Thread 
  • From:
  • To:
  • Subject: r2128 - trunk/functional-testing/clmp
  • Date: Fri, 23 Feb 2007 04:55:06 -0500

Author: reinwand
Date: 2007-02-23 04:55:04 -0500 (Fri, 23 Feb 2007)
New Revision: 2128

Modified:
trunk/functional-testing/clmp/CLMP-soapui-project.xml
trunk/functional-testing/clmp/testing_plan.txt
Log:
Nearly all test for CL MP in place. The documentation in testing_plan.txt is
also nearly finished.


Modified: trunk/functional-testing/clmp/CLMP-soapui-project.xml
===================================================================
--- trunk/functional-testing/clmp/CLMP-soapui-project.xml 2007-02-22
16:25:49 UTC (rev 2127)
+++ trunk/functional-testing/clmp/CLMP-soapui-project.xml 2007-02-23
09:55:04 UTC (rev 2128)
@@ -650,7 +650,7 @@
<con:testSuite name="CL-MP-OWAMP">
<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="defaults">
<con:settings/>
@@ -987,12 +987,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="dscp=TODO">
+ </con:testStep><con:testStep type="request" name="wait=0.5e">
<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="dscp=TODO">
+ <con:request wssPasswordType="" name="wait=0.5e">
<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>
@@ -1010,7 +1010,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="dscp">0x10</nmwg:parameter>
+ <nmwg:parameter name="wait">0.5e</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1072,12 +1072,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="phb=TODO">
+ </con:testStep><con:testStep type="request" name="wait=0.7f">
<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="phb=TODO">
+ <con:request wssPasswordType="" name="wait=0.7f">
<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>
@@ -1095,7 +1095,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="phb">0x10</nmwg:parameter>
+ <nmwg:parameter name="wait">0.7f</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1157,12 +1157,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="wait=0.5e">
+ </con:testStep><con:testStep type="request" name="timeOut=1">
<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="wait=0.5e">
+ <con:request wssPasswordType="" name="timeOut=1">
<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>
@@ -1180,7 +1180,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="wait">0.5e</nmwg:parameter>
+ <nmwg:parameter name="timeOut">1</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1242,12 +1242,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="wait=0.7f">
+ </con:testStep><con:testStep type="request" name="timeOut=0.0001">
<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="wait=0.7f">
+ <con:request wssPasswordType="" name="timeOut=0.0001">
<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>
@@ -1265,7 +1265,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="wait">0.7f</nmwg:parameter>
+ <nmwg:parameter name="timeOut">0.0001</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1327,12 +1327,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="timeOut=1">
+ </con:testStep><con:testStep type="request" name="padding=100">
<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="timeOut=1">
+ <con:request wssPasswordType="" name="padding=100">
<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>
@@ -1350,7 +1350,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="timeOut">1</nmwg:parameter>
+ <nmwg:parameter name="padding">100</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1412,12 +1412,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="timeOut=0.0001">
+ </con:testStep><con:testStep type="request" name="delayStart=3">
<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="timeOut=0.0001">
+ <con:request wssPasswordType="" name="delayStart=3">
<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>
@@ -1435,7 +1435,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="timeOut">0.0001</nmwg:parameter>
+ <nmwg:parameter name="delayStart">3</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1497,12 +1497,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="padding=100">
+ </con:testStep><con:testStep type="request" name="portRange=2000-3000">
<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="padding=100">
+ <con:request wssPasswordType="" name="portRange=2000-3000">
<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>
@@ -1520,7 +1520,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="padding">100</nmwg:parameter>
+ <nmwg:parameter name="portRange">2000-3000</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1582,12 +1582,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="delayStart=3">
+ </con:testStep><con:testStep type="request" name="dscp=TODO">
<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="delayStart=3">
+ <con:request wssPasswordType="" name="dscp=TODO">
<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>
@@ -1605,7 +1605,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="delayStart">3</nmwg:parameter>
+ <nmwg:parameter name="dscp">0x10</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1667,12 +1667,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="portRange=2000-3000">
+ </con:testStep><con:testStep type="request" name="phb=TODO">
<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="portRange=2000-3000">
+ <con:request wssPasswordType="" name="phb=TODO">
<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>
@@ -1690,7 +1690,7 @@
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
<nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="portRange">2000-3000</nmwg:parameter>
+ <nmwg:parameter name="phb">0x10</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1792,7 +1792,7 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="src and dst">
+ </con:testStep><con:testStep type="request" name="src and dst TODO">
<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>
@@ -1911,15 +1911,55 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="dscp and phb">
+ </con:testStep><con:testStep type="request" name="Invalid dst ip">
<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="dscp and phb TODO">
+ <con:request wssPasswordType="" name="Invalid dst ip">
<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>&lt;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/";>
+ &lt;soapenv:Header/>
+ &lt;soapenv:Body>
+&lt;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/";>
+
+&lt;nmwg:metadata id="owampRequest">
+ &lt;owamp:subject id="sub2">
+ &lt;nmwgt:endPointPair>
+ &lt;nmwgt:dst type="ipv4" value="300.32.10.220"/>
+ &lt;/nmwgt:endPointPair>
+ &lt;/owamp:subject>
+ &lt;nmwg:eventType>owamp&lt;/nmwg:eventType>
+ &lt;owamp:parameters id="param2">
+ &lt;/owamp:parameters>
+
+&lt;/nmwg:metadata>
+&lt;nmwg:data id="2" metadataIdRef="owampRequest" />
+&lt;/nmwg:message>
+ &lt;/soapenv:Body>
+&lt;/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="Invalid count">
+ <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 count">
+ <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>
@@ -1933,9 +1973,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="dscp">TODO</nmwg:parameter>
- <nmwg:parameter name="phb">TODO</nmwg:parameter>
+ <nmwg:parameter name="count">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1946,20 +1984,21 @@
<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/';
+ <con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace owamp='http://ggf.org/ns/nmwg/tools/owamp/2.0/';
+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>
+/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:metadata/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 count">
+ </con:testStep><con:testStep type="request" name="Invalid wait">
<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 count">
+ <con:request wssPasswordType="" name="Invalid wait">
<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>
@@ -1976,7 +2015,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="count">WRONG</nmwg:parameter>
+ <nmwg:parameter name="wait">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -1987,21 +2026,20 @@
<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 owamp='http://ggf.org/ns/nmwg/tools/owamp/2.0/';
-declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+ <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.validator.malformed_request"</path><content>true</content></con:configuration>
+/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="invalid dscp">
+ </con:testStep><con:testStep type="request" name="Invalid timeOut">
<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 dscp">
+ <con:request wssPasswordType="" name="Invalid timeOut">
<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>
@@ -2018,7 +2056,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="dscp">WRONG</nmwg:parameter>
+ <nmwg:parameter name="timeOut">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2037,12 +2075,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="invalid phb">
+ </con:testStep><con:testStep type="request" name="Invalid padding">
<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:request wssPasswordType="" name="Invalid padding">
<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>
@@ -2059,7 +2097,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="phb">WRONG</nmwg:parameter>
+ <nmwg:parameter name="padding">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2078,12 +2116,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="invalid wait">
+ </con:testStep><con:testStep type="request" name="Invalid delayStart">
<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 wait">
+ <con:request wssPasswordType="" name="Invalid delayStart">
<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>
@@ -2100,7 +2138,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="wait">WRONG</nmwg:parameter>
+ <nmwg:parameter name="delayStart">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2119,12 +2157,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="invalid timeOut">
+ </con:testStep><con:testStep type="request" name="Invalid portRange">
<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 timeOut">
+ <con:request wssPasswordType="" name="Invalid portRange">
<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>
@@ -2141,7 +2179,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="timeOut">WRONG</nmwg:parameter>
+ <nmwg:parameter name="portRange">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2160,12 +2198,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="invalid padding">
+ </con:testStep><con:testStep type="request" name="Invalid direction">
<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 padding">
+ <con:request wssPasswordType="" name="Invalid direction">
<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>
@@ -2182,7 +2220,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="padding">WRONG</nmwg:parameter>
+ <nmwg:parameter name="direction">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2193,20 +2231,59 @@
<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/';
+ <con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace owamp='http://ggf.org/ns/nmwg/tools/owamp/2.0/';
+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>
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeType
satisfies ($timeType eq "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendSynchronized)
> 0)
+and
+(every $sendSynchronized in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendSynchronized
satisfies ($sendSynchronized = 0 or $sendSynchronized = 1))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveSynchronized)
> 0)
+and
+(every $receiveSynchronized in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveSynchronized
satisfies ($receiveSynchronized = 0 or $receiveSynchronized = 1))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTime)
> 0)
+and
+(every $sendTime in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTime
satisfies ($sendTime >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTime)
> 0)
+and
+(every $receiveTime in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTime
satisfies ($receiveTime >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTimeError)
> 0)
+and
+(every $sendTimeError in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTimeError
satisfies ($sendTimeError >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTimeError)
> 0)
+and
+(every $receiveTimeError in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTimeError
satisfies ($receiveTimeError >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@seqNum)
> 0)
+and
+(every $seqNum in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@seqNum
satisfies ($seqNum >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@ttl)
> 0)
+and
+(every $ttl in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@ttl
satisfies ($ttl >= 0))</path><content>true</content></con:configuration>
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="invalid delayStart">
+ </con:testStep><con:testStep type="request" name="timeOut=0.00001
(&lt; BucketWidth default)">
<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 delayStart">
+ <con:request wssPasswordType="" name="timeOut=0.00001 (&lt;
BucketWidth default)">
<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>
@@ -2223,7 +2300,8 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="delayStart">WRONG</nmwg:parameter>
+ <nmwg:parameter name="count">5</nmwg:parameter>
+ <nmwg:parameter name="timeOut">0.00001</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2242,12 +2320,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="invalid portRange">
+ </con:testStep><con:testStep type="request" name="padding=100000">
<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 portRange">
+ <con:request wssPasswordType="" name="padding=100000">
<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>
@@ -2264,7 +2342,8 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="portRange">WRONG</nmwg:parameter>
+ <nmwg:parameter name="count">5</nmwg:parameter>
+ <nmwg:parameter name="padding">100000</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2283,12 +2362,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="invalid direction">
+ </con:testStep><con:testStep type="request" name="Unknown parameter">
<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 direction">
+ <con:request wssPasswordType="" name="Unknown parameter">
<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>
@@ -2305,7 +2384,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="direction">WRONG</nmwg:parameter>
+ <nmwg:parameter name="WRONG">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2316,6 +2395,88 @@
<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 owamp='http://ggf.org/ns/nmwg/tools/owamp/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeType)
> 0)
+and
+(every $timeType in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeType
satisfies ($timeType eq "unix"))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeValue)
> 0)
+and
+(every $timeValue in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeValue
satisfies ($timeValue > 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendSynchronized)
> 0)
+and
+(every $sendSynchronized in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendSynchronized
satisfies ($sendSynchronized = 0 or $sendSynchronized = 1))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveSynchronized)
> 0)
+and
+(every $receiveSynchronized in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveSynchronized
satisfies ($receiveSynchronized = 0 or $receiveSynchronized = 1))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTime)
> 0)
+and
+(every $sendTime in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTime
satisfies ($sendTime >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTime)
> 0)
+and
+(every $receiveTime in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTime
satisfies ($receiveTime >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTimeError)
> 0)
+and
+(every $sendTimeError in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTimeError
satisfies ($sendTimeError >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTimeError)
> 0)
+and
+(every $receiveTimeError in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTimeError
satisfies ($receiveTimeError >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@seqNum)
> 0)
+and
+(every $seqNum in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@seqNum
satisfies ($seqNum >= 0))
+and
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@ttl)
> 0)
+and
+(every $ttl in
/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@ttl
satisfies ($ttl >= 0))</path><content>true</content></con:configuration>
+ </con:assertion>
+ </con:request>
+ </con:config>
+ </con:testStep><con:testStep type="request" name="dscp and phb TODO">
+ <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="dscp and phb TODO">
+ <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="count">5</nmwg:parameter>
+ <nmwg:parameter name="dscp">TODO</nmwg:parameter>
+ <nmwg:parameter name="phb">TODO</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/';
@@ -2324,12 +2485,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="timeOut=0.00001
(&lt; BucketWidth default)">
+ </con:testStep><con:testStep type="request" name="Invalid dscp">
<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="timeOut=0.00001 (&lt;
BucketWidth default)">
+ <con:request wssPasswordType="" name="Invalid dscp">
<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>
@@ -2346,8 +2507,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="timeOut">0.00001</nmwg:parameter>
+ <nmwg:parameter name="dscp">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2366,12 +2526,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="padding=100000">
+ </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="padding=100000">
+ <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>
@@ -2388,8 +2548,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="count">5</nmwg:parameter>
- <nmwg:parameter name="padding">100000</nmwg:parameter>
+ <nmwg:parameter name="phb">WRONG</nmwg:parameter>
</owamp:parameters>

</nmwg:metadata>
@@ -2408,7 +2567,7 @@
</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="Missing end tag metadata">
+ </con:testStep></con:testCase><con:testCase failOnError="false"
keepSession="false" name="Not well formed requests"
searchProperties="true"><con:settings/><con:testStep type="request"
name="Missing end tag metadata">
<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>
@@ -2447,11 +2606,52 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="Copy of count=5">
+ </con:testStep><con:testStep type="request" name="Wrong message/type">
<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="Wrong message/type">
+ <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="WRONG" 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="count">5</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.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 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="Missing message/type">
<con:settings/>
<con:encoding>UTF-8</con:encoding>
@@ -2488,5 +2688,402 @@
</con:assertion>
</con:request>
</con:config>
+ </con:testStep><con:testStep type="request" name="Wrong metadata/id">
+ <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="Wrong metadata/id">
+ <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="WRONG">
+ <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="count">5</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
"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 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="Missing metadata/id">
+ <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>
+ <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="count">5</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
"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/subject">
+ <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="Missing metadata/subject">
+ <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">
+ <nmwg:eventType>owamp</nmwg:eventType>
+ <owamp:parameters id="param2">
+ <nmwg:parameter name="count">5</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.common.action_not_supported"</path><content>true</content></con:configuration>
+ </con:assertion>
+ </con:request>
+ </con:config>
+ </con:testStep><con:testStep type="request" name="Missing
subject/endPointPair">
+ <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="Missing
subject/endPointPair">
+ <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">
+ </owamp:subject>
+ <nmwg:eventType>owamp</nmwg:eventType>
+ <owamp:parameters id="param2">
+ <nmwg:parameter name="count">5</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.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/eventType">
+ <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="Wrong metadata/eventType">
+ <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>WRONG</nmwg:eventType>
+ <owamp:parameters id="param2">
+ <nmwg:parameter name="count">5</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.unsupported_tool"</path><content>true</content></con:configuration>
+ </con:assertion>
+ </con:request>
+ </con:config>
+ </con:testStep><con:testStep type="request" name="Missing
metadata/eventType">
+ <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="Missing metadata/eventType">
+ <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>&lt;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/";>
+ &lt;soapenv:Header/>
+ &lt;soapenv:Body>
+&lt;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/";>
+
+&lt;nmwg:metadata id="owampRequest">
+ &lt;owamp:subject id="sub2">
+ &lt;nmwgt:endPointPair>
+ &lt;nmwgt:dst type="ipv4" value="198.32.10.220"/>
+ &lt;/nmwgt:endPointPair>
+ &lt;/owamp:subject>
+ &lt;owamp:parameters id="param2">
+ &lt;nmwg:parameter name="count">5&lt;/nmwg:parameter>
+ &lt;/owamp:parameters>
+
+&lt;/nmwg:metadata>
+&lt;nmwg:data id="2" metadataIdRef="owampRequest" />
+&lt;/nmwg:message>
+ &lt;/soapenv:Body>
+&lt;/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.validator.malformed_request"</path><content>true</content></con:configuration>
+ </con:assertion>
+ </con:request>
+ </con:config>
+ </con:testStep><con:testStep type="request" name="Missing
metadata/parameters">
+ <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="Missing metadata/parameters">
+ <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>&lt;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/";>
+ &lt;soapenv:Header/>
+ &lt;soapenv:Body>
+&lt;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/";>
+
+&lt;nmwg:metadata id="owampRequest">
+ &lt;owamp:subject id="sub2">
+ &lt;nmwgt:endPointPair>
+ &lt;nmwgt:dst type="ipv4" value="198.32.10.220"/>
+ &lt;/nmwgt:endPointPair>
+ &lt;/owamp:subject>
+ &lt;nmwg:eventType>owamp&lt;/nmwg:eventType>
+
+&lt;/nmwg:metadata>
+&lt;nmwg:data id="2" metadataIdRef="owampRequest" />
+&lt;/nmwg:message>
+ &lt;/soapenv:Body>
+&lt;/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 data
(trigger)">
+ <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="MIssing data (trigger)">
+ <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="count">5</nmwg:parameter>
+ </owamp: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/';
+
+/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
data/metadataIdRef">
+ <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="Wrong data/metadataIdRef">
+ <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="count">5</nmwg:parameter>
+ </owamp:parameters>
+
+</nmwg:metadata>
+<nmwg:data id="2" 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/';
+
+/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
data/metadataIdRef">
+ <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="Missing data/metadataIdRef">
+ <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="count">5</nmwg:parameter>
+ </owamp:parameters>
+
+</nmwg:metadata>
+<nmwg:data id="2" />
+</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:testCase></con:testSuite>
</con:soapui-project>
\ No newline at end of file

Modified: trunk/functional-testing/clmp/testing_plan.txt
===================================================================
--- trunk/functional-testing/clmp/testing_plan.txt 2007-02-22 16:25:49
UTC (rev 2127)
+++ trunk/functional-testing/clmp/testing_plan.txt 2007-02-23 09:55:04
UTC (rev 2128)
@@ -1,16 +1,51 @@
0. General information

-0.1. Generic XPath tests
+This document provides brief information about the functional testing of
+the CL MP. It does neither describe the fundamentals of soapUI nor is it a
+complete guide for the tests done.

-timeType eq "unix" (really?)
+It's purpose is to help skilled users to understand how and why specific
+things have been tested or have not been tested. Please see the soapUI
project
+directly or README.txt and README-soapUI.txt for more general information.
+
+
+0.1. Structure of this document
+
+This introduction chapter (0. General information) contains information
common
+to all tests of the CL MP.
+
+The following chapters (1. to 4.) list the tests and give special information
+for each service supplied by the CL MP (ping, traceroute, OWAMP, BWCTL). The
+tests are divided into three main catagories:
+
+- Well formed and valid requests:
+Tests, that test correct requests to the service.
+
+- Well formed, but invalid requests
+The request message is a well formed NMWG message, but the corresponding CLI
+execution is not possible and leads to an error.
+
+- Not well formed requests
+The NMWG message is messed up and/or does not conform to the schema of the
+service.
+
+
+0.2. Generic XPath tests
+
+CL MP adds the data parameters timeType and timeValue to every measurement,
+no matter which service (ping, traceroute, OWAMP, or BWCTL) was queried.
+
+This makes it possible to define common XPath tests:
+timeType eq "unix"
timeValue > 0



1. Ping request

+IMPORTANT: This Chapter only contains examples and hints at the moment!
+
1.1. Well formed and valid requests
-Here should follow tests, that test correct actions of the service.
In order to get different tests, you should think about a few
variations:
- Different parameters
@@ -22,8 +57,7 @@
different value

1.2. Well formed, but invalid requests
-The message is a well formed NMWG message, but no the corresponding CLI
-execution is not possible, leads to an error. Typical variations:
+Typical variations:
- Invalid parameter
- Senseless parameter combination
Examples:
@@ -33,8 +67,6 @@
- packetSize to big ??

1.3. Not well formed requests
-The NMWG message is messed up. Normally this should be recognised by the
-service in an early step during processing the message.
- No NMWG conformance
- Not complying to service schema (RNC)
Examples:
@@ -56,6 +88,9 @@

3.1. Possible parameters

+The following list maps the available parameters in the request message to
the
+corresponding command line parameters of owping:
+
count: -c
dscp: -D
phb: -H
@@ -66,51 +101,231 @@
portRange: -P
direction: -f (from) or -t (to)

-Missing:
--b bucket_width
+Missing parameters: -b


3.2. Generic XPath tests on results

-Note: Not necessarily correct XPath notation!
+To test a response message if it contains correct data some generic XPath
+tests are used. More specific tests might be used in individual tests. See
+soapUI project for the specific tests.
+The following tests are not in XPath notation, but pseudo code! The name in
+brackets is the name found in the man page for the -R option results.

sendSynchronized (SSYNC) = 1 || 0
receiveSynchronized (RSYNC) = 1 || 0
-sendTime (SENDTIME) >= 0 (0 for lost packets)
-receiveTime (RECVTIME) >= 0 (0 for lost packets)
-sendTimeError (SERR) >= 0 (negative possible?)
-receiveTimeError (RERR) >= 0 (negative possible?
+sendTime (SENDTIME) >= 0 (0 for lost packets)
+receiveTime (RECVTIME) >= 0 (0 for lost packets)
+sendTimeError (SERR) >= 0
+receiveTimeError (RERR) >= 0
seqNum (SEQNO) >= 0
ttl (TTL) >= 0


3.3. Tests and expected results

+
3.3.1. Well formed and valid requests

3.3.1.1. defaults

-No parameters specified, owping uses default values.
+Request: No parameters specified.
+Response: Correct response containing data (Default values for owping used).

3.3.1.2. count=5

-Only count set to 5. No other parameters.
+Request: Only count parameter set to 5. No other parameters.
+Response: Correct response containing data for 5 packets in both directions.

IMPORTANT: All following requests have count set to 5 to speed up tests.

3.3.1.3. direction=to

-Parameter direction set to "to". No other parameters.
+Request: Parameter direction set to "to".
+Response: Correct response containing data for one direction.

-3.3.1.3. direction=from
+3.3.1.4. direction=from

-Parameter direction set to "from". No other parameters.
+Request: Parameter direction set to "from".
+Response: Correct response containing data for one direction.

+3.3.1.5. wait=0.5e
+
+Request: Parameter wait set to "0.5e".
+Response: Correct response containing data.
+
+3.3.1.6. wait=0.7f
+
+Request: Parameter wait set to "0.7f".
+Response: Correct response containing data.
+
+3.3.1.7. timeOut=1
+
+Request: Parameter timeOut set to "1" (second).
+Response: Correct response containing data.
+
+3.3.1.8. timeOut=0.0001
+
+Request: Parameter timeOut set to "0.0001".
+Response: Correct response containing data, but most likely with lost
packets.
+
+3.3.1.9. padding=100
+
+Request: Parameter padding set to "100".
+Response: Correct response containing data.
+
+3.3.1.10. delayStart=3
+
+Request: Parameter delayStart set to "3" (seconds).
+Response: Correct response containing data.
+
+3.3.1.11. portRange=2000-3000
+
+Request: Parameter portRange set to "2000-3000".
+Response: Correct response containing data.
+
+3.3.1.12. dscp=0x10
+
+Request: Parameter dscp set to "0x10".
+Response: Correct response containing data.
+
+
3.3.2. Well formed, but invalid requests
+
+3.3.2.1. src, no dst
+Request: No src element in element endPointPair, only dst.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+ src is ignored with owping, whereas missing dst is an error.
+
+3.3.2.2. src and dst
+Request: Correct src and dst element in element endPointPair.
+Response: Correct response containing data.
+ src is ignored with owping, but supplied dst is enough.
+
+3.3.2.3. no src, no dst
+Request: Neither src nor dst element in element endPointPair.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+ Missing dst is an error. Missing src doesn't matter.
+
+3.3.2.4. Invalid dst ip
+Request: dst set to 300.32.10.220.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+
+3.3.2.5. Invalid count
+Request: Parameter count set to invalid value.
+Response: perfSONAR error: error.mp.clmp.validator.malformed_request
+
+3.3.2.6. Invalid wait
+Request: Parameter wait set to invalid value.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+
+3.3.2.7. Invalid timeOut
+Request: Parameter timeOut set to invalid value.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+
+3.3.2.8. Invalid padding
+Request: Parameter padding set to invalid value.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+
+3.3.2.9. Invalid delayStart
+Request: Parameter delayStart set to invalid value.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+
+3.3.2.10. Invalid portRange
+Request: Parameter portRange set to invalid value.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+
+3.3.2.11. Invalid direction
+Request: Parameter direction set to invalid value.
+Response: Correct response containing data.
+ No error condition is raised, but default is used.
+
+3.3.2.12. timeOut=0.00001 (< bucket width default)
+Request: Parameter timeOut set to "0.00001".
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+ The timeOut value is smaller than the default bucket size.
+ See man page of owping for further information.
+
+3.3.2.13. padding=100000
+Request: Parameter padding set to 100000.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+ Packet size to large.
+
+3.3.2.14. Unknown parameter
+Request: Unknown parameter set.
+Response: Correct response containing data.
+ Parameter ignored -> no error condition is raised.
+
+
3.3.3. Not well formed requests

+3.3.2.1. Missing end tag metadata
+Request: The end tag of the metadata element is missing.
+Response: SOAP error: soapenv:Server.userException
+ Parsing of message failing at early stage. This happens for most
+ XML syntax errors.

+3.3.2.2. Wrong message/type
+Request: Attribute "type" in element "message" is wrong.
+Response: perfSONAR error: error.common.action_not_supported

+3.3.2.3. Missing message/type
+Request: Attribute "type" in element "message" is missing.
+Response: perfSONAR error: error.common.action_not_supported
+ Obviously the service assumes an empty string ("") as message type
+ and fails.
+
+3.3.2.4. Wrong metadata/id
+Request: Attribute "id" in element "metadata" is wrong.
+Response: perfSONAR error: warning.common.no_metadata
+ Because of the wrong id, the service cannot correlate the metadata
+ to the data (trigger) element.
+
+3.3.2.5. Missing metadata/id
+Request: Attribute "id" in element "metadata" is missing.
+Response: perfSONAR error: warning.common.no_metadata
+ Because of the missing id, the service can not correlate the
metadata
+ to the data (trigger) element.
+
+3.3.2.6. Missing metadata/subject
+Request: Element "subject" in element "metadata" is missing.
+Response: TODO
+
+3.3.2.7. Missing metadata/endPointPair
+Request: Element "endPointPair" in element "metadata" is missing.
+Response: TODO
+
+3.3.2.8. Wrong metadata/eventType
+Request: Wrong text in element "eventType" in element "metadata".
+Response: perfSONAR error: error.mp.clmp.unsupported_tool
+ Service can not determine correct measurement type.
+
+3.3.2.9. Missing metadata/eventType
+Request: Missing element "eventType" in element "metadata".
+Response: perfSONAR error: error.mp.clmp.validator.malformed_request
+
+3.3.2.10. Missing metadata/parameters
+Request: Element "parameters" in element "metadata" is missing.
+Response: TODO
+
+3.3.2.11. Missing data (trigger)
+Request: data Element missing.
+Response: perfSONAR error: warning.common.no_metadata
+
+3.3.2.12. Wrong data/metadataIdRef
+Request: Attribute "metadataIdRef" in element "data" is wrong.
+Response: perfSONAR error: warning.common.no_metadata
+ Because of the wrong id, the service can not correlate the metadata
+ to the data (trigger) element.
+
+3.3.2.13. Missing data/metadataIdRef
+Request: Attribute "metadataIdRef" in element "data" is missing.
+Response: perfSONAR error: warning.common.no_metadata
+ Because of the missing id, the service can not correlate the
metadata
+ to the data (trigger) element.
+
+
+
4. BWCTL request
4.1. Well formed and valid requests
4.2. Well formed, but invalid requests



  • r2128 - trunk/functional-testing/clmp, svnlog, 02/23/2007

Archive powered by MHonArc 2.6.16.

Top of Page