Hello again ...
I have been debugging a bit the code behind the emailMessageContentFilter
and have come to this conclusion .. (but please be aware I am not so
strong in Java ...) :
There was a fix http://webtest-community.canoo.com/jira/browse/WT-293 ...
that solved different issue, but apparently is causing troubles to the
emailMessageContentFilter situation. IMHO the email response is
overwritten by the fix ...
I tried to comment out the fix and the emailMessageContentFilter worked
just fine. The problematic code is in the
https://svn.canoo.com/trunk/webtest/src/main/java/com/canoo/webtest/engine/ContextHelper.java
starting at line 74 ...
Please advice on how to proceed ... shall i submit an issue to the Jira? I
do not feel strong enough in Java to fix the code myself ... except for
commenting the WT-293 out which is not a solution ..
Many thanks!
Dne Thu, 23 Aug 2007 09:57:56 +0200 Karel Soupal <[EMAIL PROTECTED]>
napsal/-a:
Hello,
I have got no further reply to my question concerning the
emailMessageContentFilter problem. Please let me know whether I should
open a ticket for this or what to do now. It would really be usefull for
me to be able to use this functionality.
Many thanks!
Dne Tue, 14 Aug 2007 15:32:35 +0200 Karel Soupal <[EMAIL PROTECTED]>
napsal/-a:
Hi,
I am attaching the email message from the local email server as it is
stored there and which does not work (pop46386.jmsg) ... and also the
xml with the test definition that I used (mail.xml). What happens is
that the email file sits in the pop3 inbox directory and I am able to
retrieve various information about the email from the pop3 server
without problems (you can see from the text xml the steps) but once I
do want to retrieve the content of the message via
emailMessageContentFilter I get the error mentioned ... I also attach
the generated html result file (phonyx_result.html) ..
I also am able to retrieve the message from the email server via
mozilla or opera email clients and even though it is quite proprietary
java email server, it does the job ..
but what is important I have tried also with my internet provider email
account which is not proprietary for sure and using the same .xml test
file (modified only the login info) and I have got exactly the same
results ...
Thanks,
I was Dne Tue, 14 Aug 2007 14:37:03 +0200 Michael Habbert
<[EMAIL PROTECTED]> napsal/-a:
Hi Karel Soupal,
the source-code indicates, that you have not received any response
------------
Checker.assertFalse(current == null || current.getPage() == null,
"Illegal new current response");
------------
so whats about your webtest? you did work with some other email-tasks?
Hard to say without additional informations ...
yours
Michael Habbert
Karel Soupal wrote:
Hello,
I was trying to use the emailing possibilities of the webtest tool,
but I am getting an 'Illegal new current response' error everytime I
try to use the emailMessageContentFilter step ... please see attached
the output from the webtest run.
I have tried all other commands from the Email steps group and except
the emailMessageStructureFilter (which is giving me the same behavior
as above) all other steps work in my env ...
[...]
--
Karel Soupal
http://www.ework.cz
Software Testing Services and Solutions
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest