1/13
Looks like no tags are added yet.
What happens if you send invalid JSON in a POST request body?
The request is ignored
The server automatically fixes it
The request will usually fail or return a 400 Bad Request
The response will still be successful
The request will usually fail or return a 400 Bad Request
Which of the following is NOT an HTTP method?
DELETE
SEND
GET
POST
SEND
Which HTTP method is commonly used to retrieve data from an API?
DELETE
GET
PUT
POST
GET
When testing a REST APl, which HTTP method is used to create new data?
GET
DELETE
POST
PUT
POST
What does an HTTP response code 200 OK mean?
Resource not found
Unauthorized access
Request was successful
Request failed due to server error
Request was successful
Which type of testing focuses on the interaction between multiple modules or components?
Unit testing
Regression testing
Performance testing
Integration testing
Integration testing
Which type of testing focuses on testing individual components or functions of a program?
Unit Testing
Acceptance Testing
System Testing
Integration Testing
Unit Testing
What is the main purpose of software testing?
To reduce the size of the code
To identify bugs and ensure software meets requirements
To replace the need for code reviews
To prove that the software works perfectly
To identify bugs and ensure software meets requirements
Which of the following is a benefit of automated testing?
Removes the need for documentation
Guarantees no bugs exist
Faster and repeatable test execution
Reduces the need for developers
Faster and repeatable test execution
Integration testing is done to verify the system as a whole meets the requirements?
True
False
False
What is the difference between PUT and PATCH requests?
PUT and PATCH are identical
PUT replaces the entire resource, PATCH
updates only part of it
PATCH deletes the resource
PUT updates part of a resource, PATCH
replaces all of it
PUT replaces the entire resource, PATCH
updates only part of it
It is the process of making a request from an API.
Endpoint
Status Code
API Call
API Key
API Call
What does the 500 status code mean?
Bad Request
Not Found
Server Error
Timeout
Server Error
Which of the following is NOT a functional test?
Testing a login API endpoint returns the correct response
Validating that a file upload works as expected
Checking if a shopping cart correctly updates its total
Measuring how fast the system responds under heavy load
Measuring how fast the system responds under heavy load