Compare commits
2 Commits
feb05a7174
...
e2e877736a
Author | SHA1 | Date | |
---|---|---|---|
|
e2e877736a | ||
|
a919789c6f |
20
README.md
20
README.md
@ -1,8 +1,22 @@
|
|||||||
# About lifen-postman
|
# 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.
|
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`.
|
||||||
|
|
||||||
## Installation and execution
|
## 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
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Installation and execution in the PostMan GUI
|
||||||
|
|
||||||
PostMan is required to run them.
|
PostMan is required to run them.
|
||||||
|
|
||||||
@ -20,7 +34,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.
|
* 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 🚫🍪😔
|
* 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
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user