I am Raghav Bhatia, undergrad student from BITS Pilani. I want to apply for GSOC 2021 with Postman. I saw Idea list and one of the ideas is to create
newman request .
Replacing curl with newman request in a curl command should run the send the request using Newman.
I have carried out a proof of concept to create
newman request according to following expected output:
- Users can send a single request with Newman and show the request/response using a reporter of their choice.
- Replacing curl with newman request in a curl command should run the send the request using Newman.
This is the link to my PR: (Newman Command for Single Request by raghavbhatia336 · Pull Request #2657 · postmanlabs/newman · GitHub )
Github Issue : #2548
While researching about the topic, I feel one of the best solutions would be to get all
curl options from the command and and create a Postman collection through curl-to-postmanv2.
Here is how i plan to implement it:
- Add a new command
- Newman request will invoke a
newman.request()function with curl options and newman run options. (To be done)
- It will pass curl to
curl-to-postmanv2convert function, and create a Postman collection with single item (To be moved to
- Use created postman collection and newman options to run the request using
Let me know if this approach looks good to you @Sharath_Iyengar, @hannah.neil @lukasz.gornicki. Also, can you please connect me with the GSoC mentor for this project since I am already long way through the POC and I have got a thumbs up from Shamasis Bhattacharya for the same. I would like to discuss my ideas with the GSoC mentor and get them reviewed.
My email ID: firstname.lastname@example.org