Two questions:
(1) when you upgraded webtest, is there any chance some additional
jars that might have been manually added to previous version may
have been lost?
(you often need a couple of extra jars for ant mailing - see the
apache ant manual for details - under the mail task)
(2) do you see any errors anywhere (console/log file)?
Cheers, Paul.
[email protected] wrote:
Hi everybody,
I updated my webtest version from build R_1710 to R_1777.
Now I've got a problem by sending e-mails. I use a simple groovy step like:
<groovy>
def users = [ [name:'Jan', email:'[email protected]'],
/"anyone else" /]
def ant = new AntBuilder()
for (user in users ) {
ant.mail(mailhost: 'mailhost.mail.de', subject:
'Hallo') {
from(address: '[email protected]')
to (address: user.email)
message( """Hallo ${user.name},
/"A simple message"/
"""
)
} }
</groovy>
I've to say that I'm not so proficient in theese groovy things, so I
hope anyone of you can help me :-)
Regards,
Jan
----------------------------------------------------------------
Vorsitzender des Aufsichtsrates: Alwin Fitting
Geschaeftsfuehrung: Chittur Ramakrishnan (Vorsitzender),
Stefan Niehusmann
Sitz der Gesellschaft: Essen
Eingetragen beim Amtsgericht Essen
Handelsregister-Nr. HR B 21465
USt.-IdNr. DE 2588 96 719
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest