Forum Discussion

Rajneesh_Namta's avatar
15 years ago

Automating loadUI Tests with Hudson

Hi,

Recently I read the blog from ole with the same topic and tried my hands on the same. It really easy and looks great when you can achieve so much with minimum fuss. Congratulations.

Further to this I was wondering that the email-notifications can be triggered only on build failure whereas I would like to see results for each execution in an email.Since these are performance tests, it makes sense to keep a history and see the trends over a period of time. Again build failure doesnt mean assertion failures, I can have all the assertions failing and still the build will be successful as the job executed and finished properly. Hence no one gets intimated even when the tests are failing which defeats the very purpose of this excecise.

Hence my questions are :
1.Is it possible to link the triggering of emails with an assertion failure count ?
2.Is it possible to attach the reports generated with the email notification ?
3.An email for every execution with report ?

Although there is hudson plugin for triggering emails on each execution but than I need your views on the same

1 Reply

  • Hello,

    If I understand you correctly, you do not want to fail the build if the loadUI test fails, but you want to be notified via email about this, with the report attached? I'm not too familiar with the e-mail plugins for Hudson, but I would suggest using one of them to always send an email with the report attached. So to answer your questions:

    1. It is possible to link e-mail notification based on the build status, which is based on if the load test succeeded or failed. A loadUI loat test is concidered failed if the Failures limit is reached before test completion.

    2. I am not sure about this one, but I would think that if you can't attach a file to the standard email notification, then there should be a separate email plugin which allows this.

    3. Again, I'm not sure, but it's likely that this can be done with an email plugin.

    Regards,
    Dain
    eviware.com