Skip to content

Add Swagger / Postman Importer plugin to various.json#803

Merged
undera merged 2 commits intoundera:masterfrom
bakthava:add-swagger-postman-importer
Mar 31, 2026
Merged

Add Swagger / Postman Importer plugin to various.json#803
undera merged 2 commits intoundera:masterfrom
bakthava:add-swagger-postman-importer

Conversation

@bakthava
Copy link
Copy Markdown
Contributor

Swagger / Postman Importer

A JMeter plugin that imports Swagger/OpenAPI specs and Postman Collections directly into a JMeter test plan via Tools → Swagger / Postman Importer.

Features

  • Import Swagger/OpenAPI 2.0 and 3.0 specs (JSON and YAML)
  • Import Postman Collection v2.0 and v2.1 (all body modes: raw, urlencoded, formdata, GraphQL)
  • Supports Bearer, Basic, API Key, and OAuth2 authentication
  • Nested folder support with collection-level auth inheritance
  • Generates HTTP Header Managers per request
  • No runtime dependencies — JSON library is shaded into the JAR

Links

Compatible with JMeter 5.x.

Copilot AI review requested due to automatic review settings March 31, 2026 00:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the Swagger / Postman Importer plugin entry to the plugin catalog (various.json) so it can be discovered/installed via the tooling that consumes this repository metadata.

Changes:

  • Add a new swagger-postman-importer plugin entry (id/name/description/download URL, classes, version info) to site/dat/repo/various.json.
  • Modify the first byte/character of the JSON file (introduces a UTF‑8 BOM).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"changes": "Initial release. Requires Config Element in test plan."
}
}
,{
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new entry is inserted before the previous plugin object is fully closed: the loadmagic-load-distributor item’s versions object closes at line 2918, but the plugin object itself is never closed before the next ,{ begins. This makes various.json invalid JSON; close the loadmagic-load-distributor object (and use the standard }, separator) before starting the new object.

Suggested change
,{
},
{

Copilot uses AI. Check for mistakes.
Comment on lines +2918 to +2919
}
,{
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s a stray leading comma before the new object ( ,{ at line 2919). Once the missing closing brace above is fixed, please switch to the file’s common pattern (}, to end the previous object, then { on the next line) to keep the JSON easy to diff/scan.

Suggested change
}
,{
},
{

Copilot uses AI. Check for mistakes.
@bakthava bakthava force-pushed the add-swagger-postman-importer branch from a9a5d27 to 74b12ca Compare March 31, 2026 00:12
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@undera undera merged commit 713492e into undera:master Mar 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants