What Is API Testing?
At its most basic level, API testing is intended to reveal bugs: inconsistencies or deviations from the expected behavior. Continuous testing is also very important to make sure it continues to work when the public has access to it. The risk of putting a bad, and potentially insecure, product on the market is greater than the cost to test it.
API testing is one of the most challenging parts of the chain of software and QA testing because it works to assure that our digital lives run in an increasingly seamless and efficient manner.
While developers tend to test only the functionalities they are working on, testers are in charge of testing both individual functionalities and a series or chain of functionalities, discovering how they work together from end to end.
APIs are what gives value to an application. It’s what makes our phones “smart”, and it’s what streamlines business processes. If an API doesn’t work efficiently and effectively, it will never be adopted, regardless if it is a free or not. Also, if an API breaks because errors weren’t detected, there is the threat of not only breaking a single application, but an entire chain of business processes hinged to it.
Evaluate your Knowledge for API Testing
Quiz-summary
0 of 10 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Information
Please click on “Start Quiz” button to start your test.
- There are 10 questions.
- Test is time bound and you need to finish test in 15 mins.
All the Best !!!
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 10 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- API Testing 0%
- REST API 0%
- SOAP Webservices 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Answered
- Review
-
Question 1 of 10
1. Question
Which is not a REST API verb?
Correct
There are quite a few REST verbs available, but six of them are used frequently. They are as follows:
-
- GET
- POST
- PUT
- PATCH
- DELETE
- OPTIONS
Incorrect
There are quite a few REST verbs available, but six of them are used frequently. They are as follows:
-
- GET
- POST
- PUT
- PATCH
- DELETE
- OPTIONS
-
Question 2 of 10
2. Question
Identify the Query Parameters from the GET REST API call.
https://lessons24x7.com/v1/books/?category=fiction&publish_date=2017
Correct
Query Parameters are :
- category
- publish_date
Incorrect
Query Parameters are :
- category
- publish_date
-
Question 3 of 10
3. Question
Choose a Correct statement about REST API VERBS
Correct
REST Verb Action Success Failure GET Fetches a record or set of resources from the server 200 404 OPTIONS Fetches all available REST operations 200 – POST Creates a new set of resources or a resource 201 404, 409 PUT Updates or replaces the given record 200, 204 404 PATCH Modifies the given record 200, 204 404 DELETE Deletes the given resource 200 404 Incorrect
REST Verb Action Success Failure GET Fetches a record or set of resources from the server 200 404 OPTIONS Fetches all available REST operations 200 – POST Creates a new set of resources or a resource 201 404, 409 PUT Updates or replaces the given record 200, 204 404 PATCH Modifies the given record 200, 204 404 DELETE Deletes the given resource 200 404 -
Question 4 of 10
4. Question
What is a Full Form of SOAP ?
Correct
SOAP provides the following advantages when compared to REST:
• Language, platform, and transport independent (REST requires use of HTTP)
• Works well in distributed enterprise environments (REST assumes direct point-to-point communication)
• Standardized
• Provides significant pre-build extensibility in the form of the WS* standards
• Built-in error handling
• Automation when used with certain language productsIncorrect
SOAP provides the following advantages when compared to REST:
• Language, platform, and transport independent (REST requires use of HTTP)
• Works well in distributed enterprise environments (REST assumes direct point-to-point communication)
• Standardized
• Provides significant pre-build extensibility in the form of the WS* standards
• Built-in error handling
• Automation when used with certain language products -
Question 5 of 10
5. Question
Which is NOT a element of Web Service Description Language (WSDL) ?
Correct
A WSDL 1.1 document uses the following major elements in the definition of network services:
- <types>
- A container for data type definitions using some type system (such as XML Schema). Defines the data types used within the message. The <types> element is not required when all messages consist of simple data types.
- <message>
- Specifies which XML data types are used to define the input and output parameters of an operation.
- <portType>
- Defines the set of operations supported by one or more endpoints. Within a <portType> element, each operation is described by an <operation> element.
- <operation>
- Specifies which XML messages can appear in the input and output data flows. An operation is comparable with a method signature in a programming language.
- <binding>
- Describes the protocol, data format, security, and other attributes for a particular <portType> element.
- <port>
- Specifies the network address of an endpoint and associates it with a <binding> element.
- <service>
- Defines the web service as a collection of related endpoints. A <service> element contains one or more <port> elements.
Incorrect
A WSDL 1.1 document uses the following major elements in the definition of network services:
- <types>
- A container for data type definitions using some type system (such as XML Schema). Defines the data types used within the message. The <types> element is not required when all messages consist of simple data types.
- <message>
- Specifies which XML data types are used to define the input and output parameters of an operation.
- <portType>
- Defines the set of operations supported by one or more endpoints. Within a <portType> element, each operation is described by an <operation> element.
- <operation>
- Specifies which XML messages can appear in the input and output data flows. An operation is comparable with a method signature in a programming language.
- <binding>
- Describes the protocol, data format, security, and other attributes for a particular <portType> element.
- <port>
- Specifies the network address of an endpoint and associates it with a <binding> element.
- <service>
- Defines the web service as a collection of related endpoints. A <service> element contains one or more <port> elements.
-
Question 6 of 10
6. Question
Which is MOST common Tools for API Testing ?
Correct
The 10 Best API Testing Tools on the Market- SoapUI.
- Postman.
- Apigee.
- Tricentis Tosca
- API Fortress.
- Assertible.
- JMeter.
Incorrect
The 10 Best API Testing Tools on the Market- SoapUI.
- Postman.
- Apigee.
- Tricentis Tosca
- API Fortress.
- Assertible.
- JMeter.
-
Question 7 of 10
7. Question
What is TRUE about “API TESTING” ?
Correct
- API TESTING is a software testing type that validates Application Programming Interfaces (APIs). The purpose of API Testing is to check the functionality, reliability, performance, and security of the programming interfaces.
- In API Testing, instead of using standard user inputs(keyboard) and outputs, you use software to send calls to the API, get output, and note down the system’s response.
- API tests are very different from GUI Tests and won’t concentrate on the look and feel of an application. It mainly concentrates on the business logic layer of the software architecture.
Incorrect
- API TESTING is a software testing type that validates Application Programming Interfaces (APIs). The purpose of API Testing is to check the functionality, reliability, performance, and security of the programming interfaces.
- In API Testing, instead of using standard user inputs(keyboard) and outputs, you use software to send calls to the API, get output, and note down the system’s response.
- API tests are very different from GUI Tests and won’t concentrate on the look and feel of an application. It mainly concentrates on the business logic layer of the software architecture.
-
Question 8 of 10
8. Question
Select all Types of API Testing.
Correct
- Unit Testing
- Integration Testing
- End to End Testing
- Performance Testing
Incorrect
- Unit Testing
- Integration Testing
- End to End Testing
- Performance Testing
-
Question 9 of 10
9. Question
What is included when we talk about “Structure of HTTP request”.
Correct
- URL(Uniform Resource Locator)
- Method
- List of Headers
- Body
Incorrect
- URL(Uniform Resource Locator)
- Method
- List of Headers
- Body
-
Question 10 of 10
10. Question
Which is not a REST API security Standard ?
Correct
REST API security Standards are :
- HTTP basic Authentication
- Oauth-2
- JWT
Incorrect
REST API security Standards are :
- HTTP basic Authentication
- Oauth-2
- JWT