0
0
Postmantesting~10 mins

Reporter options (CLI, HTML, JUnit) in Postman - Interactive Code Practice

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 with the default CLI reporter.

Postman
newman run collection.json --reporters [1]
Drag options to blanks, or click blank then click option'
Ahtml
Bcli
Cjunit
Djson
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'html' or 'junit' without installing or configuring them.
Forgetting to specify any reporter, which defaults to CLI anyway.
2fill in blank
medium

Complete the code to generate an HTML report after running a Postman collection.

Postman
newman run collection.json --reporters [1]
Drag options to blanks, or click blank then click option'
Ahtml
Bjunit
Ccli
Djson
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'cli' when wanting a file report.
Confusing 'junit' with 'html' reporter.
3fill in blank
hard

Fix the error in the command to generate a JUnit XML report.

Postman
newman run collection.json --reporters [1]
Drag options to blanks, or click blank then click option'
Ajunit
Bcli
Chtml
Djson
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'json' or 'html' instead of 'junit' for XML reports.
Misspelling 'junit' in the command.
4fill in blank
hard

Fill both blanks to run a collection with CLI and HTML reporters together.

Postman
newman run collection.json --reporters [1],[2]
Drag options to blanks, or click blank then click option'
Acli
Bhtml
Cjunit
Djson
Attempts:
3 left
💡 Hint
Common Mistakes
Using spaces instead of commas between reporters.
Including unsupported reporter names.
5fill in blank
hard

Fill all three blanks to run a collection with CLI, HTML, and JUnit reporters.

Postman
newman run collection.json --reporters [1],[2],[3]
Drag options to blanks, or click blank then click option'
Acli
Bhtml
Cjunit
Djson
Attempts:
3 left
💡 Hint
Common Mistakes
Using spaces instead of commas.
Forgetting one of the reporter names.