Skip to content

targeting on Tags #410

Answered by thim81
jehrlich asked this question in Q&A
Sep 25, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

hi @jehrlich,

No fully sure, what your use-case is?
Is it to execute only certain Postman requests with Tags via Newman? Or only want create a collection with requests from certain tags?

Newman use-case:
You can tell to the Newman CLI which "folders" (tags in OpenAPI) to execute.

Example newman-options.json

{
  "folder": "store"
  "environment": "./tmp/crm/postman-dev.env.json",
  "iteration-count": 5,
  "ignore-redirects": true,
  "insecure": true
}

Example:

portman -u https://specs.apideck.com/crm.yml -c ./tmp/crm/portman-config.json --runNewman --newmanOptionsFile ./tmp/crm/newman-options.json

Filtered collection use-case:
Portman includes openapi-format which allows easy filtering o…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by thim81
Comment options

You must be logged in to vote
1 reply
@jehrlich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #409 on September 25, 2022 21:15.