Upgrade to Pro — share decks privately, control downloads, hide ads and more …

APIs test using Postman And Newman - Fatoni (@DOT TECHTALK - JUNE 2017)

DOT Indonesia
January 31, 2018
43

APIs test using Postman And Newman - Fatoni (@DOT TECHTALK - JUNE 2017)

DOT Indonesia

January 31, 2018
Tweet

More Decks by DOT Indonesia

Transcript

  1. APIs test using Postman & Newman Test a Postman Collections

    directly from the command-line AT DOT TECHTALK - JUNE 2017
  2. About Speaker Ahmad Fatoni [[email protected]] Web Developer at DOT Indonesia

    (PT Distinction On Technology Indonesia) Expertises: PHP, MySQL, Oracle, Laravel Framework, Version Control (GIT)
  3. Postman - Collection A Postman Collection lets you group individual

    requests together. These requests can be further organized into folders.
  4. Postman - Environment A solution to test API on different

    server (local, development, or production) without changing request.
  5. Newman - Run POSTMAN collection on command line - Reports

    as HTML or JSON or CLI or Junit - Build on node JS - Available for Mac, Linux, and Windows
  6. Newman - Run Collection - Export collection - Export Environment

    [optional] - Run test newman run [collection-name.postman_collection] -e [environment-name.postman_environment]