Complete the code to add a description to a Postman request.
{
"info": {
"name": "Sample Request",
"description": [1]
}
}The description field should be a string explaining the request. Option C correctly provides a string description.
Complete the code to add a description to a Postman request body.
{
"request": {
"body": {
"mode": "raw",
"raw": "{\"name\": \"John\"}",
"options": {
"raw": {
"language": "json",
"description": [1]
}
}
}
}
}The description inside the body options should be a string explaining the body content. Option A correctly describes the JSON data.
Fix the error in the request description field to make it valid JSON.
{
"info": {
"name": "Test Request",
"description": [1]
}
}The description must be a string enclosed in quotes to be valid JSON. Option D correctly uses quotes.
Fill both blanks to add a description and a summary to a Postman request documentation.
{
"item": [
{
"name": "Get User",
"request": {
"description": [1]
},
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Test script",
"// Summary: [2]"
]
}
}
]
}
]
}The description explains the request purpose (A), and the summary in the test script comments (C) describes the test goal.
Fill all three blanks to document a Postman request with description, test summary, and assertion message.
{
"item": [
{
"name": "Create Item",
"request": {
"description": [1]
},
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test('[2]', function () {",
" pm.response.to.have.status(201);",
" pm.expect(pm.response.text()).to.include('[3]');",
"});"
]
}
}
]
}
]
}The description (A) explains the request. The test name (B) describes the assertion. The assertion message (C) confirms success.