Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PostMateNew to Visual Studio Code? Get it now.
PostMate

PostMate

PostMate-lab

|
66 installs
| (1) | Free
Powerful API testing tool for building, saving, and running HTTP requests right within your VS Code workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PostMate

PostMate is a lightweight API testing client built right into Visual Studio Code.

With PostMate, you can:

  • Create and manage API requests (GET, POST, PUT, DELETE, etc.)
  • Organize requests into collections and folders
  • Save and reuse environment variables
  • View and inspect response headers and body
  • Extract values from API responses and pass them into subsequent requests
  • Parameterize test data for dynamic request generation
  • Maintain request history for quick access

Features

  • 🌐 Send REST API requests
  • 📁 Organize collections & folders
  • 🔒 Manage environments
  • 🔄 Use dynamic variables across requests
  • 🧪 Extract values from responses and store them as variables
  • 🧩 Parameterize test data for flexible testing scenarios
  • 💾 Request history & persistence
  • 🔗 Request Chaining
  • 🧪 Assertion
  • 📦 Collection Run

Demo Screenshot

Getting Started

  1. Click the PostMate icon in the Activity Bar.
  2. Click "New Request" to get started.
  3. Save your request to a collection or folder for reuse.
  4. Use {{yourVariable}} syntax in request fields to reference saved environment or response variables.

📊 How to Use Data Tables in PostMate Data Tables let you manage test data separately from your API requests. This is useful for sending different inputs in each run without manually editing variables.

  1. Go to Env tab in the sidebar and click on ham burger menu
  2. Create Environment
  3. You can have multiple data table based on your need
  4. Attach data table with your environment.
  5. Use data table variable like "{{variable}}” in url, header or body
  6. You can select the data while sending individual request Demo Screenshot

📊

Test / Assertion:

Postmate provides both scripting as well as writing test just in plain English for most ovious type of assertion.

Writing tests just like plain English: go to Tests tab and click on Test sub tab.
You can have tests in tabular form where every row is a test. Test rows have 5 columns Test Types, Action, Expected, Test Description and a delete icon at last.

Test Type:

  1. Set Env Variable: in case you want some data from the response to be stored in environment variable to use later or next request

Tip: just run your request once before you start writing test, so that you’ll get json path in suggestion to select. json path helper Example use case: you want to store authorization-token in variable so that you can use it another request. test type1

📊 Write java script code to manupulate api response.

  • Reponse body (RESPONSE.body)

  • Response status (RESPONSE.status)

  • Example:

   const students = resp.students;
   students.forEach(s =>{
      console.log(s.name);
   });

Demo Screenshot

📦 Collection Run: Demo Screenshot Demo Screenshot

Feedback

Please share feedback or feature requests via GitHub Issues

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft