Postman Chinese Documentation - Installation and Update

Install Postman

Postman native application

Postman is available as a native application for Mac, Windows, and Linux operating systems.
To install Postman, go to the application page and click Download for Mac / Windows / Linux depending on your platform.

insert image description here
macOS installation

  • After the app is downloaded, you can drag the file to the Applications folder. Double-click Postman to open the application.

Windows installation

  • Download the installation file
  • run installer

Linux installation

  • Installation on Linux may vary by distribution. See our guide on installing the Postman application on Ubuntu 16.04.

Postman application under chrome

We recommend using the Postman native app, but Postman is also available as a Chrome app. Read more about why the Postman Chrome app is deprecated.

The Postman Chrome app only works on the Chrome browser. To use the Postman Chrome app, you first need to have Google Chrome installed.

If you already have Chrome installed, go to the Postman page of the Chrome Web Store and click "Add to Chrome".

Depending on your network conditions, it may take a few minutes to download the app. After downloading the app, you can start Postman.

Difference Between Chrome Apps and Native Apps

Postman's native app is based on Electron and overcomes some limitations of the Chrome platform.

Here are a few features that are unique to native apps:

Cookie

Native applications allow you to use cookies directly. Unlike the Chrome app, no separate extension (Interceptor) needs to be installed.

built-in proxy

The native app comes with a built-in proxy that can be used to capture network traffic.

Menu Bar

Native apps are not subject to the Chrome standard for menu bars. Using the native app, you can create collections, switch to historical requests, and more.

Restricted headers

The latest versions of native applications can send headers such as Origin and User-Agent. These are restricted in Chrome apps.

Don't care about redirection options

This option exists in native applications to prevent requests returning a 300-series response from being automatically redirected. Previously, users needed to use the Interceptor extension to do this within the Chrome app.

Postman console

The latest versions of native apps also have a built-in console that allows you to view network request details for API calls.

Migrate to native apps

this is very simple. After you download and launch the new native app, log in to your Postman account, and all history and collections will be automatically synced.

Alternatively, if you don't want to log into your Postman account, you can bulk export your Postman data from the Chrome app, then bulk import into the new native app.

insert image description here

batch export

From the Postman settings, select the Data tab and click the Download button to export all collections, environments, global variables and header presets to a local file.

Batch Import

From the same area in Postman settings, you can bulk import from locally exported Postman data store files. This will overwrite your existing data, so be careful.

Update Postman

Native Apps (Mac, Windows and Linux)

Postman's native app checks for updates on app reload or startup. If a new version is available, the app will display a changelog and prompt you to update the app.

insert image description here

Mac and Windows

Click Update to download the latest update. You will be notified when the download is complete, prompting you to restart the Postman app to apply the update. If you're not ready to update, tap Remind me again later to be prompted again after the next app reload or launch.

You can also configure your preferences so that updates are downloaded automatically, tab Update in SETTINGS mode.

  • all
  • minor fixes
  • none

All - Automatically downloads all updates and displays a small notification at the top prompting you to restart the app to update.

Minor Fixes - You will be notified of all major updates and other minor fixes will be downloaded automatically, prompting you to restart the app to update.

None - Displays the updated version each time an update is found for the current version.

insert image description here

Troubleshooting updates under macOS Sierra

Even after downloading and installing the update for MacOS Sierra, we have received feedback from users that the update cannot be completed successfully on Mac.

This can be resolved by moving the app out of the "Downloads" directory. The Postman updater fails to switch to the downloaded version in read-only memory, originally assigned to downloaded apps by macOS Sierra.

If you encounter difficulties during the update process, please get the logs from ~/Library/Caches/com.postmanlabs.mac.ShipIt on your system and let us know.

Linux

Postman's native app on Linux can notify you when updates are available. If an update is available, you will need to download the latest version of the application and replace the current application directory with the new version. Postman stores all user data outside of the application directory, so you can safely replace the current application directory with a new version.

Since Postman's native app only checks for updates when the app is reloaded or launched, you can force an update at any time on the Update tab in the app's SETTINGS mode.

insert image description here

Chrome

Postman's Chrome app usually updates automatically. However, Postman doesn't control Chrome's app update process, and Chrome sometimes doesn't update apps for long periods of time.

The latest version is available on Postman's Web Store.

To manually force an update, here's what you need to do in Chrome:

  1. Type chrome://extensions in the address bar.
  2. At the top of the page, check and enable Developer Mode.
  3. Click the Update Extension button below Developer Mode.

In the end, many friends have the idea of ​​learning. Here I shared the video tutorial of the test on station B. You can watch it by yourself:

Advanced learning of automated testing:

How to force myself to finish learning automated testing in one month, and then get a job after learning, Xiaobai can also get it at his fingertips, take it away, and allow free prostitution...

Zero-based software testing learning:

B station strong push! 2023 Recognized as the most easy-to-understand [Software Testing] tutorial, 200 episodes of paid courses (with practical projects)

Public account fan benefits

  • Get a full set of software testing resources for free

  • Software testing interview question brushing applet is free to use

  • Free use of GPT exclusively for testers

insert image description here

Guess you like

Origin blog.csdn.net/m0_53918927/article/details/132230708