[Dev] Chart corrupting TestScenario
Frank Cohen
frank at pushtotest.com
Mon May 26 11:51:07 PDT 2008
Hi William and Luis Carlos:
I ran the example_agents/EndToEndTest/LoadTest.xml scenario with CRs
at 2, 4, 6, 8. The scenario completed normally and showed the real-
time scalability chart.
I added the following chart definition:
<chart>
<graph name="Resources" type="Bars">
<XAxis value="Periods"/>
<YAxis value="System Resources Percentage"/>
<options>
<option name="periods" value="10"/>
</options>
<series>
<name>NET</name>
<name>CPU</name>
<name>MEM</name>
</series>
</graph>
</chart>
TestMaker asked if it should rerun the charts. I clicked yes and see
the following in the output panel:
- Test Complete! -
- Test Scenario Error -
Error reading the TestScenario: Unexpected end of element {www.pushtotest.com/tm5
}:usecase
- Test Scenario Error -
Error loading scenario: Unexpected end of element {www.pushtotest.com/tm5
}:usecase
I noticed that the TestScenario is corrupted:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<testscenario version="2.0" xmlns="www.pushtotest.com/tm5">
<basics>
<name>SOAPUI + TG4W</name>
<defaultdirectory>./soapui_tg4w</defaultdirectory>
</basics>
<testnodes>
<node location="http://localhost:8080/TestNetwork/ws/TestNode"
name="localhost"/>
</testnodes>
<DataSources>
<dpl name="hash" type="HashDPL">
<argument dpl="rsc" index="1" name="file"
value="getDataByIndex"/>
</dpl>
</DataSources>
<resources path="./example_agents/EndToEndTesting">
<data path="testgen4web.xml"/>
<data path="data.csv"/>
<soapui path="soapUI_EndToEnd.xml"/>
<module name="JythonModule" path="testgen4web.py"/>
<module name="PrintModule" path="printDPLvals.py"/>
</resources>
<loadtest>
<testusecase>
<dimensions>
<crlevels>
<crlevel value="8"/>
</crlevels>
<messagesizes>
<messagesize value="1"/>
</messagesizes>
<usecases>
<usecase name="EndToEnd_UseCase"/>
</usecases>
</dimensions>
</testusecase>
</loadtest>
<logs showsummary="false" summaryreport="true">
<log level="info" type="console"/>
<log level="info" path="mylog.txt" type="file"/>
</logs>
<chart>
<graph name="Resources" type="Bars">
<XAxis value="Periods"/>
<YAxis value="System Resources Percentage"/>
<options>
<option name="periods" value="10"/>
</options>
<series>
<name>NET</name>
<name>CPU</name>
</series>
</graph>
</chart>
<monitoring enablednodes="true" enabledtarget="false"
targethost="uri-to-host"/>
<options>
<sleepTime time="1000"/>
<delayBetweenStartingUseCases time="1000"/>
<delayBetweenTestCases time="1000"/>
<testTime time="60000"/>
</options>
</testscenario>
This happens consistently.
-Frank
--
Frank Cohen, http://www.PushToTest.com, phone 408 871 0122
PushToTest, the open-source test automation company
More information about the Dev
mailing list