[ptt-users] Newbie Help

Frank Cohen fcohen at pushtotest.com
Thu Mar 27 09:25:33 PST 2008


Hi Kevin:

It seems there is a problem with the testnode that is not initiating  
or ending the the TestGen4Web test. I see the message: "TestNode  
localhost snapshot: Operating
first test use case" several times and "TestNode localhost final  
results: Tests completed: 0. Success: 0 Failures: 0." at the end.

This could be a problem with TestGen4Web, but the first run of the  
test appears to have worked successfully.

Would you be willing to send me the TestScenario file? Also, did you  
convert the TestGen4Web recording into Jython? If so, we would like  
to look at that too.

One other thing, please look at the TestNode output and error tabs in  
the Output panel. There may be execution problem log entries there.

The chart error you see in the log is because the test failed and  
there are no results. This is a bug that will be solved shortly.  
(Keep in mind that you are running pre-alpha code.)

I hope this helps.

-Frank


On Mar 27, 2008, at 5:42 AM, Kevin Izzet wrote:
> Hi All,
>
> I'm having problems getting a simple login test to work (or get  
> debug info).
> I have started small by creating, using testgen4web, a simple test  
> which only goes to a Portal login page and does nothing else, I  
> have then created a functional test, which works fine, and then a  
> load test, which also works fine.
> I then took things one stage further and created a test which  
> logged into the Portal, I tested the scenario works fine using the  
> replay option of testgen4web, but neither the functional test or  
> load test return any results.
>
> Tested using TestMaker 5.2 pre-alpha from both Linux and Windows boxes
>
> The console output is as follow :-
>
>  - Validating test   -
> The test is valid.
>  - Test Resources  -
> XML Scenario: C:\Program Files\PushToTest_TestMaker\newloadtest.xml
> TestGen4Web File: pprod_qual_newapp.testgen4web
>  - Loading Scenario  -
> The node localhost is valid
> The node localhost has loaded the scenario
>  - Starting Monitors  -
> Monitor for localhost started.
>  - Monitoring of Host disabled -
>  - Making Transactions  -
>  - Restarting monitors  -
>  - Recording Transaction  -
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> TestNode localhost snapshot: Operating first test use case
> Test Summary
> TestNode localhost final results: Tests completed: 0. Success: 0.  
> Failures: 0.
>  - Getting Result Files  -
> Getting ./Results/Thu_Mar_27_12-25-48_GMT_2008/docs/localhost- 
> uc0crl0sz0.xml from localhost
>  - Fetching Monitor Information  -
> java.lang.IllegalArgumentException: Null 'chart' argument.
>  at org.jfree.chart.ChartUtilities.writeChartAsPNG 
> (ChartUtilities.java:172)
>  at org.jfree.chart.ChartUtilities.saveChartAsPNG 
> (ChartUtilities.java:329)
>  at org.jfree.chart.ChartUtilities.saveChartAsPNG 
> (ChartUtilities.java:300)
>  at  
> com.pushtotest.testmaker.controller.guiTestScenarioPanel.saveGraphs 
> (guiTestScenarioPanel.java:788)
>  at com.pushtotest.testmaker.XSTest.client.ControlRunner.runScenario 
> (ControlRunner.java:541)
>  at com.pushtotest.testmaker.XSTest.client.ControlRunner.run 
> (ControlRunner.java:455)
> Recorder: java.lang.ClassCastException:  
> com.pushtotest.testmaker.XSTest.tally.TabPanel cannot be cast to  
> org.jfree.chart.ChartPanel
> java.lang.ClassCastException:  
> com.pushtotest.testmaker.XSTest.tally.TabPanel cannot be cast to  
> org.jfree.chart.ChartPanel
>  at  
> com.pushtotest.testmaker.controller.guiTestScenarioPanel.saveGraphs 
> (guiTestScenarioPanel.java:898)
>  at com.pushtotest.testmaker.XSTest.client.ControlRunner.runScenario 
> (ControlRunner.java:541)
>  at com.pushtotest.testmaker.XSTest.client.ControlRunner.run 
> (ControlRunner.java:455)
>
>
> I can get the java error to disappear by setting summary flag to false
>
> Regards
>
> Kevin
>
>
>       ___________________________________________________________
> Yahoo! For Good helps you make a difference
>
> http://uk.promotions.yahoo.com/forgood/
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
>



--
Frank Cohen, http://www.PushToTest.com, phone 408 871 0122
PushToTest, the open-source test automation company





More information about the Users mailing list