Postman的安装及注意事项

    • Postman工具的安装
      • 官网下载地址:https://www.getpostman.com/ 
    • Postman的优点Postman的配置
      • Postman被500万开发者和超过10万家公司使用,每个月可以访问1.3亿个api。
      • The only complete API development environment:唯一完整的API开发环境。
      • Integrated tools for every stage of the API lifecycle:API生命周期的每个阶段的集成工具。
      • Plans for everyone from individuals to enterprises:每个人从个人到企业的计划。
      • Postman的API开发环境(ADE):集合、工作区和工具三部分组成。

      • Postman Collections(集合):
        • An executable API description format.:可执行API描述格式。
        • Run requests, test & debug, create automated tests, and mock, document & monitor an API.:运行请求、测试和调试、创建自动化测试、模拟、文档和监控API。
      • Postman Workspaces(工作区):
        • Powerful collaboration spaces for teams of any size:强大的协作空间,适合任何规模的团队。
        • Share collections, set permissions, and manage participation in multiple workspaces:共享集合、设置权限和管理多个工作区中的参与。  
      • Built-in Tools(工具):
        • Everything a developer needs to work with APIs:开发人员需要使用api。
        • Design & mock, debug, test automation, documentation, monitor, and publish:设计和模拟、调试、测试自动化、文档、监控和发布。  
      • Postman's Tools Support Every Stage of the API Lifecycle:Postman的工具支持API生命周期的每个阶段。
      • Postman Streamlines the Development Process and Simplifies APIs.:Postman简化了开发过程并简化了api。
        • Through design, testing and full production, Postman is there for faster, easier API development—without the chaos:通过设计、测试和充分的生产,postman在那里可以更快、更容易的API开发——没有混乱。
        • PUBLISH(发布):Onboard developers to your API faster with Postman collections and documentation:使用Postman集合和文档,您的API上的开发人员可以更快地使用API。
        • MONITOR(监控):Create automated tests to monitor APIs for uptime, responsiveness, and correctness:创建自动化测试来监视api的运行时间、响应能力和正确性。
        • DOCUMENT(文档):Create beautiful web-viewable documentation:创建美丽的web-viewable文档。(网页文档)。
        • DESIGN & MOCK(设计与模拟):Design in Postman & use Postman’s mock service:在postman设计&使用postman的模拟服务。

        • DEBUG(调试):Test APIs, examine responses, add tests and scripts:测试api,检查响应,添加测试和脚本。

        • AUTOMATED TESTING(自动化测试):Run automated tests using the Postman collection runner:使用postman集合运行自动化测试。
    • Postman的版本更新
      • 主要是针对postman的版本更新选择:默认选择:file→setting→update→Automatically download updates→All,修改为Minor fixes,不要选择None,None:代表永不更新;Minor fixes:只有大版本才更新;All:代表只要有不同就进行更新,这样更新的频率太高。
    • Postman_chrome版本与native版本的区别  
      • Cookies:native版本可以直接操作cookies,而chrome版本需要安装扩展。
      • Built-in proxy:native版本自带proxy,可以用来抓包。
      • Menu bar:菜单栏。
      • Restricted headers(限制头信息):有一些headers在chrome  app上是受限的,比如:Origin(起源) and User-Agent:源头及用户代理
      • Don't follow redirects option(不要紧跟重定向选项):native版本才有这个选项
      • Postman console(Postman控制面板):native版本自带
原文地址:https://www.cnblogs.com/jzswjy2005/p/8916457.html