Just to let you know, after some changes of our web application, one
of the tests caused WebTest to crash with an EmptyStackException.
After some trial and error, I found out that step "closeWindow", after
opening a PDF document, caused the problem. I guess that the previous
version opened the PDF document in a separate window, and the newer
version replaced the content of the current window. Once I replaced
"closeWindow" by "previousResponse", the rest worked fine.
WebTest R-1787
java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:79)
at
com.canoo.webtest.engine.WebClientContext.getCurrentResponse(WebClientContext.java:201)
at com.canoo.webtest.engine.Context.getCurrentResponse(Context.java:98)
at
com.canoo.webtest.reporting.StepExecutionListener.isNewResponse(StepExecutionListener.java:347)
at
com.canoo.webtest.reporting.StepExecutionListener.saveCurrentResponseIfNeeded(StepExecutionListener.java:203)
at
com.canoo.webtest.reporting.StepExecutionListener.taskFinished(StepExecutionListener.java:180)
at org.apache.tools.ant.Project.fireTaskFinished(Project.java:2154)
at org.apache.tools.ant.Task.perform(Task.java:364)
at com.canoo.webtest.ant.WebtestTask.executeSteps(WebtestTask.java:236)
at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:208)
It looks similar to a previously reported issue:
http://webtest-community.canoo.com/jira/browse/WT-335
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest