API Testing with Jenkins
#API Testing #Postman #RestFul #Jenkins
Postman to Jenkins
Jenkins
Web Services Testing with Jenkins
========== API Testing - Postman===========
Topic: How to integrate the postman collection to Jenkins
Steps:
1. Download and install NodeJs
2. Set environment Variables for NOdeJs
3. Create Postman Collection
4. Export to postman collection to Json file
5. Create a new Item in jenkins Dashboard. (ex: Postman_API_Automation)
6. Configure the Postman_API_Automation job with proper data
7. Add nodeJs path in Glogal Tools cofiguration ( Need to add NodejS from manage Jenkins - Manage Plugins)
8. Add Pre-Build Actions in jenkins job as
newman run RestFulAPI.postman_collection.json
9. Apply & Save the build
10. Trigger the job and check the results