postmanlabs / postmanlabs/postman-code-generators
Please add pm.sendRequest code snippet generator
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 381
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Currently, we have around 1200 requests per workspace(we have 3 workplaces). Some of these requests are needed for flow control and since the number of such requests becomes bigger and bigger we decided to move these methods inside dependent requests(Pre-request Script and Tests section with pm.sendRequest )
Describe the solution you'd like
We would like to add one more code snippet generator which will output script with postman pm.sendRequest code.
This will give an easier and faster way of constructing scripts that can be used in Pre-request and Test sections.
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no implementation files, tests, or entry points. Start by reviewing the repository's existing code generators and their tests to understand the expected structure; done means a new generator produces usable Postman pm.sendRequest scripts for Pre-request Script and Tests sections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, postman
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100