Online Exam Quiz

questionQuestion  1 to 30

What is the use of Content-Type in API headers?

  • Change URL
  • Authorize request
  • Specify data format
  • Log response
Mark for review

What is a REST client?

  • A frontend UI
  • A client that uses RESTful APIs
  • Database engine
  • CLI
Mark for review

How is dynamic data passed in API test requests?

  • Using cookies
  • Using database
  • Using variables
  • Using test runners
Mark for review

What is used to group multiple test cases logically?

  • Script
  • Runner
  • Folder
  • Test Suite
Mark for review

What does a 404 error mean in API testing?

  • Method not allowed
  • Resource not found
  • Unauthorized access
  • Server timeout
Mark for review

How do you log custom messages in Postman?

  • Use console.log() in Tests tab
  • Modify request body
  • Write headers
  • Add Auth token
Mark for review

How do you capture dynamic values from one API to another in Postman?

  • Write to file
  • Use Environment variables
  • Change server URL
  • Use PATCH
Mark for review

In API testing, what is meant by latency?

  • Request size
  • Server memory
  • Delay between request and response
  • Payload complexity
Mark for review

Which tool is NOT commonly used for API testing?

  • Postman
  • SoapUI
  • JMeter
  • Figma
Mark for review

What is the primary function of an API Gateway?

  • Test the API
  • Host the backend
  • Manage and route API requests
  • Validate JSON
Mark for review

What is HATEOAS in REST APIs?

  • Hypermedia controls in API
  • Security protocol
  • Load testing tool
  • Header encryption
Mark for review

Which tool supports scripting with Groovy for API validation?

  • Postman
  • JMeter
  • SoapUI
  • Swagger
Mark for review

What is the common format for sending requests in REST APIs?

  • HTML
  • DOCX
  • JSON
  • MP3
Mark for review

Which feature in Postman automates repeated execution?

  • Collection Runner
  • Environment Manager
  • Test Script Tab
  • Pre-request Tab
Mark for review

What does a 401 status code indicate in API testing?

  • Unauthorized access
  • Success
  • Server error
  • Resource created
Mark for review

Which protocol is most commonly used in REST APIs?

  • FTP
  • HTTP
  • SSH
  • TCP
Mark for review

What is CORS in API testing?

  • Security protocol
  • Method for load testing
  • Policy for cross-origin requests
  • Type of content header
Mark for review

What is mocking in API testing?

  • Encrypting responses
  • Generating fake server responses
  • Parsing large payloads
  • Unit testing
Mark for review

What tool can automate API tests in CI/CD pipelines?

  • Jenkins
  • GIMP
  • MS Word
  • Nginx
Mark for review

What is the primary advantage of using Postman?

  • Load testing
  • CI/CD integration
  • Manual and automated API testing
  • Server deployment
Mark for review

What is a Postman environment?

  • A type of server
  • A group of assertions
  • Variable set for requests
  • Proxy manager
Mark for review

In a JSON response, data is represented as:

  • Objects and arrays
  • Tables
  • Trees
  • Directories
Mark for review

Which is a security concern in API testing?

  • Authentication bypass
  • Color format
  • Font rendering
  • Compression
Mark for review

What does the OPTIONS HTTP method do?

  • Retrieves options supported by server
  • Retrieves list of resources
  • Deletes all data
  • Authenticates user
Mark for review

Which status code is used for ?No Content??

  • 200
  • 204
  • 202
  • 400
Mark for review

In which HTTP method is a message body optional?

  • POST
  • PUT
  • DELETE
  • GET
Mark for review

Which assertion checks if a response contains expected text?

  • XPath Assertion
  • Contains Assertion
  • JSON Assertion
  • Regex Extractor
Mark for review

What does API stand for?

  • Automated Programming Interface
  • Advanced Programming Interface
  • Application Programming Interface
  • Application Process Integration
Mark for review

Which response code implies rate-limiting on the API?

  • 400
  • 403
  • 429
  • 408
Mark for review

In API response, what does 500 status code signify?

  • Success
  • Created
  • Client error
  • Server error
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review