0
0
Postmantesting~10 mins

Newman in CI/CD pipelines 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 using Newman.

Postman
newman run [1]
Drag options to blanks, or click blank then click option'
Apostman
Brun
Ccollection.json
Dtest
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'run' or 'postman' instead of the collection file name.
Not specifying any file after 'newman run'.
2fill in blank
medium

Complete the code to specify an environment file in Newman command.

Postman
newman run collection.json --env [1]
Drag options to blanks, or click blank then click option'
Aenv
Benvironment
Cenv.json
Denvironment.json
Attempts:
3 left
💡 Hint
Common Mistakes
Omitting the file extension.
Using a wrong file name without .json.
3fill in blank
hard

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

Postman
newman run collection.json --reporters [1]
Drag options to blanks, or click blank then click option'
Ajunit
BJUnit
CJUnitReport
Djunitreport
Attempts:
3 left
💡 Hint
Common Mistakes
Using uppercase or camel case reporter names.
Using incorrect reporter names that Newman does not recognize.
4fill in blank
hard

Fill both blanks to run Newman with a collection and save the report to a file.

Postman
newman run [1] --reporters cli,json --reporter-json-export [2]
Drag options to blanks, or click blank then click option'
Acollection.json
Breport.json
Coutput.json
Dresults.json
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up collection and report file names.
Using file names without extensions.
5fill in blank
hard

Fill all three blanks to run Newman with collection, environment, and set a timeout.

Postman
newman run [1] --env [2] --timeout [3]
Drag options to blanks, or click blank then click option'
Acollection.json
Benv.json
C5000
Denvironment.json
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong file names or missing extensions.
Setting timeout without a numeric value.