This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How do you access history of requests in Postman? |
|
Answer» The request history can be accessed in the History tab provided on the Postman application. If we sign into the Postman account, then the history will be synced ACROSS the devices where you are logged in.
The following image shows the page that shows when you click on View More Option upon a request present in the History tab: Image Source: Postman Learning Documentation |
|
| 2. |
What is the significance of 301 status code? |
|
Answer» 301 status code REPRESENTS PERMANENT redirect from one website page to another. It TELLS the SEARCH engine that the old page is outdated and the engine has to index the new page URL. |
|
| 3. |
How can you save the responses of API to a file in Postman? |
|
Answer» We can do this in two ways:
|
|
| 4. |
What are the limitations of Postman? |
Answer»
|
|
| 5. |
What is a binary form in POST methods? |
|
Answer» The BINARY form is designed to HELP SEND DATA in a format that is not possible to be ENTERED manually. These options are used while sending large files like images, CSV files, etc in the POST request. Binary representation is the easiest representation for sending complex data with the request. |
|
| 6. |
What do you know about postman monitor? |
|
Answer» Monitoring is a method of staying in sync with the health and PERFORMANCE of the APIs. Postman PROVIDES inbuilt monitoring services that help us be in sync with the API development and performance. The monitors provided by Postman are mainly based on the working of collection RUNNERS. They run every request in the collection and analyze the values MENTIONED in the TEST scripts. Monitors use the test scripts for validating and monitoring the responses. The reports generated are shared with the developers over emails or alerts in slack, hipchat, etc based on our configuration settings. |
|
| 7. |
Can we have the same names for global variables in postman? |
|
Answer» The scope of GLOBAL variables is LIMITED to the workspace and is global. DUE to this, variables having global scope cannot have the same names. We can have the same names for local variables but they need to be part of different variables. |
|
| 8. |
What encoding is accepted by Postman in authorization credentials? |
|
Answer» Postman ACCEPTS authorization CREDENTIALS in Base64 encoding format only. It is provided in Postman by default. If we do not want to USE an inbuilt encoding system, we can refer to third-party WEBSITES for CONVERTING the credentials in base64 format. |
|
| 9. |
What is digest auth in Postman? |
|
Answer» DIGEST Authorization is one of the authorization techniques provided by Postman. In this technique, the client first sends the request to the API and get responses from the server including a number which is usable only once, a REALM value and 401 unauthorized response. We will be then SENT back an encrypted data array having both username and password along with the data received from the server earlier. The server uses this data to generate an encrypted data string and compares this with what was sent for authenticating the request. We can do this by selecting the Authorization TAB, then selecting “Digest Auth” from the drop-down list. Postman window presents the fields for both stages of the authentication request. The fields required for the second stage of the request are auto-filled based on the data received from the server. For more information, you can refer here. |
|
| 10. |
What is Basic Auth in Postman? |
|
Answer» Basic Auth in Postman is a TYPE of AUTHORIZATION technique provided in Postman for HTTP user agents like web browsers. It provides fields to ENTER USERNAME and PASSWORD which when entered gets associated with the request. |
|
| 11. |
How are Query Params different from Path Variables? |
|
Answer» Path Variables are USED for IDENTIFYING specific resources and Query PARAMETERS are used for sorting or FILTERING the resources. |
|
| 12. |
What are the different types of API requests supported in Postman? |
|
Answer» POSTMAN SUPPORTS the FOLLOWING TYPE of REQUESTS:
|
|
| 13. |
What are the various authorization methods provided by Postman? |
|
Answer» POSTMAN PROVIDES the below API request AUTHORIZATION Options:
|
|
| 14. |
How do you access postman variables? |
|
Answer» It can be ACCESSED by USING the VARIABLE NAME as:{{variable_name}} |
|
| 15. |
How will you log variable values in Postman? |
|
Answer» We can LOG the variable values in Postman in the CONSOLE by USING the command: |
|
| 16. |
Why do we use Postman? |
|
Answer» We use Postman for the below reasons:
|
|
| 17. |
What is a collection in Postman? |
|
Answer» A collection in Postman HELPS to group SIMILAR REQUESTS. It helps in SYSTEMATICALLY arranging the requests into folders. |
|
| 18. |
What is Postman? |
|
Answer» Postman is a free, HTTP Client based software application primarily used to perform API testing. It supports testing of HTTP requests by utilizing GUI (Graphical User Interface) which can be executed and the responses can be validated. It also helps in COLLABORATING among the TEAM MEMBERS for the development of API by providing a platform to design, develop, test, and document APIS. |
|