0
0
Postmantesting~10 mins

Why running collections validates flows in Postman - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to run a Postman collection using the Newman CLI.

Postman
newman run [1]
Drag options to blanks, or click blank then click option'
Acollection.json
Bdata.csv
Cenvironment.json
Dreport.html
Attempts:
3 left
💡 Hint
Common Mistakes
Using environment or data files instead of the collection file.
Trying to run a report file instead of the collection.
2fill in blank
medium

Complete the code to include an environment file when running a collection in Newman.

Postman
newman run collection.json --env [1]
Drag options to blanks, or click blank then click option'
Adata.csv
Breport.html
Ccollection.json
Denvironment.json
Attempts:
3 left
💡 Hint
Common Mistakes
Using data files or report files instead of environment files.
Confusing collection file with environment file.
3fill in blank
hard

Fix the error in the Newman command to generate an HTML report after running a collection.

Postman
newman run collection.json --reporters [1]
Drag options to blanks, or click blank then click option'
Ajson
Bhtml
Ccsv
Dxml
Attempts:
3 left
💡 Hint
Common Mistakes
Using JSON or CSV reporters when an HTML report is needed.
Misspelling the reporter name.
4fill in blank
hard

Fill both blanks to run a collection with data file and generate a JSON report.

Postman
newman run collection.json --iteration-data [1] --reporters [2]
Drag options to blanks, or click blank then click option'
Adata.json
Bdata.csv
Cjson
Dhtml
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing data file formats with report formats.
Using HTML reporter when JSON is requested.
5fill in blank
hard

Fill all three blanks to run a collection with environment, data file, and generate an HTML report.

Postman
newman run [1] --env [2] --iteration-data [3] --reporters html
Drag options to blanks, or click blank then click option'
Acollection.json
Benvironment.json
Cdata.csv
Dreport.json
Attempts:
3 left
💡 Hint
Common Mistakes
Using report files instead of collection or environment files.
Confusing file types for each option.