cancel
Showing results for 
Search instead for 
Did you mean: 

[Resolved]Email test results.

GMSoapUI
Contributor

[Resolved]Email test results.

Hello,

I would like to be able to email my test results (written to disk from a Groovy script within SoapUI Pro) but would I be right in saying there is no native capability in SoapUI Pro for this? I've had a look at the documentation but couldn't see anything. It's not a problem if there isn't anything I can leverage through Groovy or directly in the UI as I can write my own service to poll the log file location and email my log files directly but I didn't want to reinvent the wheel if something was already available?

Can anybody advise?

Thanks.
6 REPLIES 6

Re: Email test results.

Hi,

There is no out of box feature to achieve this capability. You can save the results in a sink using groovy test step and then email the file using groovy, that is the only workaround.
You can configure the email test step,
http://blog.smartbear.com/sqc/creating-your-own-teststeps-in-soapui/?_ga=1.70456912.1539606879.13772...
Create a factories folder in and save email-teststep-factories.xml in SoapUI-Pro-Installation\bin\factories

Save email.png in bin folder

Save the jar soapui-emailteststep-plugin-1.0-plugin.jar in bin\ext

Save the email-teststep-actions.xml in SoapUI-Pro-Installation\bin\actions

Attached is the folder with all the required files file.

Close and open SoapUI Pro

Thanks,
Jeshtha


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
GMSoapUI
Contributor

Re: Email test results.

Hi,

I'd seen the plugin you mention and may invetigate that later. Could you explain "You can save the results in a sink using groovy test step and then email the file using groovy..." as a workaround as this sounds like my preferred option.

Regards.

Re: Email test results.

Hi,

I am sorry I should have given the link for DataSink,
http://www.soapui.org/Data-Driven-Testing/datasinks.html

You can save the testcase results in multiple formats and can use the file for further processing.

Thanks,
Jeshtha


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
GMSoapUI
Contributor

Re: Email test results.

Thank you, I will take a look shortly.
GMSoapUI
Contributor

[Res] Email test results.

Please mark this as resolved. I will use a data sink.
SuperSingh
Contributor

Re: Email test results.

Was able to add the Email Step succesfully. Do you have steps on how to attach test results in the Email Content/Body ?

 

 

New Here?
Join us and watch the welcome video:
Top Kudoed Authors