Compare commits

..

No commits in common. "e2e877736a01bd0fbc8f6fa09e21c21d285e2aac" and "feb05a71748a9a2bc37d037a8d6d69cddce31b4e" have entirely different histories.

View File

@ -1,22 +1,8 @@
# About lifen-postman
This repository holds some PostMan files that performs tests against Lifen's Fhir API. They represent my handout regardinf the technical test. There is also a Node programm that run `NewMan`.
This repository holds some PostMan files that performs tests against Lifen's Fhir API. They represent my handout regardinf the technical test.
## Installation and execution via CLI
NodeJs 16+ is required.
1. Clone this repository on your local computer
2. Open your favorite IDE, VSC or a terminal
2. Purge the `node_modules` folder (`rm -rf ./node_module/*`)
3. Install `NewMan` via npm with the command `npm install`. It will lookup eveything based on the `package.json` file.
4. Run newman via the npx command `npx newman run .\lifen-api.postman_collection.json -e '.\fhir-api public post-prod.postman_environment.json'`
### An example of NewMan's test report
![An example of NewMan's test report](./public/newman-testresult-example.jpg)
## Installation and execution in the PostMan GUI
## Installation and execution
PostMan is required to run them.
@ -34,7 +20,7 @@ PostMan is required to run them.
* The request `GET CommunicationRequest` wait 10 sec before being launched, because Irène may not have processed the CommunicationRequest that early.
* There is no need to save the cookies, as there will be no cookies baked here 🚫🍪😔
### an Example of Test Report in PostMan
## an Example of Test Report in PostMan
![an Example of Test Report](./public/run-result-example.jpg)