[ptt-users] Can't run a test from command line (TestMaker5).

Yuriy for_everybody at ukr.net
Thu Sep 6 06:19:09 PDT 2007


          Hi.  
  
How can I run a functional/load test from the command line?  
I've built a functional/load test for web service using the soapUI tool. It works properly in TestMaker5 GUI but when I try run that test from the command line I get the error:  
  
command-line: TestMaker.bat -t some_path\load_attach_test.xml  
  
Starting PushToTest(tm) TestMaker...  
        -       Validating test                 -  
Trying C:/work/tools/TestMaker/tests/attach/attach1-soapui-project.xml  
Warning: SOAPUI not installed  
Continue test without validating SOAPUI  
The test is valid.  
        -       The functional test is running  -  
Error running Test Scenario  
java.lang.NullPointerException  
        at com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTes  
t(ControlRunner.java:359)  
        at com.pushtotest.testmaker.XSTest.client.ControlRunner.consoleRUN(Contr  
olRunner.java:637)  
        at com.pushtotest.testmaker.Main.main(Main.java:142)  
  
  
  
I've already fix (hack) this problem in this way:  
  
I commented out all usages of the field com.pushtotest.testmaker.XSTest.client.ControlRunner.slider in the method com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTest()  
and the test works without errors now.  
  
But I don't think that is right way to run a test from the command-line.  
  
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cake.pushtotest.com/pipermail/users/attachments/20070906/2aa4e38c/attachment-0001.htm


More information about the Users mailing list