Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
REST API Articles - Page 8 of 8
546 Views
We can generate API Documentation in Postman. This is done by most of the companies to help the developers in understanding the behavior of an API and guide them. An API is usually created for internal use and for third party developers.The steps to create an API Documentation are given below −Step1 − Click on the arrow to the right of the Collection name in the sidebar. Then click on Add a description.Step2 − An input field shall come up. Type a description then click on the Save button.Step3 − Click on the three dots beside the Run button. Then ... Read More
1K+ Views
We can generate a CLI & JUNIT Newman report on Jenkins. Jenkin reports are a descriptive and categorized representation of test output. These reports help to establish a clear communication channel among members of the team and project stakeholders.Jenkins reports are available in multiple formats and can be improvised by incorporating various flags in the build commands. As a pre-condition, Jenkins should be set up in our system. The information on how to configure Jenkins can be found in the link − https://www.tutorialspoint.com/jenkins/index.htm. Besides, there should be a Collection created having at least a single request and Newman installed in ... Read More
845 Views
Answer − Postman Sandbox is an Environment provided to execute JavaScript written as a part of the Pre-Request and Tests scripts for a request. This can be available for both Postman and Newman. Thus every script developed under the Tests or Pre-Request Scripts tab can be executed within this Sandbox.Libraries and Utilities used in Postman Sandbox −Lodash - a utility in the JavaScript library.cheerio.BackboneJS.SugarJS.CryptoJS.Environment, Global, Dynamic variables & CookiesTo set an Environment variable, we have to add the below script −postman.setEnvironmentVariable(name of variable, value of variable)To set a Global variable, we have to add the below script −postman.setGlobalVariable(name of variable, ... Read More
2K+ Views
We can share session id across different requests in Postman. We can send a cookie value obtained from a request to a different request. This can be done only if the website is similar.A particular server can identify its own cookie. This makes a cookie highly secured. The cookies are passed to another request to store the information of the user preferences as it navigates through the webpages.A session id is similar to an expiration of a token. As the session id gets expired, an user has to again authenticate his credentials. As a user logs in for the first ... Read More
267 Views
A Postman Monitor is used to execute a Collection within the Postman cloud. It is used to determine the condition and the performance of the APIs.Monitors in Postman are designed on Collections.Monitors can be set up as frequently as every five minutes and can be configured with all the requests in a Collection. Also, there is an option to append Environment variables for the running of a Collection.Let us see how to create a Monitor Collection.Step1 − Click on the arrow beside the Collection name in the sidebar. Then click on Monitors.Step2 − Click on Create a Monitor. It is ... Read More
2K+ Views
We can create and save a Collection in Postman with the steps listed below −Click on the Collections tab in the sidebar appearing to the left of the Postman application and then click on New Collection.CREATE A NEW COLLECTION pop- up should open. Enter a Collection name and fill the details under the tabs like Description, Authorization, Pre-request Scripts, Tests and Variables in this pop-up. Then click on Create.The Collection – Test Collection gets added under the Collections tab in the Postman sidebar. Initially it shows the number of requests as 0.Click on the Save button which appears to the ... Read More