<API Automated Test >centos-newman

Source: Internet
Author: User


First, Introduction:


in testing and development, there is a API Testing tools have been the role of the martial arts leader, that is the reputation of the Postman Google company .



Postman originally A browser plug-in, later developed into an application, has been loved by the martial arts colleagues; but But what if you want to run unattended api test, to introduce a win two tools, actually two frames, she is a newman and jenkins : newman postman Export data, then batch execution, you can automate the execution of api test; jenkins is a continuous integration platform, all the test framework, can be executed by the command, timing, set the scene trigger, realize unattended.






Purpose: To use Newman+postman implementing API Automation testing



dependency:1,Postman export API use case (JSON,XML..)



2,Newman ( because Newman is node -written, you need to rely on Nodejs)



extensions: in Implement unattended API testing on Jenkins





Second. installation of Nodejs and NPM


Nodejs is a language that has developed rapidly over the years, enabling the rapid development of Web pages and the installation tutorials of predecessors, which I have directly quoted:



80548404



Install using the second method





Third, installation Newman


The ancestors planted trees, posterity, do not waste the predecessors with time and Sweat to give us guidance:



https://www.cnblogs.com/thelastman/p/9007568.html





Fourth. methods of use ofNewman


Open Source address has been given a small white way to use, here will not repeat the useless description, directly on the original meal:



Https://github.com/postmanlabs/newman



<API Automated Test >centos-newman


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.