简体   繁体   English

USSD app自动化测试

[英]USSD app automation testing

I am very new to automation and API testing. 我对自动化和API测试非常陌生。 My current project is USSD based for banking. 我目前的项目是基于银行的USSD。 I am currently testing manually by giving inputs on browser simulator and reading the console output (ssh into the server). 我目前正在通过在浏览器模拟器上输入并读取控制台输出(ssh到服务器)来手动测试。 The basic function of the API is to generate POST requests with all the parameters and send it to respective bank. API的基本功能是生成包含所有参数的POST请求并将其发送到相应的银行。 I am looking to to automate this process and validate the request sent and the response received. 我希望自动执行此过程并验证发送的请求和收到的响应。 I was thinking of using Selenium for browser automation but I have no idea how would I extract the response from the terminal to validate. 我正在考虑使用Selenium进行浏览器自动化,但我不知道如何从终端提取响应以进行验证。

Please suggest as how I should go about this and if this is the right process. 请建议我应该怎么做,如果这是正确的过程。 If there is any other way to handle this please suggest. 如果有任何其他方法来处理这个,请建议。

If you're testing REST API You should use REST Assured for automated testing (postman tool) for manual testing. 如果您正在测试REST API您应该使用REST Assured进行自动化测试(postman工具)进行手动测试。 If You should test end to end - then Selenium is the right tool. 如果您应该端到端测试 - 那么Selenium是正确的工具。

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

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