While trying to automate my API requests, I need to use an external library (Node library) which is not supported within the Postman environment.
At present, the only idea I have is to use my node library through a node service and saving them as an environment variable inside my postman. Then I can use them whenever I want.
Hello,
As far as I can see, the context of this topic is automating some API requests. Why don’t you perform this task creating API automated tests using a programming language? (e.g. Java – using RestAssured, or PHP – using Behat Framework, or Python and so forth). This approach provides more flexibility in the code program and eliminates the constraints of Postman tool.
Hi Razwan, using Postman as a tool doesn’t mean there is no involvement of programming language. Postman itself provides more flexibility to test all the service calls. All its tests and test assertions are written in JavaScript so there is a flexibility to manipulate query parameters, request headers, and even body data in different ways. It integrates with the build system using Newman. It also provides the first step in a beginners learning curve of integration testing.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
By using this website you consent to our use of cookies. For more information on cookies see our Read MoreAccept
Privacy & Cookies
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.