The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have an exported Postman Rest API Test json file. How can I configure this in Bamboo to run automated tests?
1) Copy the json file to a location in bamboo server
2) Install newman using the command :
$ npm install newman --global;
3) Add a script task in Bamboo with this script :
$ newman run examples/sample-collection.json;
[Note: you need to install npm first]
Hi there,
I followed your steps, but got following error:
'newman' is not recognized as an internal or external command |
Cheers,
Larry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Larry Zhang,
Could you please confirm the user running Bamboo is able to execute newman? Open up Terminal with the same user running Bamboo and attempt on running the script added to Script task.
If running build on a Bamboo remote agent, please make sure the agent has newman installed and available to be executed by the user running the remote agent.
Kind regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Rafael,
I used the same user, I've resolved the issue by following steps:
After that the issue was resolved.
Cheers,
Larry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.