Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>API & Load TesterNew to Visual Studio Code? Get it now.
API & Load Tester

API & Load Tester

S. S. Mahmud Turza

|
2 installs
| (0) | Free
Full-featured API testing, load testing, and OpenAPI exploration — all inside VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

API & Load Tester for VS Code

A full-featured API testing and load testing extension for Visual Studio Code. Test APIs, stress test endpoints, and explore OpenAPI specs — all without leaving your editor.

API Tester Load Tester OpenAPI

Features

🔌 API Tester

  • Full HTTP request builder (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS)
  • Key-value editors for headers and query parameters
  • URL ↔ Query Params bi-directional sync
  • Request body editor with JSON support
  • Response viewer with status, timing, headers, and pretty-printed body
  • Copy response to clipboard

📁 Collections

  • Organize requests into named collections
  • Save, load, rename, and delete requests
  • Persists across VS Code sessions

🕒 Request History

  • Auto-saves recent requests with status and timing
  • Quick replay any previous request
  • Configurable history size

⚡ Load Tester

  • Concurrent user simulation with configurable count
  • Adjustable test duration and ramp-up time
  • Custom headers and request body support
  • 10 live metric cards updating every second:
    • Requests/sec, Total Requests, Avg/Min/Max/P95/P99 Latency, Error Rate, Total Errors, Active Users
  • 4 real-time charts:
    • Latency Over Time (Line)
    • Throughput (Bar)
    • Error Rate (Area)
    • Response Time Distribution (Histogram)
  • Export results as JSON or CSV

📋 OpenAPI Integration

  • Import from URL or paste raw JSON/YAML
  • Supports OpenAPI 2.0 (Swagger), 3.0.x, and 3.1.x
  • Browse endpoints grouped by tags with color-coded method badges
  • View parameters, request bodies, and responses
  • Click to load any endpoint directly into the API Tester
  • Save entire spec or individual tags as collections
  • Auto-generated sample request bodies from JSON Schema

Requirements

  • Java 21+ (JDK) must be installed and available on your PATH
  • The extension includes an embedded backend server that starts automatically

Usage

Sending a Request

  1. Select HTTP method from the dropdown
  2. Enter the URL
  3. Add headers/params as needed
  4. Click Send or press Ctrl+Enter

Running a Load Test

  1. Switch to the Load Tester tab
  2. Enter the target URL and configure users/duration
  3. Click Start Load Test
  4. Watch live metrics and charts update in real-time
  5. Export results as JSON or CSV after completion

Exploring an OpenAPI Spec

  1. Switch to the OpenAPI tab
  2. Paste a spec URL or raw content
  3. Browse endpoints, view details
  4. Click ▶ Test to load into the API Tester

Extension Settings

Setting Default Description
apiLoadTester.backendPort 8081 Port for the backend server
apiLoadTester.requestTimeout 30000 Request timeout in milliseconds
apiLoadTester.maxHistorySize 50 Maximum requests to keep in history

Keyboard Shortcuts

Shortcut Action
Ctrl+Enter Send current request

Known Issues

  • The embedded backend requires Java 21+ to be installed
  • On Windows, the backend process may occasionally persist after VS Code closes. It will be automatically cleaned up on next launch.

Tech Stack

  • Extension: TypeScript, VS Code Extension API
  • UI: React, Vite, Recharts
  • Backend: Spring Boot 4.0 (WebFlux/Netty), Java 21
  • Live Metrics: Reactive WebSocket
  • OpenAPI: swagger-parser 2.1.22

License

MIT

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