perfsonar-dev - perfsonar: r2170 - trunk/functional-testing/clmp
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r2170 - trunk/functional-testing/clmp
- Date: Thu, 1 Mar 2007 10:22:47 -0500
Author: reinwand
Date: 2007-03-01 10:22:46 -0500 (Thu, 01 Mar 2007)
New Revision: 2170
Modified:
trunk/functional-testing/clmp/CLMP-soapui-project.xml
trunk/functional-testing/clmp/README-tests.txt
Log:
Now all tests should be in place and all tests are "green".
Modified: trunk/functional-testing/clmp/CLMP-soapui-project.xml
===================================================================
--- trunk/functional-testing/clmp/CLMP-soapui-project.xml 2007-03-01
14:38:03 UTC (rev 2169)
+++ trunk/functional-testing/clmp/CLMP-soapui-project.xml 2007-03-01
15:22:46 UTC (rev 2170)
@@ -690,43 +690,43 @@
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeType)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeValue)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendSynchronized)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveSynchronized)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTime)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTime)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTimeError)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTimeError)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@seqNum)
= 100)
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)
= 200)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@ttl)
= 100)
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>
@@ -775,43 +775,43 @@
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeType)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@timeValue)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendSynchronized)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveSynchronized)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTime)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTime)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@sendTimeError)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@receiveTimeError)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@seqNum)
= 5)
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)
= 10)
+(count(/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data/owamp:datum/@ttl)
= 5)
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>
@@ -1412,91 +1412,6 @@
</con:assertion>
</con:request>
</con:config>
- </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="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>
- <con:request><![CDATA[<soapenv:Envelope
xmlns: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="delayStart">3</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="Schema Compliance">
- <con:configuration>
- <definition>file:./cl-mp-owampres.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 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="portRange=2000-3000">
<con:settings/>
<con:config type="con:RequestStep" xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@@ -1587,7 +1502,7 @@
<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="dscp=0x10">
<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>
@@ -1667,91 +1582,6 @@
</con:assertion>
</con:request>
</con:config>
- </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="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="phb">0x10</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="Schema Compliance">
- <con:configuration>
- <definition>file:./cl-mp-owampres.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 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:testCase>
<con:testCase failOnError="false" keepSession="false" name="Well formed
but invalid" searchProperties="true"><con:settings/><con:testStep
type="request" name="src, no dst">
<con:settings/>
@@ -1788,11 +1618,11 @@
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="src and dst TODO">
+ </con:testStep><con:testStep type="request" name="src and dst">
<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>
@@ -1907,7 +1737,7 @@
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>
@@ -2116,12 +1946,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="Invalid delayStart">
+ </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 delayStart">
+ <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>
@@ -2138,7 +1968,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="delayStart">WRONG</nmwg:parameter>
+ <nmwg:parameter name="portRange">WRONG</nmwg:parameter>
</owamp:parameters>
</nmwg:metadata>
@@ -2157,12 +1987,12 @@
</con:assertion>
</con:request>
</con:config>
- </con:testStep><con:testStep type="request" name="Invalid portRange">
+ </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 portRange">
+ <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>
@@ -2179,7 +2009,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="portRange">WRONG</nmwg:parameter>
+ <nmwg:parameter name="direction">WRONG</nmwg:parameter>
</owamp:parameters>
</nmwg:metadata>
@@ -2194,16 +2024,57 @@
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="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="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>
+ <con:request><![CDATA[<soapenv:Envelope
xmlns: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="dscp">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="Invalid direction">
+ </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 direction">
+ <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>
@@ -2220,7 +2091,7 @@
</owamp:subject>
<nmwg:eventType>owamp</nmwg:eventType>
<owamp:parameters id="param2">
- <nmwg:parameter name="direction">WRONG</nmwg:parameter>
+ <nmwg:parameter name="phb">WRONG</nmwg:parameter>
</owamp:parameters>
</nmwg:metadata>
@@ -2231,50 +2102,11 @@
<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/';
-(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>
+/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>
@@ -2442,131 +2274,6 @@
</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/';
-
-/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: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: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="dscp">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="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: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">
@@ -2802,7 +2509,7 @@
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>
+/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>
@@ -2840,7 +2547,7 @@
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>
+/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>
@@ -2959,7 +2666,7 @@
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>
+/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>
Modified: trunk/functional-testing/clmp/README-tests.txt
===================================================================
--- trunk/functional-testing/clmp/README-tests.txt 2007-03-01 14:38:03
UTC (rev 2169)
+++ trunk/functional-testing/clmp/README-tests.txt 2007-03-01 15:22:46
UTC (rev 2170)
@@ -97,11 +97,10 @@
wait -i
timeOut: -L
padding: -s
-delayStart: -z
portRange: -P
direction: -f (from) or -t (to)
-Missing parameters: -b
+Missing parameters: -b -z
3.2. Generic XPath tests on results
@@ -135,7 +134,7 @@
3.3.1.2. count=5
Request: Only count parameter set to 5. No other parameters.
-Response: Correct response containing data for 5 packets in both directions.
+Response: Correct response containing data for 5 packets.
IMPORTANT: All following requests have count set to 5 to speed up tests.
@@ -174,17 +173,12 @@
Request: Parameter padding set to "100".
Response: Correct response containing data.
-3.3.1.10. delayStart=3
+3.3.1.10. portRange=2000-3000
-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
+3.3.1.11. dscp=0x10
Request: Parameter dscp set to "0x10".
Response: Correct response containing data.
@@ -194,7 +188,7 @@
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
+Response: perfSONAR error: error.mp.clmp.validator.malformed_request
src is ignored with owping, whereas missing dst is an error.
3.3.2.2. src and dst
@@ -204,7 +198,7 @@
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
+Response: perfSONAR error: error.mp.clmp.validator.malformed_request
Missing dst is an error. Missing src doesn't matter.
3.3.2.4. Invalid dst ip
@@ -227,31 +221,34 @@
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
+3.3.2.9. Invalid portRange
Request: Parameter portRange set to invalid value.
Response: perfSONAR error: error.mp.clmp.system.tool_response
-3.3.2.11. Invalid direction
+3.3.2.10. Invalid direction
Request: Parameter direction set to invalid value.
-Response: Correct response containing data.
- No error condition is raised, but default is used.
+Response: perfSONAR error: error.mp.clmp.validator.malformed_request
-3.3.2.12. timeOut=0.00001 (< bucket width default)
+3.3.2.11. Invalid dscp
+Request: Parameter dscp set to invalid value.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+
+3.3.2.12. Invalid phb
+Request: Parameter phb set to invalid value.
+Response: perfSONAR error: error.mp.clmp.system.tool_response
+
+3.3.2.13. 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
+3.3.2.14. 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
+3.3.2.15. Unknown parameter
Request: Unknown parameter set.
Response: Correct response containing data.
Parameter ignored -> no error condition is raised.
@@ -289,11 +286,11 @@
3.3.2.6. Missing metadata/subject
Request: Element "subject" in element "metadata" is missing.
-Response: TODO
+Response: perfSONAR error: error.mp.clmp.validator.malformed_request
3.3.2.7. Missing metadata/endPointPair
Request: Element "endPointPair" in element "metadata" is missing.
-Response: TODO
+Response: perfSONAR error: error.mp.clmp.validator.malformed_request
3.3.2.8. Wrong metadata/eventType
Request: Wrong text in element "eventType" in element "metadata".
@@ -306,7 +303,7 @@
3.3.2.10. Missing metadata/parameters
Request: Element "parameters" in element "metadata" is missing.
-Response: TODO
+Response: perfSONAR error: error.mp.clmp.validator.malformed_request
3.3.2.11. Missing data (trigger)
Request: data Element missing.
- perfsonar: r2170 - trunk/functional-testing/clmp, svnlog, 03/01/2007
Archive powered by MHonArc 2.6.16.