Online Exam Quiz

questionQuestion  1 to 30

In API testing, what is a payload?

  • Authorization token
  • HTTP status
  • Response headers
  • Body of the request
Mark for review

What is a REST client?

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

What does API stand for?

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

Which parameter is optional in a RESTful GET request?

  • Method
  • URL
  • Query string
  • Status code
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

What is a Postman environment?

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

What is an API Endpoint?

  • Part of request body
  • A response token
  • URL where an API can be accessed
  • Type of header
Mark for review

What is the function of pre-request script in Postman?

  • Executes after request
  • Modifies response
  • Executes before request
  • Validates headers
Mark for review

What does an API rate limit protect against?

  • Data integrity issues
  • Traffic spikes and abuse
  • Browser crashes
  • Compilation errors
Mark for review

Which API test case is best for validating performance?

  • JSON Schema check
  • Status code check
  • Load test with multiple users
  • Authentication
Mark for review

What is a JSON Web Token (JWT) used for?

  • Rate limiting
  • Authorization
  • Formatting response
  • Encoding XML
Mark for review

What tool can be used for API mocking and simulation?

  • Jenkins
  • JSONLint
  • WireMock
  • Maven
Mark for review

In a JSON response, data is represented as:

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

Which feature in Postman is used for writing test scripts?

  • Console
  • Runner
  • Pre-request Script
  • Tests Tab
Mark for review

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

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

What does "HEAD" method return?

  • All resources
  • Request payload
  • Headers only
  • Status messages
Mark for review

What is the role of a pre-request script in Postman?

  • Save test results
  • Run before sending request
  • Run after request
  • Export report
Mark for review

How is basic authentication passed in HTTP?

  • Cookie
  • JSON Token
  • Header field Authorization
  • In request body
Mark for review

Which API testing tool uses XML heavily for SOAP services?

  • JMeter
  • Postman
  • SoapUI
  • Swagger
Mark for review

What does the PUT method do in REST API?

  • Retrieves data
  • Deletes resource
  • Creates a new resource
  • Updates existing resource
Mark for review

What?s used to specify HTTP version in a request?

  • API Key
  • Payload
  • Protocol field
  • Request Line
Mark for review

Which protocol is most commonly used in REST APIs?

  • FTP
  • HTTP
  • SSH
  • TCP
Mark for review

Which response format is easier to validate with XPath?

  • YAML
  • HTML
  • XML
  • JSON
Mark for review

Which API method is not idempotent?

  • GET
  • DELETE
  • POST
  • PUT
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

Which is a security concern in API testing?

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

What is the default format for REST API responses?

  • CSV
  • YAML
  • JSON
  • XML
Mark for review

Which tool allows chaining of API requests with assertions?

  • SoapUI
  • GitHub
  • Figma
  • Notepad
Mark for review

What does the term ?stateless? mean in REST APIs?

  • No database usage
  • Uses sessions
  • Doesn?t store request context
  • Always uses JSON
Mark for review

What kind of tool is REST Assured?

  • Load testing tool
  • API test framework for Java
  • Browser automation
  • Logging tool
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