Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5903 - trunk/perfsonar-java-xml-ls/src/test/soapUI

Subject: perfsonar development work

List archive

[pS-dev] [GEANT/SA2/ps-java-services] r5903 - trunk/perfsonar-java-xml-ls/src/test/soapUI


Chronological Thread 
  • From:
  • To:
  • Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5903 - trunk/perfsonar-java-xml-ls/src/test/soapUI
  • Date: Mon, 12 Mar 2012 20:31:39 +0000 (GMT)

Author: dante.delvaux
Date: 2012-03-12 20:31:39 +0000 (Mon, 12 Mar 2012)
New Revision: 5903

Modified:

trunk/perfsonar-java-xml-ls/src/test/soapUI/perfsonar-LS-base2-soapui-project.xml
Log:
Improving unit testing coverage for discovery queries, refs PSSERVICES-558

Modified:
trunk/perfsonar-java-xml-ls/src/test/soapUI/perfsonar-LS-base2-soapui-project.xml
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/soapUI/perfsonar-LS-base2-soapui-project.xml
2012-03-12 20:30:02 UTC (rev 5902)
+++
trunk/perfsonar-java-xml-ls/src/test/soapUI/perfsonar-LS-base2-soapui-project.xml
2012-03-12 20:31:39 UTC (rev 5903)
@@ -342,8 +342,11 @@
<nmwgt:capacity>10000000000</nmwgt:capacity>
</nmwgt:interface>
</perfsonar:subject>
+<!-- FIXME: Is eventType a parameter??? -->

<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
- <nmwg:parameter name="keyword" value="project:GEANT"/>
+ <nmwg:parameters>
+ <nmwg:parameter name="keyword" value="project:GEANT"/>
+ </nmwg:parameters>
</nmwg:metadata>
</nmwg:data>

@@ -5144,7 +5147,7 @@
} else

props.setPropertyValue("accessPoint","http://s"+thread+"-"+counter+"."+apName+":"+apPort+apPath)
}
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0001</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0039.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0001.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Threaded
Double Reg"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0039</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0007-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0007-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0039-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:

value>http://s00-0039-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Threaded Dereg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>01c061ba-e53c-42f2-b08b-6f705a53e8af</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0009.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0038</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0038.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/Measurem

entArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:loadTest
name="Lots of Random
Reg-Dereg"><con:settings/><con:threadCount>8</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>3600</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:setupScript>//
Init an empty DB or keep the existing one
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0001</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0039.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0001.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Threaded
Double Reg"><con:settings/><con:config xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0039</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0007-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0007-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0039-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointB</con:name><con:

value>http://s00-0039-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="calltestcase" name="Threaded Dereg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>01c061ba-e53c-42f2-b08b-6f705a53e8af</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0009.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:loadTest
name="Lots of Random
Reg-Dereg"><con:settings/><con:threadCount>8</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>tr

ue</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>3600</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:setupScript>//
Init an empty DB or keep the existing one
def tc = loadTestRunner.loadTest.testCase
def initdbtc =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initdbtc.run(null, false)
@@ -5220,7 +5223,7 @@
if (prop) counter = prop.toInteger()
else counter = 0
ts.setPropertyValue("ServicesCounter", String.format('%d',++counter))
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0006</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0028.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0006.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ServicesCounter</con:name><con:value>0</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</
con:runMode></con:config></con:testStep><con:testStep type="request"
name="Test Double Service exist"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Double Service exist" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType and
serviceName -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Single Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>3e654b7b-53a4-4f13-8628-6d7bfc9c4512</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0006</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0028.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0006.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="Test Double Se
rvice exist"><con:settings/><con:config xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Double Service exist" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered services of given serviceType and
serviceName -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";>
<soapenv:Header/>
<soapenv:Body>
@@ -5264,7 +5267,7 @@
if (prop) counter = prop.toInteger()
else counter = 0
ts.setPropertyValue("ServicesCounter", String.format('%d',++counter))
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Double Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0034</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0020-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0020-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0034-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchive

Service</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0034-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ServicesCounter</con:name><con:value>1</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="Test Dereg Service exist"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Dereg Service exist" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-5-1:8180/perfsonar-java-xml-ls/services/
LookupService</con:endpoint><con:request><![CDATA[<!-- XPath query: lookup
for registered services of given serviceType and serviceName -->
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Double Reg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>724f833a-ee9d-46e3-a0ad-02b1d7e11205</con:targetTestCase><con:properties><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0034</con:value></con:property><con:property><con:name>lsKeyA</con:name><con:value>http://s00-0020-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>lsKeyB</con:name><con:value>http://s00-0020-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>accessPointA</con:name><con:value>http://s00-0034-a.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchive

Service</con:value></con:property><con:property><con:name>accessPointB</con:name><con:value>http://s00-0034-b.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep
type="request" name="Test Dereg Service exist"><con:settings/><con:config
xsi:type="con:RequestStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Test Dereg Service exist" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-5-1:8180/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
XPath query: lookup for registered
services of given serviceType and serviceName -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";>
<soapenv:Header/>
<soapenv:Body>
@@ -5308,7 +5311,7 @@
if (prop) counter = prop.toInteger()
else counter = 0
ts.setPropertyValue("ServicesCounter", String.format('%d',--counter))
-</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Dereg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>01c061ba-e53c-42f2-b08b-6f705a53e8af</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0039.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property><con:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0028</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0028.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:loadTest
name="Lots of Random Reg-Dereg-Queries">

<con:settings/><con:threadCount>4</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>3600</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:setupScript>//
Init an empty DB or keep the existing one
+</script></con:config></con:testStep><con:testStep type="calltestcase"
name="Threaded Dereg"><con:settings/><con:config
xsi:type="con:RunTestCaseStep"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><con:targetTestCase>01c061ba-e53c-42f2-b08b-6f705a53e8af</con:targetTestCase><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0039.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:loadTest
name="Lots of Random
Reg-Dereg-Queries"><con:settings/><con:threadCount>4</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>3600</con:testLimit><c

on:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion
type="Step Status" name="Step
Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:setupScript>//
Init an empty DB or keep the existing one
def tc = loadTestRunner.loadTest.testCase
def initdbtc =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initdbtc.run(null, false)



  • [pS-dev] [GEANT/SA2/ps-java-services] r5903 - trunk/perfsonar-java-xml-ls/src/test/soapUI, svn-noreply, 03/12/2012

Archive powered by MHonArc 2.6.16.

Top of Page