Dear all! I have problems using wt.parallel.nbWorkers together with <dataDriven/>.
Originally I tried to simulate 100 users that submit thousands of different sets of data to our webapp simultaneously by nested <dataDriven/> loops. However, I could only run the test without the -Dwt.parallel.nbWorkers=100 option. Even -Dwt.parallel.nbWorkers=1 failed. As a load test, this has not been too much help. Apart from that, I really like WebTest! The problem seems to appear when <dataDriven/> is called within <webtest/>. The result is an org.apache.tools.ant.BuildException. Further down the stacktrace a java.lang.NullPointerException is raised right after the start tag of <dataDriven></dataDriven>: [...] Caused by: java.lang.NullPointerException at com.canoo.ant.table.APropertyTable.getDepth(APropertyTable.java:39) at com.canoo.ant.table.APropertyTable.getPropertiesList(APropertyTable.java:81) at com.canoo.ant.task.PropertyTableTask.execute(PropertyTableTask.java:125) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) ... 62 more [...] Yep, I am using directories of .properties files to store my <dataDriven/> data. The rest of stacktrace seems to be unrelated. Further testing has shown a difference between different nestings and different N for -Dwt.parallel.nbWorkers=N for a test that starts 4 <webtests/> overall: when I nest two <dataDriven/> *inside* a <webtest/> then - N=1 is o.k. (all successful) - N=4 fails 3 out of 4 times with BuildException/NullPointerException after the *outer* <dataDriven/> when I nest two <dataDriven/> and one is *outside* a <webtest/> then - N=1 and N=4 both fail 4 out of 4 times with BuildException/NullPointerException after the *inner* <dataDriven/> Does anyone have a clue what goes wrong here? Any help would be appreciated. Best, Konrad _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

