This is a migrated thread and some comments may be shown as answers.

email notifications are not sent

15 Answers 237 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arcady
Top achievements
Rank 1
Arcady asked on 02 Sep 2015, 03:02 PM

 Hi,

I've configured Schedule Test List to send email notifications, but upon
completion of the run none is sent (SMTP server settings screen shot is
attached).
Also I noticed that the selections are not being saved. Say I
select "Send test results by email" box in that wizard and all attachments, then
navigate back a couple of steps, then forward again. "I'm good... no mail for
me" is selected instead of what I selected and all attachment boxes are
unchecked. If I re-launch that wizard none of the selections is saved
either.
Am I missing something?

15 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 04 Sep 2015, 12:53 PM
Hello Arcady,

Could you please clear the application log on the execution machine, reproduce this behavior with a sample test list and provide the newly generated application log for review. Here is how to get the log from the execution machine.

Looking forward to hearing from you.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Arcady
Top achievements
Rank 1
answered on 04 Sep 2015, 02:39 PM

Hi Ivaylo,

Please see the attached file.

 

Thanks,

Arcady

0
Arcady
Top achievements
Rank 1
answered on 04 Sep 2015, 06:36 PM
And this is log after I installed Visual Studio
0
Arcady
Top achievements
Rank 1
answered on 04 Sep 2015, 06:47 PM

Ivaylo,

I should also note that it's not a remote Execution Server, it's on the same machine.

 

Thanks,

 

Arcady

0
Cody
Telerik team
answered on 04 Sep 2015, 06:49 PM
Hello Arcady,

I've submitted a problem report here on the UI not saving the email settings. It is expected for the settings to be reset to default if you close and reopen the Schedule Test List wizard.

Thank you for the log. I looked through the log. I can see a total of 3 tests were executed from the test list:
  •  Executing test: 'FAD- Viewing page 1 of'
  •  Executing test: 'Schedule Appt - Exisitng Patients'
  •  ExecutionEngine.InternalExecuteTest() : Executing test: 'Schedule Appt - New Patients'

Is that the correct number of tests? Do you everything setup on just one machine (Test Studio, Scheduling Server, Storage Server, Execution Server)? It appears to be that way in the log. What's really interesting is that the log shows there was no attempt at all to send an email, as if something is not configured right.

Please describe how you have set up things, all on one machine or which service is running on which machine?


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Arcady
Top achievements
Rank 1
answered on 04 Sep 2015, 07:15 PM

One more thing. It appears that if I clear the logs and run Test List it's missing the error that I see generated upon the restart of application. If I clear the logs and restart the application I see "Unable to connect to the remote server" error. Please see this log:

 

Thanks,

 

Arcady

0
Arcady
Top achievements
Rank 1
answered on 04 Sep 2015, 07:23 PM

Hi Cody, 

1. Yes, this is the correct number of tests

2. Yes, everything is set up on the same machine

 

It looks like I was clearing the connection error, which can be seen in my last attachment log1.

 

Thanks,

Arcady

0
Cody
Telerik team
answered on 04 Sep 2015, 07:39 PM
Hello Arcady,

Thanks for the confirmations. I do see the connection error you are referencing:

No connection could be made because the target machine actively refused it 10.1.0.203:8032

This one is benigh. It's a temporary error logged during the startup process. The scheduling service is trying to talk to the GUI runner service, but the GUI runner service was JUST started and wasn't quite ready to receive. If this error appeared more than once I'd be worried. But it's just a background ping which often happens during startup. Thus I'm discounting it as being any part of the email problem.

Further proof that it's not a problem is that the test list did execute. If the GUI runner was not working, or communication to it was really broken, then no tests would have executed at all.

The latest log still shows no attempt was made to send an email. I'd like you to verify one last thing. Make sure the project is configured to connect to the scheduling server as "Run Remotely" as shown in the attached screen shot.

If this doesn't solve the email problem then it's time I look at this problem on your computer via an online meeting.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Arcady
Top achievements
Rank 1
answered on 04 Sep 2015, 08:00 PM

Hi Cody,

 

It was configured to Run locally, Is elected Run remotely>Connect>Connection Successful>ran test list again>no email notification.

 

Please see new attached log.

Thanks,

 

Arcady

0
Arcady
Top achievements
Rank 1
answered on 04 Sep 2015, 08:04 PM

And yes, if you need to look on my computer via an online meeting, sure, send me an invitation :)

Thanks,

 

Arcady

0
Cody
Telerik team
answered on 04 Sep 2015, 08:09 PM
Hi,

Excellent! Now we're getting somewhere. It is now trying to send an email but failing to authenticate with your email server:

[09/04 15:56:35,Telerik.TestStudio.ExecutionManagerService.exe(10252:11),Execution] PostListExecutionEmailer.OnAfterTestListCompleted() : Attempting to send email for job 434b1023-5c2b-424f-8d53-b12632a09b3a
[09/04 15:56:36,Telerik.TestStudio.ExecutionManagerService.exe(10252:19),Execution] ResultMailSender.client_SendCompleted() : Smtp sending email failed: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at

You can use this little utility to test what settings are needed to connect to your SMTP server and send an email. I can't really help you with your SMTP configuration. Only the person that setup that server can help you.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Arcady
Top achievements
Rank 1
answered on 04 Sep 2015, 08:52 PM

Unfortunately it wasn't it... Somehow the SMTP server settings got changed.. I changed them back to the correct ones, didn't work, please see new log.

 

Thanks,

 

Arcady

0
Cody
Telerik team
answered on 08 Sep 2015, 05:35 PM
Hello Arcady,

It's still a server authentication issue:

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

All I can suggest is you can use this little utility to test what settings are needed to successfully use Gmail's SMTP server. Maybe your IT group can assist. Maybe your companies firewall (or proxy) is interfering with the SMTP server connection.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Arcady
Top achievements
Rank 1
answered on 09 Sep 2015, 02:38 PM

OK, thanks Cody. Got it to work!

Regards,

Arcady

0
Cody
Telerik team
answered on 09 Sep 2015, 02:49 PM
Hi,

That's great news! Thank you for the update and I'm sorry it took so long to get this resolved.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Arcady
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Arcady
Top achievements
Rank 1
Cody
Telerik team
Share this question
or