Hello,

in my previous query I have been investigation the emailMessageContentFilter problem ( there is an issue opened http://webtest-community.canoo.com/jira/browse/WT-325 ). Now I have further question ... once I managed to save succesfully a response via the emailMessageContentFilter (commented out the problematic fix http://webtest-community.canoo.com/jira/browse/WT-293 ) into a plain text file ... Am I supposed to be able to do verifyText on such a response? If so (please confirm) I suspect there is further problem with this ... as I am getting the below exception when trying to verify the content of the email response: (using simple <verifyText description="textual verification" text="content of the testing mail" /> )

Stacktrace java.lang.NullPointerException
at com.canoo.webtest.steps.verify.VerifyText.isExpectedStringPresent(VerifyText.java:73)
        at 
com.canoo.webtest.steps.verify.VerifyText.doExecute(VerifyText.java:44)
        at com.canoo.webtest.steps.Step.execute(Step.java:104)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
at com.canoo.webtest.steps.AbstractStepContainer.executeContainedStep(AbstractStepContainer.java:72) at com.canoo.webtest.steps.AbstractStepContainer.executeContainedSteps(AbstractStepContainer.java:80)
        at 
com.canoo.webtest.steps.control.GroupStep.doExecute(GroupStep.java:14)
        at com.canoo.webtest.steps.Step.execute(Step.java:104)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
at com.canoo.webtest.steps.AbstractStepContainer.executeContainedStep(AbstractStepContainer.java:72) at com.canoo.webtest.steps.AbstractStepContainer.executeContainedSteps(AbstractStepContainer.java:80)
        at 
com.canoo.webtest.steps.control.GroupStep.doExecute(GroupStep.java:14)
        at com.canoo.webtest.steps.Step.execute(Step.java:104)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
at com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java:43) at com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.java:31)
        at com.canoo.webtest.steps.Step.execute(Step.java:104)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:164)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

The important info is ... is it meant to be possible to do verifyText on the saved plain text email response? Please let me know any ideas, I wil also try to investigate a cause and possibly submit a ticket,

KR

--
Karel Soupal
http://www.ework.cz
Software Testing Services and Solutions
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to