简体   繁体   English

如何在 WindowsOS 中从 POSTMAN 调用 Eclipse?

[英]How to invoke Eclipse from POSTMAN in WindowsOS?

I am automating E-2-E REST API execution using POSTMAN.我正在使用 POSTMAN 自动执行 E-2-E REST API。 In the middle of API execution, an email OTP is sent.在 API 执行过程中,发送了一个 email OTP。 That email OTP value is needed to be captured and used in making further API calls.需要捕获 email OTP 值并将其用于进行进一步的 API 调用。

I am using a free online junk email web application to receive such OTP emails.我正在使用免费的在线垃圾邮件 email web 应用程序来接收此类 OTP 电子邮件。 I have created a Selenium-JAVA script using Eclipse to connect to that online email domain through (java.net.HttpURLConnection) and then running Selenium script to play inside that free junk email web application to capture the email OTP. I have created a Selenium-JAVA script using Eclipse to connect to that online email domain through (java.net.HttpURLConnection) and then running Selenium script to play inside that free junk email web application to capture the email OTP.

I am looking at ways how POSTMAN can invoke Eclipse and run that Selenium script which filters out email OTP.我正在研究 POSTMAN 如何调用 Eclipse 并运行该 Selenium 脚本以过滤掉 Z0C83Z3OTABTPC783A0C7B23 Any suggestions will be helpful.任何建议都会有所帮助。

https://developers.google.com/gmail/api/reference/rest https://developers.google.com/gmail/api/reference/rest

Why to over engineer a simple requirement just use google API to read emails, and validate that.为什么要过度设计一个简单的要求,只需使用 google API 来阅读电子邮件并进行验证。 Or use any other mail services that have Api or interaction.或者使用具有 Api 或交互的任何其他邮件服务。

Postman works with apis you cannot interact with eclipse unless it has some apis to do so, and more over eclipse is an IDE not runner Postman works with apis you cannot interact with eclipse unless it has some apis to do so, and more over eclipse is an IDE not runner

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM