perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5928 - in trunk/perfsonar-java-xml-ls: packaging packaging/jar packaging/rhel6 soapUI soapUI/lib
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r5928 - in trunk/perfsonar-java-xml-ls: packaging packaging/jar packaging/rhel6 soapUI soapUI/lib
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5928 - in trunk/perfsonar-java-xml-ls: packaging packaging/jar packaging/rhel6 soapUI soapUI/lib
- Date: Tue, 8 May 2012 18:22:09 +0100 (BST)
Author: dante.delvaux
Date: 2012-05-08 18:22:09 +0100 (Tue, 08 May 2012)
New Revision: 5928
Added:
trunk/perfsonar-java-xml-ls/packaging/rhel6/
trunk/perfsonar-java-xml-ls/packaging/rhel6/perfsonar-java-xml-ls.specs
trunk/perfsonar-java-xml-ls/soapUI/lib/org.perfsonar.soapUI.ls.jar
Removed:
trunk/perfsonar-java-xml-ls/soapUI/org/
Modified:
trunk/perfsonar-java-xml-ls/packaging/jar/org.perfsonar.soapUI.ls.jardesc
trunk/perfsonar-java-xml-ls/soapUI/README
trunk/perfsonar-java-xml-ls/soapUI/perfsonar-LS-base2-soapui-project.xml
Log:
Adding RHEL-6 rpm spec file and jar file needed for soapUI testing.
Modified:
trunk/perfsonar-java-xml-ls/packaging/jar/org.perfsonar.soapUI.ls.jardesc
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/jar/org.perfsonar.soapUI.ls.jardesc
2012-05-08 16:24:40 UTC (rev 5927)
+++ trunk/perfsonar-java-xml-ls/packaging/jar/org.perfsonar.soapUI.ls.jardesc
2012-05-08 17:22:09 UTC (rev 5928)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jardesc>
- <jar path="/Applications/SmartBear/org.perfsonar.soapUI.ls.jar"/>
+ <jar path="/tmp/org.perfsonar.soapUI.ls.jar"/>
<options buildIfNeeded="true" compress="true"
descriptionLocation="/XML-LS.trunk/packaging/jar/org.perfsonar.soapUI.ls.jardesc"
exportErrors="true" exportWarnings="true" includeDirectoryEntries="true"
overwrite="false" saveDescription="true" storeRefactorings="false"
useSourceFolders="false"/>
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
<selectedProjects/>
Added: trunk/perfsonar-java-xml-ls/packaging/rhel6/perfsonar-java-xml-ls.specs
===================================================================
--- trunk/perfsonar-java-xml-ls/packaging/rhel6/perfsonar-java-xml-ls.specs
(rev 0)
+++ trunk/perfsonar-java-xml-ls/packaging/rhel6/perfsonar-java-xml-ls.specs
2012-05-08 17:22:09 UTC (rev 5928)
@@ -0,0 +1,231 @@
+%define old_name geant2-java-xml-ls
+%define prefix /usr/lib/perfsonar/services/
+%define tomcat tomcat6
+%define tomcatwebapps %{_var}/lib/%{tomcat}/webapps/
+%define tomcatconf /etc/%{tomcat}/%{tomcat}.conf
+
+Name: perfsonar-java-xml-ls
+Version: 1.6
+Release: 0b.el6_2
+Summary: perfSONAR Lookup Service
+Vendor: GÉANT
+Group: Network/Web service
+URL: http://perfsonar.forge.geant.net
+License: GÉANT Standard Open Source Software Outward Licence
+Packager: Antoine Delvaux
<>
+Source: %{name}-%{version}.tar.gz
+Requires: jre >= 1.6, %{tomcat}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
+BuildArch: noarch
+
+# Unfortunately on RHEL6.1 and 6.2, tomcat6 depends on some X11 libraries
+# See https://bugzilla.redhat.com/show_bug.cgi?id=472630 for more details
+# This means that installing perfsonar-java-xml-ls on RHEL6 brings in a lot
of unneeded packages
+
+%description
+perfSONAR XML Lookup Service based on psBase2 and eXist DB backend.
+
+
+%prep
+%{__rm} -rf ${RPM_BUILD_DIR}/%{name}-%{version}
+%setup -q
+
+
+%build
+pushd ${RPM_BUILD_DIR}/%{name}-%{version}
+popd
+
+
+%install
+# make the directory
+rm -rf $RPM_BUILD_ROOT
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{prefix}%{name}
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{prefix}%{old_name}
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}/usr/share/doc/%{name}
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{_var}/lib/%{name}
+%{__install} -d -m 755 ${RPM_BUILD_ROOT}%{_var}/log/%{name}
+
+# copy the service content to the tomcat webapps directory
+pushd ${RPM_BUILD_DIR}/%{name}-%{version}
+ # servlet-context-redirector
+ %{__cp} -a %{old_name} ${RPM_BUILD_ROOT}%{prefix}
+ %{__cp} -a %{name}/data ${RPM_BUILD_ROOT}%{_var}/lib/%{name}
+ %{__cp} -a %{name}/db ${RPM_BUILD_ROOT}%{prefix}%{name}
+ %{__cp} -a %{name}/META-INF ${RPM_BUILD_ROOT}%{prefix}%{name}
+ %{__cp} -a %{name}/schema ${RPM_BUILD_ROOT}%{prefix}%{name}
+ %{__cp} -a %{name}/WEB-INF ${RPM_BUILD_ROOT}%{prefix}%{name}
+ %{__cp} -a wa ${RPM_BUILD_ROOT}%{prefix}%{name}
+ %{__cp} -a index.jsp ${RPM_BUILD_ROOT}%{prefix}%{name}
+ %{__cp} -a %{name}/doc/* ${RPM_BUILD_ROOT}/usr/share/doc/%{name}
+popd
+
+
+%post
+## make symlinks for an easy access to conf
+if [ ! -e %{_sysconfdir}/%{name} ]; then
+ %{__ln_s} -f %{prefix}%{name}/WEB-INF/classes/perfsonar/conf
%{_sysconfdir}/%{name} || true
+fi
+if [ ! -e %{tomcatwebapps}%{name} ]; then
+ %{__ln_s} -f %{prefix}%{name} %{tomcatwebapps}%{name} || true
+fi
+if [ ! -e %{tomcatwebapps}%{old_name} ]; then
+ %{__ln_s} -f %{prefix}%{old_name} %{tomcatwebapps}%{old_name} || true
+fi
+## Increase tomcat JVM default memory allocation, only if it is not already
changed
+if [ -e %{tomcatconf} ]; then
+ grep "\-Xmx" %{tomcatconf} > /dev/null
+ if [ $? ]; then
+ echo "Increasing %{tomcat} default memory allocation to 512m"
+ echo -e "\n# perfSONAR - increase JVM default
memory\nJAVA_OPTS=\"\${JAVA_OPTS} -Xmx512m\"" >> %{tomcatconf}
+ fi
+fi
+## Open firewall port 8080 so tomcat can actually listen
+grep "\-\-dport 8080" /etc/sysconfig/iptables > /dev/null
+if [ $? ]; then
+ echo "Opening iptables firewall port 8080 for tomcat"
+ iptables -I INPUT -m state --state NEW -p tcp --dport 8080 -j ACCEPT
+ sed -i '/-A INPUT -j REJECT --reject-with icmp-host-prohibited/i-A INPUT
-m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT'
/etc/sysconfig/iptables
+ echo "--port=8080:tcp" >> /etc/sysconfig/system-config-firewall
+fi
+## restart tomcat
+chkconfig %{tomcat} on
+service %{tomcat} restart
+
+
+%preun
+## remove symlink
+if [ $1 -eq 1 ]; then
+ ## upgrade - do nothing
+ echo
+else
+ ## remove - cleanup - TODO: to improve...
+ if [ ! -e %{prefix}/WEB-INF/classes/perfsonar/conf ]; then
+ %{__rm} -rf %{_sysconfdir}/%{name} || true
+ %{__rm} -rf %{_var}/log/%{name} || true
+ fi
+ if [ -e %{tomcatwebapps}%{name} ]; then
+ %{__rm} -rf %{tomcatwebapps}%{name} || true
+ fi
+ if [ -e %{tomcatwebapps}%{old_name} ]; then
+ %{__rm} -rf %{tomcatwebapps}%{old_name} || true
+ fi
+ if [ -e %{tomcatendorsed}xml-resolver-1.2.jar ]; then
+ %{__rm} -rf %{tomcatendorsed}xml-resolver-1.2.jar || true
+ fi
+fi
+
+
+%postun
+## restart tomcat
+/sbin/service %{tomcat} restart
+
+
+
+%clean
+# clean up our mess
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(0644,root,tomcat,0755)
+%docdir /usr/share/doc/%{name}
+%dir %attr(0775,tomcat,tomcat) %{_var}/lib/%{name}/data/
+%{_var}/lib/%{name}/data/README
+%dir %attr(0775,tomcat,tomcat) %{_var}/log/%{name}
+%config %{prefix}%{name}/WEB-INF/web.xml
+%config(noreplace) %{prefix}%{name}/WEB-INF/classes/conf.xml
+%config(noreplace) %{prefix}%{name}/WEB-INF/classes/log4j.xml
+%config
%{prefix}%{name}/WEB-INF/classes/perfsonar/conf/configuration-rules.xml
+%attr(0660,tomcat,tomcat) %config(noreplace)
%{prefix}%{name}/WEB-INF/classes/perfsonar/conf/configuration.xml
+%attr(0660,tomcat,tomcat) %config(noreplace)
%{prefix}%{name}/WEB-INF/classes/perfsonar/conf/webAdminConfig.xml
+%{prefix}%{name}/META-INF
+%{prefix}%{name}/db
+%{prefix}%{name}/index.jsp
+%{prefix}%{name}/schema
+%{prefix}%{name}/wa
+%{prefix}%{name}/WEB-INF/classes/org
+%{prefix}%{name}/WEB-INF/conf
+%{prefix}%{name}/WEB-INF/lib
+%{prefix}%{name}/WEB-INF/modules
+%{prefix}%{name}/WEB-INF/services
+%{prefix}%{old_name}
+/usr/share/doc/%{name}
+%{_sysconfdir}/%{name}
+
+
+%changelog
+* Thu May 08 2012 Antoine Delvaux
<>
1.6-0b
+ - New: Ported to RHEL6 and Tomcat6
+ - New: Embedded eXist DB version 1.2.6
+ - Change: now distributed under the GÉANT Standard Open Source Software
Outward Licence
+ - Change: lighter default logging (only errors and warnings) and separated
into exist.log and perfsonar.log
+ - Fixes: PSSERVICES-572, PSSERVICES-563, PSSERVICES-558, PSSERVICES-613
+
+* Fri Sep 24 2010 Krzysztof Jedrzejewski
<>
1.5-1
+- Final release
+
+* Thu May 27 2010 Krzysztof Jedrzejewski
<>
1.5-rc4
+- Fixes: bugs fixes PSSERVICES-503
+- New: old naming policy supported geant2-java-xml-ls - improved
+
+* Thu May 13 2010 Slawomir Trzaszczka
<>
1.5-rc3
+- Fixes: bugs fixes PSSERVICES-443, PSSERVICES-479
+- New: old naming policy supported geant2-java-xml-ls
+
+* Thu Mar 18 2010 Slawomir Trzaszczka
<>
1.5-RC2
+- Fixes: bugs fixes
+
+* Tue Feb 02 2010 Slawomir Trzaszczka
<>
1.5-RC1
+- Fixes: bugs fixes
+- Change: new naming policy(perfsonar-java-xml-ls)
+- Change: psBase2 used instead psBase1
+- New: new web-admin
+- New: summarization added
+
+* Wed Jul 08 2009 Slawomir Trzaszczka
<>
1.4-1
+- Change:removed admin guide
+- Change:renamed package to perfsonar-java-xml-ls
+
+* Mon Mar 16 2009 Maciej Glowiak
<>
1.3.1-1
+- bug fix in gLS registration
+- Change: nmwg-jar=nmwg-1.0.20090304.jar
+- Change: ps-antxml-ver=1.0.20080204
+- Change: ps-jar-ver=1.0.20090316
+- Change: ps-webadmin=0.9.8b
+
+
+* Thu Jan 15 2009 Maciej Glowiak
<>
1.3-12
+- Final release, license added
+- Change: nmwg-jar=nmwg-1.0.20081015.jar
+- Change: ps-antxml-ver=1.0.20080204
+- Change: ps-jar-ver=1.0.20080924
+- Change: ps-webadmin=0.9.8b
+
+* Fri Nov 28 2008 Maciej Glowiak
<>
1.3-11
+- Fixes bugs 649, 690, 685, 680
+- Change: nmwg-jar=nmwg-1.0.20081015.jar
+- Change: ps-antxml-ver=1.0.20080204
+- Change: ps-jar-ver=1.0.20080924
+- Change: ps-webadmin=0.9.8b
+
+* Fri Oct 31 2008 Maciej Glowiak
<>
1.3-10
+- Change: Webadmin deployment test works
+- Fixes in scripts
+- New: WebAdmin wizard script improvements
+- New: Support for OWAMP
+- New: Support for more eventTypes
+- New: XQuery supports 'escaped' parameter, rejects other
+- New: XQuery return eventType
+- New: LSDiscovery for hLS
+- New: Global LS implementation
+- New: Registration to LS (hLS to gLS)
+- New: IP addresses summarization (hLS)
+- New: Self test implemented
+- New: Packaging (DEB+RPM)
+- New: Authentication
+- Change: nmwg-jar=nmwg-1.0.20081015.jar
+- Change: ps-antxml-ver=1.0.20080204
+- Change: ps-jar-ver=1.0.20080924
+- Change: ps-webadmin=0.9.8b
+
Property changes on:
trunk/perfsonar-java-xml-ls/packaging/rhel6/perfsonar-java-xml-ls.specs
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/perfsonar-java-xml-ls/soapUI/README
===================================================================
--- trunk/perfsonar-java-xml-ls/soapUI/README 2012-05-08 16:24:40 UTC (rev
5927)
+++ trunk/perfsonar-java-xml-ls/soapUI/README 2012-05-08 17:22:09 UTC (rev
5928)
@@ -1,17 +1,36 @@
soapUI testing of LS
--------------------
-Build and install org.perfsonar.soapUI.ls jar:
-- This jar can be built from the jardesc in the packaging directory.
-- Resulting jar should only contain 2 compiled classes and a directory with
RNC schema files.
-- The jar should be copied over to the bin/ext directory of soapUI (location
is dependent upon your own soapUI installation).
-- The jing.jar should be copied to the bin/ext directory, and a log4j.jar as
well.
+First, you need to add the needed JARs to your soapUI install. The jars
in
+soapUI/lib need to be added to the bin/ext directory of soapUI (exact
location
+is dependent upon your own soapUI installation or the OS you use, it's
probably
+somewhere close to the soapUI binaries or in your home directory, refer
to
+soapUI documentation for more information).
-Open the perfsonar-LS-base2-soapui-project.xml with soapUI version 4.0 or
higher and change the following settings to match your testing setup:
-- In the project "perfSONAR - Lookup Service" custom properties, set the
lsHost variable to the URL of the server/service you want to test (and if you
changed some other LS configurations like the eXist username or password,
change it here as well).
-- In the LookupServiceSoap12Binding, use or change one of the Service
Endpoints to match that of your server (use the same URL as above).
+Open the perfsonar-LS-base2-soapui-project.xml with soapUI version 4.0 or
higher
+and change the following settings to match your testing setup:
+
+- In the project "perfSONAR - Lookup Service" custom properties, set the
lsHost
+ variable to the URL of the server/service you want to test (and if you
changed
+ some other LS configurations like the eXist username or password, change it
+ here as well).
+
+- In the LookupServiceSoap12Binding, use or change one of the Service
Endpoints
+ to match that of your server (use the same URL as above).
+
- Then assign this new/edited Endpoint to All Requests and TestRequests.
-There should be no need to change anything else in the project, all test
case properties should be changed and modified automatically as the tests
execute.
+There should be no need to change anything else in the project, all test
case
+properties should be changed and modified automatically as the tests execute.
-The soapUI project should now be ready to run. You can run the whole test
suite the main "perfSONAR - Lookup Service" window or go to each test case
individually.
+The soapUI project should now be ready to run. You can run the whole test
suite
+the main "perfSONAR - Lookup Service" window or go to each test
case
+individually.
+
+*Building org.perfsonar.soapUI.ls.jar*
+
+- This jar can be built from the jardesc in the 'jar' packaging directory.
+- Resulting jar should only contain 2 compiled classes and a directory with
RNC
+ schema files.
+- Only validation with RNC schema files is supported (and actually needed).
+
Added: trunk/perfsonar-java-xml-ls/soapUI/lib/org.perfsonar.soapUI.ls.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/perfsonar-java-xml-ls/soapUI/lib/org.perfsonar.soapUI.ls.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified:
trunk/perfsonar-java-xml-ls/soapUI/perfsonar-LS-base2-soapui-project.xml
===================================================================
--- trunk/perfsonar-java-xml-ls/soapUI/perfsonar-LS-base2-soapui-project.xml
2012-05-08 16:24:40 UTC (rev 5927)
+++ trunk/perfsonar-java-xml-ls/soapUI/perfsonar-LS-base2-soapui-project.xml
2012-05-08 17:22:09 UTC (rev 5928)
@@ -481,7 +481,7 @@
def data =
ResponseHolder.getDomNodes('/soapenv:Envelope/soapenv:Body/nmwg:message/nmwg:data[@metadataIdRef="'+metadataIdRef+'"]/nmwgr:datum')
assert data.size() == 1
assert data[0].getValueAsString().contains(apKey)
-</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s05-0035.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Double Registration" searchProperties="true"
id="724f833a-ee9d-46e3-a0ad-02b1d7e11205"><con:settings/><con:testStep
type="request" name="Double Service Registration"
id="c047b0c2-2c93-419b-8713-47dc9c4145fc"><con:settings/><con:config
xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2
001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Double Service Registration" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Two Services registration with data -->
+</scriptText></con:configuration></con:assertion><con:credentials><con:username
xsi:nil="true"/><con:password xsi:nil="true"/><con:domain
xsi:nil="true"/></con:credentials><con:jmsConfig
JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig
mustUnderstand="NONE" version="200508"/><con:wsrmConfig
version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>lsKey</con:name><con:value>http://s00-0012.load.service.geant.net:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService</con:value></con:property></con:properties></con:testCase><con:testCase
failOnError="true" failTestCaseOnErrors="true" keepSession="false"
maxResults="0" name="Double Registration" searchProperties="true"
id="724f833a-ee9d-46e3-a0ad-02b1d7e11205"><con:settings/><con:testStep
type="request" name="Double Service Registration"
id="c047b0c2-2c93-419b-8713-47dc9c4145fc"><con:settings/><con:config
xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2
001/XMLSchema-instance"><con:interface>LookupServiceSoap12Binding</con:interface><con:operation>message</con:operation><con:request
name="Double Service Registration" outgoingWss=""
incomingWss=""><con:settings><con:setting
id="com.eviware.soapui.impl.wsdl.WsdlRequest@inline-response-attachments">false</con:setting><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://ls-1-6:8080/perfsonar-java-xml-ls/services/LookupService</con:endpoint><con:request><![CDATA[<!--
Two Services registration with data -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
@@ -5113,7 +5113,7 @@
props.setPropertyValue("Counter", counter)
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>0037</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0001.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-0037.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 Registrations" id="6c
2383df-9e36-4bc7-89f3-b464f710407c"><con:settings/><con:threadCount>30</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>300</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
+</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>0038</con:value></con:property><con:property><con:name>lsKey</con:name><con:value>http://s00-0001.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-0038.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 Registrations" id="6c
2383df-9e36-4bc7-89f3-b464f710407c"><con:settings/><con:threadCount>30</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>300</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
def tc = loadTestRunner.loadTest.testCase
def initdbtc =
tc.getTestSuite().getProject().getTestSuiteByName("Initialisation").getTestCaseByName("Empty
DB")
initdbtc.run(null, false)
@@ -5145,7 +5145,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>0048</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-0048.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>0009</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-0009-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-0009-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>0003</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0003.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>300</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>0028</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-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: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>0005</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-0005-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-0005-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>0047</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0047.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>300</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)
@@ -5221,7 +5221,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>0040</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-0040.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"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/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>0012</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-0012.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"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/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>
@@ -5265,7 +5265,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>0045</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-0045-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-0045-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>2</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"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/Lo
okupService</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>0026</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-0026-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-0026-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"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://ls-1-6:8080/perfsonar-java-xml-ls/services/Lo
okupService</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>
@@ -5309,7 +5309,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>0020</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0020.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>300</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:property><con:name>ParentThread</con:name><con:value>00</con:value></con:property><con:property><con:name>Counter</con:name><con:value>0040</con:value></con:property><con:property><con:name>accessPoint</con:name><con:value>http://s00-0040.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>300</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)
- [pS-dev] [GEANT/SA2/ps-java-services] r5928 - in trunk/perfsonar-java-xml-ls: packaging packaging/jar packaging/rhel6 soapUI soapUI/lib, svn-noreply, 05/08/2012
Archive powered by MHonArc 2.6.16.