blob: 4ee72f1247ca9390b290be735ed61fbdeb2bc5bd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<test-driver version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../testDefinition.xsd">
<data name="timedInterval">240</data>
<data name="cacheType">CLIENT</data>
<data name="redundancyLevel">1</data>
<data name="ThinClientRegion">
<snippet>
<region name="TestTCR1">
<region-attributes client-notification="true">
<cache-loader library="smokeperf" function="createCacheLoader"/>
</region-attributes>
</region>
</snippet>
</data>
<data name="regionSpec">ThinClientRegion</data>
<data name="clientCount">1</data>
<data name="regionName">TestTCR1</data>
<data name="keepAlive">true</data>
<data name="durableTimeout">60</data>
<data name="isDurableReg">true</data>
<client-set count="1" name="Client" hostGroup="CS1"/>
<client-set name="JCS1" hostGroup="CS1"/>
<client-set name="JCS2" hostGroup="CS1"/>
<client-set name="JCS3" hostGroup="CS1"/>
<test name="perf096" description="Durable client repeatedly connects and disconnects from a server. Durable interest is not kept alive.
Measures time to connect and disconnect.">
<task name="SetupCacheServer CS1" action="doRunProcess" container="utils" waitTime="5m">
<data name="program">setupJavaServers</data>
<data name="arguments">-c 3 smoketest/perf/csAckMirror.xml</data>
<data name="statEnable">false</data>
<client-set name="JCS1"/>
</task>
<task name="StartCacheServers" action="doRunProcess" container="utils" waitTime="5m">
<data name="program">startJavaServers</data>
<data name="arguments">1</data>
<client-set name="JCS1"/>
</task>
<task name="StartCacheServers" action="doRunProcess" container="utils" waitTime="5m">
<data name="program">startJavaServers</data>
<data name="arguments">2</data>
<client-set name="JCS2"/>
</task>
<task name="StartCacheServers" action="doRunProcess" container="utils" waitTime="5m">
<data name="program">startJavaServers</data>
<data name="arguments">3</data>
<client-set name="JCS3"/>
</task>
<task name="Open Statistic" action="doOpenStatistic" container="smokeperf" waitTime="5m">
<data name="statEnable">true</data>
<data name="isDurable">true</data>
<client-set count="1" name="Client"/>
</task>
<task name="cycleDurableBridgeConnection" action="doCycleDurableBridgeConnectionTask" container="smokeperf" waitTime="10m">
<data name="isDurable">true</data>
<data name="isMainWorkLoad">true</data>
<data name="sleepMs">20</data>
<client-set count="1" name="Client"/>
</task>
<task name="Close Statistics" action="doCloseStatistic" container="smokeperf" waitTime="5m">
<client-set count="1" name="Client"/>
</task>
<task name="Close Cache" action="doCloseCache" container="smokeperf" waitTime="5m"/>
<task name="Generate statistic spec" action="doRunProcess" container="utils" waitTime="5m">
<data name="program">cp</data>
<data name="arguments">../build_*/framework/xml/smoketest/perf/perf073.spec statistics.spec</data>
<client-set name="JCS1"/>
</task>
<task name="StopCacheServers" action="doRunProcess" container="utils" waitTime="5m" parallel="true">
<data name="program">stopJavaServers</data>
<data name="arguments">1</data>
<client-set name="JCS1"/>
</task>
<task name="StopCacheServers" action="doRunProcess" container="utils" waitTime="5m" parallel="true">
<data name="program">stopJavaServers</data>
<data name="arguments">2</data>
<client-set name="JCS2"/>
</task>
<task name="StopCacheServers" action="doRunProcess" container="utils" waitTime="5m" parallel="true">
<data name="program">stopJavaServers</data>
<data name="arguments">3</data>
<client-set name="JCS3"/>
</task>
<task name="Generate Trim Spec" action="doGenerateTrimSpec" container="smokeperf" waitTime="5m">
<client-set name="JCS1"/>
</task>
</test>
</test-driver>