perfsonar-dev - perfsonar: r3534 - in trunk/functional-testing/JavaSQLMAsoapUI: InterfaceBased L2Status
Subject: perfsonar development work
List archive
perfsonar: r3534 - in trunk/functional-testing/JavaSQLMAsoapUI: InterfaceBased L2Status
Chronological Thread
- From:
- To:
- Subject: perfsonar: r3534 - in trunk/functional-testing/JavaSQLMAsoapUI: InterfaceBased L2Status
- Date: Wed, 19 Mar 2008 06:15:44 -0400
Author: sasa.cavara
Date: 2008-03-19 06:15:43 -0400 (Wed, 19 Mar 2008)
New Revision: 3534
Modified:
trunk/functional-testing/JavaSQLMAsoapUI/InterfaceBased/SQL_MA_soapui-project.xml
trunk/functional-testing/JavaSQLMAsoapUI/L2Status/SQL-MA_L2-soapui-project.xml
Log:
Modified:
trunk/functional-testing/JavaSQLMAsoapUI/InterfaceBased/SQL_MA_soapui-project.xml
===================================================================
---
trunk/functional-testing/JavaSQLMAsoapUI/InterfaceBased/SQL_MA_soapui-project.xml
2008-03-18 14:58:34 UTC (rev 3533)
+++
trunk/functional-testing/JavaSQLMAsoapUI/InterfaceBased/SQL_MA_soapui-project.xml
2008-03-19 10:15:43 UTC (rev 3534)
@@ -1,5 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
-<con:soapui-project name="SQL-MA_IF_BASED" soapui-version="2.0-beta2"
xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting
id="ProjectSettings@projectRoot">/home/sasa/Desktop/soapui-2.0-beta2/JavaSQLMAsoapUI/InterfaceBased</con:setting></con:settings><con:interface
name="MetadataRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}MetadataRequest"
soapVersion="1_1"
definition="file:../JavaSQLMAsoapUI/InterfaceBased/MetadataKeyRequest.wsdl"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.tcpmon.TcpMonAction@values-local"><xml-fragment
xmlns:con="http://eviware.com/soapui/config">
+<con:soapui-project name="SQL-MA_IF_BASED" soapui-version="2.0-beta2"
xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting
id="ProjectSettings@projectRoot">/home/scavara/Desktop/soapui-2.0-beta2/JavaSQLMAsoapUI/InterfaceBased</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.LoadTestRunnerAction@values-local"><![CDATA[<xml-fragment
xmlns:con="http://eviware.com/soapui/config">
+ <con:entry key="TestRunner Path" value=""/>
+ <con:entry key="Domain" value=""/>
+ <con:entry key="LoadTest" value="<all>"/>
+ <con:entry key="Tool Args" value=""/>
+ <con:entry key="Add Settings" value="false"/>
+ <con:entry key="Host:Port" value=""/>
+ <con:entry key="Save Project" value="false"/>
+ <con:entry key="Root Folder" value=""/>
+ <con:entry key="TestSuite" value="<all>"/>
+ <con:entry key="Password" value=""/>
+ <con:entry key="TestCase" value="<all>"/>
+ <con:entry key="Limit" value=""/>
+ <con:entry key="Endpoint" value=""/>
+ <con:entry key="Print Report" value="false"/>
+ <con:entry key="ThreadCount" value=""/>
+ <con:entry key="Username" value=""/>
+</xml-fragment>]]></con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment
xmlns:con="http://eviware.com/soapui/config">
+ <con:entry key="TestRunner Path" value=""/>
+ <con:entry key="Domain" value=""/>
+ <con:entry key="WSS Password Type" value=""/>
+ <con:entry key="Tool Args" value=""/>
+ <con:entry key="Host:Port" value=""/>
+ <con:entry key="Add Settings" value="false"/>
+ <con:entry key="Save Project" value="false"/>
+ <con:entry key="Root Folder" value=""/>
+ <con:entry key="Export All" value="false"/>
+ <con:entry key="Enable UI" value="false"/>
+ <con:entry key="TestSuite" value="<all>"/>
+ <con:entry key="Password" value=""/>
+ <con:entry key="TestCase" value="<all>"/>
+ <con:entry key="Endpoint" value=""/>
+ <con:entry key="Export JUnit Results" value="false"/>
+ <con:entry key="Print Report" value="false"/>
+ <con:entry key="Open Report" value="false"/>
+ <con:entry key="Username" value=""/>
+</xml-fragment>]]></con:setting></con:settings><con:interface
name="MetadataRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}MetadataRequest"
soapVersion="1_1"
definition="file:../JavaSQLMAsoapUI/InterfaceBased/MetadataKeyRequest.wsdl"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.tcpmon.TcpMonAction@values-local"><xml-fragment
xmlns:con="http://eviware.com/soapui/config">
<con:entry key="Add local endpoint" value="false"/>
<con:entry key="Endpoint"
value="http://192.168.10.86:8080/geant2_java-rrd-ma-2.3-RC4/services/MeasurementArchiveService"/>
<con:entry key="Local Port" value=""/>
@@ -2253,27 +2289,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.common.action_not_supported")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MetadataKeyResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors emtpy type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Errors emtpy type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Errors emtpy type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Errors emtpy type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -2308,27 +2324,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.common.action_not_supported")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MetadataKeyResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name=" Metadata -Discards wrong type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name=" Metadata -Discards wrong type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name=" Metadata -Discards wrong type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name=" Metadata -Discards wrong type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -2363,27 +2359,7 @@
and
(fn:string(//nmwg:metadata/nmwg:eventType)="error.common.action_not_supported")
and
-(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/MetadataKeyResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Discards no metadata
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Discards no metadata element"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
+(count(//nmwg:data/nmwgr:datum)=1)</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Metadata -Discards no metadata
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MetadataRequest</con:interface><con:operation>Metadata</con:operation><con:request
name="Metadata -Discards no metadata element"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<nmwg:message
@@ -4289,7 +4265,7 @@
<nmwg:data id="data1" metadataIdRef="meta2"/>
</nmwg:message>
</soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText/></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
import java.io.OutputStream;
import java.io.StringWriter;
import javax.xml.transform.*;
@@ -4853,32 +4829,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.parse_error</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/SetupDataResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - no type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - no type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.parse_error</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - no type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - no type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id="msg4"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -4908,32 +4859,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/SetupDataResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - non existing type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - non existing type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - non existing type in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - non existing type in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2
.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id="msg4" type="SetupData"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -4963,32 +4889,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/SetupDataResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData -type empty in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData -type empty in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData -type empty in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData -type empty in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id="msg4" type=""
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -5018,32 +4919,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/SetupDataResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - no metadata and
data"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - no metadata and data"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.common.action_not_supported</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - no metadata and
data"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - no metadata and data"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id="msg4" type="SetupDataRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -5681,7 +5557,11 @@
//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>warning.ma.metadata_configuration</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData- wrong namespace of interface
elements"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- wrong namespace of interface
elements"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
- <nmwg:message id="msg4" type="SetupDataRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/ntopology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
+ <nmwg:message id="msg4" type="SetupDataRequest"
+xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
+xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+xmlns:nmwgt="http://ggf.org/ns/nmwg/INVALID_NS_topology/2.0/"
+xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
<nmwg:metadata id ="meta1" >
<netutil:subject id="subj1">
<nmwgt:interface>
@@ -5704,32 +5584,7 @@
<nmwg:data id="data1" metadataIdRef="meta2"/>
</nmwg:message>
</soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/InterfaceBased/SetupDataResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion><con:assertion type="XPath
Match"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
declare namespace
netutil='http://ggf.org/ns/nmwg/characteristic/utilization/2.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
@@ -6574,7 +6429,7 @@
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace fn="http://www.w3.org/2005/xpath-functions";
-//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.ma.query</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Requests with invalid data" searchProperties="true"
id="4e437dd5-1b0a-40c0-8dc0-47b18b4c6a1e"><con:settings/><con:testStep
type="request" name="SetupData- start time bigger than end time"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- start time bigger than end time"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perf
SONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+//nmwg:message/nmwg:metadata/nmwg:eventType</path><content>error.ma.query</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Requests with invalid data" searchProperties="true"
id="4e437dd5-1b0a-40c0-8dc0-47b18b4c6a1e"><con:settings/><con:testStep
type="request" name="SetupData- start time bigger than end
time"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData- start time bigger than end time"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@encode_attachments">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/ser
vices/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id="msg4" type="SetupDataRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
@@ -7170,7 +7025,8 @@
<nmwg:data id="" metadataIdRef="meta"/>
</nmwg:message>
</soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="Schema Compliance"
disabled="true"><con:configuration><definition>file:../JavaSQLMAsoapUI/InterfaceBased/lookupinfo/LookupInfoResponse.wsdl</definition></con:configuration></con:assertion><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/';
+</soapenv:Envelope>
+]]></con:request><con:assertion type="SOAP Response"/><con:assertion
type="Schema Compliance"
disabled="true"><con:configuration><definition>file:../JavaSQLMAsoapUI/InterfaceBased/lookupinfo/LookupInfoResponse.wsdl</definition></con:configuration></con:assertion><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 select='http://ggf.org/ns/nmwg/ops/select/2.0/';
declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
@@ -7350,9 +7206,68 @@
declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
declare namespace nmwgr='http://ggf.org/ns/nmwg/result/2.0/';
-count(//psservice:service)
=0</path><content>false</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:loadTest
name="LoadTest
1"><con:settings/><con:threadCount>3</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>COUNT</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>1000</testDelay><randomFactor>0.5</randomFactor></con:config></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malf
ormed requests" searchProperties="true"
id="e20c04d9-d34c-4fde-bbdb-a2cfff424b9e"><con:settings/><con:testStep
type="request" name="LookupInfo - No type parameter in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupInfoRequest</con:interface><con:operation>LookupInfo</con:operation><con:request
name="LookupInfo - No type parameter in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+count(//psservice:service)
=0</path><content>false</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Copy of LookupInfo - Sample request (stripped down)"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupInfoRequest</con:interface><con:operation>LookupInfo</con:operation><con:request
name="Copy of LookupInfo - Sample request (stripped down)"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0
/">
<soapenv:Header/>
<soapenv:Body>
+ <nmwg:message type="LookupInfoRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+ <nmwg:metadata id="meta">
+
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/lookupinfo/2.0</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data" metadataIdRef="meta"/>
+ </nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP
Response"/><con:assertion type="Schema
Compliance"><con:configuration><definition>file:Z:\JRA -
Stuff\soapui_era\functional-testing\JavaRRDMAsoapUI\lookupinfo\rrd-ma-lookupinfo-res.wsdl</definition></con:configuration></con:assertion><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 select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+
+//nmwg:message/@type</path><content>LookupInfoResponse</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="XPath Match"><con:configuration><path>declare namespace
nmwgt='http://ggf.org/ns/nmwg/topology/2.0/';
+declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
+declare namespace errors='http://ggf.org/ns/nmwg/characteristic/errors/2.0/';
+declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
+declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
+declare namespace fn="http://www.w3.org/2005/xpath-functions";
+declare namespace
psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/";
+declare namespace xmlns="http://ggf.org/ns/nmwg/base/2.0/";
+
+(count(//nmwg:message/nmwg:metadata) = count(//nmwg:message/nmwg:data))
+and
+(every $descr in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceDescription
+satisfies (fn:string($descr)="perfSONAR service"))
+and
+(every $type in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceType
+satisfies (fn:string($type)="ma"))
+and
+(every $name in
//nmwg:message/nmwg:data/psservice:datum/psservice:service/psservice:serviceName
+satisfies
(fn:string($name)="geant2_java-rrd-ma"))</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains
xmlns:psservice"><con:configuration><token>xmlns:psservice="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/1.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="Simple Contains" name="Contains
xmlns:nmwg"><con:configuration><token>xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion"><con:configuration><scriptText>import
java.io.File;
+import java.io.OutputStream;
+import java.io.StringWriter;
+import javax.xml.transform.*;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.XMLConstants
+import javax.xml.validation.SchemaFactory
+import java.io.StringWriter
+
+
+def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
+def holder = groovyUtils.getXmlHolder(
+messageExchange.getResponseContent());
+def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
+def schema = factory.newSchema(new File("Z:/JRA -
Stuff/soapui_era/functional-testing/JavaRRDMAsoapUI/lookupinfo/rrdmaLookupInfoResponse.rng"));
+def validator = schema.newValidator();
+def node = holder.getDomNode("//nmwg:message")
+//Transformer t = TransformerFactory.newInstance().newTransformer();
+//StringWriter sw = new StringWriter();
+//t.transform(new DOMSource(node), new StreamResult(sw));
+//String yourAnswer = sw.toString();
+//validator.validate(new StreamSource(new StringReader(yourAnswer)));
+validator.validate(new
DOMSource(node));</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:loadTest
name="LoadTest
1"><con:settings/><con:threadCount>3</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>COUNT</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>1000</testDelay><randomFactor>0.5</randomFactor></con:config></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors></con:loadTest><con:properties/></con:testCase><con:testCase
failOnError="false" failTestCaseOnErrors="true" keepSession="false"
name="Malformed requests" searchProperties="true" id="e
20c04d9-d34c-4fde-bbdb-a2cfff424b9e"><con:settings/><con:testStep
type="request" name="LookupInfo - No type parameter in
message"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>LookupInfoRequest</con:interface><con:operation>LookupInfo</con:operation><con:request
name="LookupInfo - No type parameter in message"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
<nmwg:message id="id1" messageIdRef="msgid1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/lookupinfo/2.0</nmwg:eventType>
@@ -9869,7 +9784,7 @@
//nmwg:message/nmwg:data</path><content><nmwg:data
id="resultDescriptionData_for_resultCodeMetadata"
metadataIdRef="resultCodeMetadata"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">SQLTypeMAServiceEngine.getStoreKey:
No ibatisConfig parameter in the key</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, invalid value in datum
element"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, invalid value in datum element"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/" xmlns:ns1="http:/
/ggf.org/ns/nmwg/topology/2.0/">
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, invalid value in datum
element" disabled="true"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, invalid value in datum element"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/" x
mlns:ns1="http://ggf.org/ns/nmwg/topology/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id="msg"
@@ -9950,7 +9865,7 @@
--- Check the statement (update failed).
--- Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range
value adjusted for column 'value' at row 1
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range
value adjusted for column 'value' at row 1</nmwgr:datum>
-</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no value in
datum"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no value in datum"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:ns1="http://ggf.org/ns/nmwg/topology/
2.0/">
+</nmwg:data></content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="Store - Utilization without key, no value in datum"
disabled="true"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MeasurementArchiveStoreRequest</con:interface><con:operation>Store</con:operation><con:request
name="Store - Utilization without key, no value in datum"
wssPasswordType=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/" xmlns:ns1="http://ggf.org/n
s/nmwg/topology/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message id="msg"
Modified:
trunk/functional-testing/JavaSQLMAsoapUI/L2Status/SQL-MA_L2-soapui-project.xml
===================================================================
---
trunk/functional-testing/JavaSQLMAsoapUI/L2Status/SQL-MA_L2-soapui-project.xml
2008-03-18 14:58:34 UTC (rev 3533)
+++
trunk/functional-testing/JavaSQLMAsoapUI/L2Status/SQL-MA_L2-soapui-project.xml
2008-03-19 10:15:43 UTC (rev 3534)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<con:soapui-project name="SQL-MA_L2_Path-Status" soapui-version="2.0-beta2"
xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting
id="ProjectSettings@projectRoot">/home/sasa/Desktop/soapui-2.0-beta2/JavaSQLMAsoapUI/L2Status</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment
xmlns:con="http://eviware.com/soapui/config">
+<con:soapui-project name="SQL-MA_L2_Path-Status" soapui-version="2.0-beta2"
xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting
id="ProjectSettings@projectRoot">/home/scavara/Desktop/soapui-2.0-beta2/JavaSQLMAsoapUI/L2Status</con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment
xmlns:con="http://eviware.com/soapui/config">
<con:entry key="TestRunner Path" value=""/>
<con:entry key="Domain" value=""/>
<con:entry key="WSS Password Type" value=""/>
@@ -17,6 +17,21 @@
<con:entry key="Print Report" value="false"/>
<con:entry key="Open Report" value="false"/>
<con:entry key="Username" value=""/>
+</xml-fragment>]]></con:setting><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.LoadTestRunnerAction@values-local"><![CDATA[<xml-fragment
xmlns:con="http://eviware.com/soapui/config">
+ <con:entry key="TestRunner Path" value=""/>
+ <con:entry key="Domain" value=""/>
+ <con:entry key="LoadTest" value="<all>"/>
+ <con:entry key="Tool Args" value=""/>
+ <con:entry key="Add Settings" value="false"/>
+ <con:entry key="Host:Port" value=""/>
+ <con:entry key="Save Project" value="false"/>
+ <con:entry key="Root Folder" value=""/>
+ <con:entry key="TestSuite" value="<all>"/>
+ <con:entry key="TestCase" value="<all>"/>
+ <con:entry key="Limit" value=""/>
+ <con:entry key="Endpoint" value=""/>
+ <con:entry key="Print Report" value="false"/>
+ <con:entry key="Username" value=""/>
</xml-fragment>]]></con:setting></con:settings><con:interface
name="LookupInfoRequest"
bindingName="{http://ggf.org/ns/nmwg/base/2.0/}LookupInfoRequest"
soapVersion="1_1"
definition="file:../JavaSQLMAsoapUI/L2Status/LookupInfo/LookupInfoRequest.wsdl"
id="299fc2ac-a5bf-4d35-9715-30201330bdd8"><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.actions.iface.tools.tcpmon.TcpMonAction@values-local"><xml-fragment
xmlns:con="http://eviware.com/soapui/config">
<con:entry key="Local Port" value=""/>
<con:entry key="Add local endpoint" value="false"/>
@@ -6557,32 +6572,7 @@
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
-(count(//nmwg:message/nmwg:data) =
count(//nmwg:message/nmwg:data))</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion><con:assertion
type="GroovyScriptAssertion" disabled="true"
id="f097a870-defd-4244-bee1-912c8d8f9b7d"><con:configuration><scriptText>import
java.io.File;
-import java.io.OutputStream;
-import java.io.StringWriter;
-import javax.xml.transform.*;
-import javax.xml.transform.stream.StreamResult;
-import javax.xml.transform.stream.StreamSource;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.XMLConstants
-import javax.xml.validation.SchemaFactory
-import java.io.StringWriter
-
-
-def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
-def holder = groovyUtils.getXmlHolder( messageExchange.getResponseContent());
-def factory = SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
-def schema = factory.newSchema(new
File("../JavaSQLMAsoapUI/L2Status/SetupData/SetupDataResponse.rng"));
-def validator = schema.newValidator();
-def node = holder.getDomNode("//nmwg:message")
-//Transformer t = TransformerFactory.newInstance().newTransformer();
-//StringWriter sw = new StringWriter();
-//t.transform(new DOMSource(node), new StreamResult(sw));
-//String yourAnswer = sw.toString();
-//validator.validate(new StreamSource(new StringReader(yourAnswer)));
-validator.validate(new DOMSource(node));
-</scriptText></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - non-existing type of message"
id="01783902-11fa-4723-8c66-dd4b2139224f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - non-existing type of
message"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+(count(//nmwg:message/nmwg:data) =
count(//nmwg:message/nmwg:data))</path><content>true</content><allowWildcards>true</allowWildcards></con:configuration></con:assertion></con:request></con:config></con:testStep><con:testStep
type="request" name="SetupData - non-existing type of message"
id="01783902-11fa-4723-8c66-dd4b2139224f"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>SetupDataRequest</con:interface><con:operation>SetupData</con:operation><con:request
name="SetupData - non-existing type of
message"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://perfsonar.carnet.hr:8080/perfSONAR-SQL-MA/services/MeasurementArchiveService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
<soapenv:Header/>
<soapenv:Body>
<nmwg:message type="does_not_exist"
@@ -7558,7 +7548,7 @@
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
<nmwg:metadata id="meta1">
- <nmwg:key id="10c24fb1ce1:-7ff0">
+ <nmwg:skey id="10c24fb1ce1:-7ff0">
<nmwg:parameters id="10c24fb1ce1:-7fef">
<nmwg:parameter name="pathId">
PSNC-DFN-MUE-Link-1001
@@ -7585,7 +7575,7 @@
</soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="9a3420d7-d212-4c22-8e59-284969d78151"/><con:assertion type="SOAP Fault
Assertion" id="15f10f93-8a26-4aa7-addc-62d55e16fb71"/><con:assertion
type="XPath Match"
id="71e1e247-f798-49f0-9798-0f4eb4875f35"><con:configuration><path>declare
namespace nmwgtopo3='http://ggf.org/ns/nmwg/topology/base/3.0/';
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"
id="9a3420d7-d212-4c22-8e59-284969d78151"/><con:assertion type="SOAP Fault
Assertion" id="15f10f93-8a26-4aa7-addc-62d55e16fb71"
disabled="true"/><con:assertion type="XPath Match"
id="71e1e247-f798-49f0-9798-0f4eb4875f35"><con:configuration><path>declare
namespace nmwgtopo3='http://ggf.org/ns/nmwg/topology/base/3.0/';
declare namespace select='http://ggf.org/ns/nmwg/ops/select/2.0/';
declare namespace nmtl2='http://ggf.org/ns/nmwg/topology/l2/3.0/';
declare namespace nmwg='http://ggf.org/ns/nmwg/base/2.0/';
- perfsonar: r3534 - in trunk/functional-testing/JavaSQLMAsoapUI: InterfaceBased L2Status, svnlog, 03/19/2008
Archive powered by MHonArc 2.6.16.