Difference between revisions of "Postman-api-tool"

From ETSI Forge
Jump to: navigation, search
(Created page with "= Postman API tool = == Terminology == * Postman: Desktop application to manage HTTP requests and responses, tests and data * newman: Command line tool that is able to run P...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Postman API tool =
+
= Terminology =
 
 
== Terminology ==
 
  
 
* Postman: Desktop application to manage HTTP requests and responses, tests and data
 
* Postman: Desktop application to manage HTTP requests and responses, tests and data
Line 7: Line 5:
 
* Postman collections: Is a file describing a set of HTTP tests and scripts executable in Postman. It is formatted as a JSON file
 
* Postman collections: Is a file describing a set of HTTP tests and scripts executable in Postman. It is formatted as a JSON file
  
 +
= Postman features =
 +
 +
* Import OpenAPI (Swagger) files and generate collections of test cases. Usually the tests need some manual tuning to be run.
 +
* Collections contains the list of tests, the data exchanged and the test scripts before and after the HTTP call. More info [https://www.getpostman.com/collection here].
 +
* The tests scripts before and after the HTTP request/response are written in pure Javascript , with a basic API for JSON schema checks and other checks. Lacks (as far as we know) the capability to load schemas from external files.
 +
* The postman collections can be created importing OpenAPIs, but will need manual intervention using the Postman application to be finalized. When they are ready, they can be shared as a unique JSON file, to be imported in another instance of the application or to be run with the command line command newman or to be used with other tools (many API tools support them).
 +
 +
= Other projects =
  
== Postman features ==
+
* OpenAPIs from TM Forum use Postman collection as the core of their Compliance Test Kit (CTK)
  
* Import OpenAPI (Swagger) files and generate collections of test cases. Usually the tests need some manual tuning to be run.
+
= External Links =
 +
 
 +
* [https://www.getpostman.com/docs/v6/ Postman online documentation]
 +
* [https://www.getpostman.com/apps Download and install Postman]
 +
* [https://www.getpostman.com/docs/v6/postman/collections/data_formats Import and export collections]

Latest revision as of 16:05, 11 March 2018

Terminology

  • Postman: Desktop application to manage HTTP requests and responses, tests and data
  • newman: Command line tool that is able to run Postman tests defined in a Collections file
  • Postman collections: Is a file describing a set of HTTP tests and scripts executable in Postman. It is formatted as a JSON file

Postman features

  • Import OpenAPI (Swagger) files and generate collections of test cases. Usually the tests need some manual tuning to be run.
  • Collections contains the list of tests, the data exchanged and the test scripts before and after the HTTP call. More info here.
  • The tests scripts before and after the HTTP request/response are written in pure Javascript , with a basic API for JSON schema checks and other checks. Lacks (as far as we know) the capability to load schemas from external files.
  • The postman collections can be created importing OpenAPIs, but will need manual intervention using the Postman application to be finalized. When they are ready, they can be shared as a unique JSON file, to be imported in another instance of the application or to be run with the command line command newman or to be used with other tools (many API tools support them).

Other projects

  • OpenAPIs from TM Forum use Postman collection as the core of their Compliance Test Kit (CTK)

External Links