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

Getting Started
- Click the PostMate icon in the Activity Bar.
- Click "New Request" to get started.
- Save your request to a collection or folder for reuse.
- 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.
- Go to Env tab in the sidebar and click on ham burger menu
- Create Environment
- You can have multiple data table based on your need
- Attach data table with your environment.
- Use data table variable like "{{variable}}” in url, header or body
- You can select the data while sending individual request

📊
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:
- 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.
Example use case: you want to store authorization-token in variable so that you can use it another request.

📊 Write java script code to manupulate api response.
const students = resp.students;
students.forEach(s =>{
console.log(s.name);
});

📦 Collection Run:

Feedback
Please share feedback or feature requests via GitHub Issues