Postman Test Automation with Teamcity

 Teamcity Architecture:















Teamcity Installation :
Follow this Page for Teamcity Installation.
https://www.jetbrains.com/help/teamcity/quick-setup-guide.html

Step 1: Check if agent is present or not 
Administration > Create Project >Manually (Name ,Project_id)>Create

Step 2: Build configurations > Create Build configuration >Manually(Name,Build configuration_id) >create

Step 3: New VCS Report 
If we are using github repo to pull code we have to this setup
Repository url
username
password  >  Create

Step 4: Go to Build Steps > Add build step>command line >step name ,Execute step ,
Custom script :  node --version
                           npm --version
                           newman --version
Step 5: Add another build steps (Build config>build steps)
>newman run https://www.getpostman.com/collections/f36406f34fcc7d4e0502 -r teamcity 
//to get report as well
Step 6: Save >Run 




Comments

Popular posts from this blog

Unified Payments Interface (UPI) : Detail Analysis

Postman Automation with Newman