Ask a Question

Test case involving Gmail API

neerajan
Occasional Contributor

Test case involving Gmail API

Hi,

 

I have a scenario, where following a REST request test step a confirmation email is sent to the user to her/his registered gmail address. Is it possible to send a request to gmail api and confirm the receipt of the sent email.

Any leads would be greatly appreciated.

 

Thanks and Regards,

Neeraja Narayan

2 REPLIES 2
StevenColon
SmartBear Alumni (Retired)

Thank you for posting to our Community Forum.

 

I don't have any experience with the gmail API but after reviewing the docs for the request User.messages Send (https://developers.google.com/gmail/api/v1/reference/users/messages/send), it is clear that you should be able to construct a REST request TestStep to make the API call.

 

https://support.smartbear.com/readyapi/docs/soapui/steps/rest-request.html

 

The Gmail API does require authorization and that can also be done in ReadyAPI:

https://support.smartbear.com/readyapi/docs/testserver/howto/text/auth/oauth.html

 

Have a great day!

 

 

 

Best,
Steven
Atlassian Ecosystem Manager
neerajan
Occasional Contributor

Hey that are some really useful resources. Thanks a lot Smiley Happy

 

Regards,

Neeraja Narayan

cancel
Showing results for 
Search instead for 
Did you mean: