Postman Interview Questions and Answers
Question - 91 : - Why isn't it better to save your work in the Postman cloud?
Answer - 91 : -
It is not recommended that you save your work in the Postman cloud since company work cannot be leaked and must remain confidential. If Postman cloud is used, security breaches may occur since Postman cloud requires sign-in. As a result, saving work on Postman Cloud is discouraged, while team workspace is highly encouraged.
Question - 92 : - In a Collection Run, what will execute first?
Answer - 92 : -
In a Collection run, pre-request scripts at the Collection level are executed first.
Question - 93 : - What are some of Postman's JS libraries to offer?
Answer - 93 : -
GUID, Lodash, Moment
Question - 94 : - What exactly is a GUID?
Answer - 94 : -
The term GUID refers to a globally unique identifier. Hyphens separate hexadecimal digits in this format. GUID satisfies the requirement for uniqueness.
Question - 95 : - What encoding is accepted by Postman in authorization credentials?
Answer - 95 : -
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.
Question - 96 : - Can we have the same names for global variables in postman?
Answer - 96 : -
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.
Question - 97 : - What do you know about postman monitor?
Answer - 97 : -
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.
Question - 98 : - What is a binary form in POST methods?
Answer - 98 : -
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.
Question - 99 : - What are the limitations of Postman?
Answer - 99 : -
- Postman is not suitable for processing 1000+ API requests.
- If the project is very large, managing the collections and requests become cumbersome.
- It is not suitable if we want to manage the workspace in the form of code as there would be a lot of code duplication for dynamic API requests.
Question - 100 : - How can you save the responses of API to a file in Postman?
Answer - 100 : -
We can do this in two ways:
- Click on the Download button in the response section.
- Click on the arrow beside send button - There will be an option to send and download. Clicking on it will prompt Postman to ask the location of saving the response post successful execution of the request.