2.3.0 • Published 1 year ago

convert-postman-jmeter v2.3.0

Weekly downloads
8
License
MIT
Repository
github
Last release
1 year ago

convert-postman-jmeter

Node.js Publish GitHub issues npm NPM GitHub last commit GitHub commit activity Quality Gate Status Automated Release Notes by gren

Introduction

This tool convert projects Postman to JMeter

Installation

npm i convert-postman-jmeter -g

Characteristics

  • Convert Postman Collection to JMeter Test Plan
  • Convert Postman Collection with Environment to JMeter Test Plan

Usage

$ convert-postman-jmeter
Usage: convert-postman-jmeter -p [file] -j [file]

Options:
      --help              Show help                                    [boolean]
      --version           Show version number                          [boolean]
  -p, --postman           Load project postman
  -i, --idProjectPostman  Id project postman for import project
  -k, --keyUserPostman    Key user postman for import project for more info
                          https://learning.postman.com/docs/developer/intro-api/
  -j, --jmeter            Output project JMeter
  -o, --override          Override project JMeter               [default: false]
  -b, --batch             Export all projects postman from folder path by name
                          *.postman_collection.json                [default: ""]
  -e, --environmentFile   Load environment file                    [default: ""]

Copyright 2022

Options

Option SortOption CompleteDescriptionRequiredDefault
-p--postmanLoad project postmantrue
-i--idProjectPostmanId project postman for import projectfalse
-k--keyUserPostmanKey user postman for import projectfalse
-j--jmeterOutput project JMeterfalse
-o--overrideOverride project JMeterfalsefalse
-b--batchExport all projects postman from folder pathfalse""
-e--environmentFileLoad environment file postmanfalse""

Use case

Open Postman:

Postman App

Export project:

Postman App

Save file:

Postman App

Convert project exported:

convert-postman-jmeter -p test-api-without-environments.postman_collection.json
convert-postman-jmeter -b /projects-postman/

Postman App

Open project generate with JMeter App :

Postman App

Additional uses from command line

Generate project JMeter from project Postman

convert-postman-jmeter -p ./postman_collection.json -j ./jmeter_test_plan.jmx

Generate project JMeter from project Postman with environment

convert-postman-jmeter -p ./postman_collection.json -j ./jmeter_test_plan.jmx -e ./postman_environment.json

Generate project JMeter from project Postman with ID Project and Key User

convert-postman-jmeter -i '27135-179cd6c3-a251-4d63-b786-d4aaf6dc92dc' -k 'PMAK-123456789' -j ./jmeter_test_plan.jmx
Note: In this case is required the **Key User** for more information [Postman API](https://learning.postman.com/docs/developer/intro-api/)

Known Issues

For issues create to find in issues page.

2.3.0

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.0

1 year ago

2.0.20

2 years ago

2.0.18

3 years ago

2.0.16

3 years ago

2.0.17

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

2.0.15

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.12

3 years ago

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago