Posts

Step by step guide to set up API Automation framework in JavaScript for beginners.

API Automation made simpler and Easier ! Wondering if API Automation has to be only written using JAVA, .NET ? Thinking if reusable Request objects can only be maintained effectively using .NET programming ? Imagine if you can Automate huge test data for API testing with light weight JavaScript framework and spin up the test environment with just a single command ? Yes, You can ! Below Ill take you through step by step procedure to set up a simple JavaScript API Automation framework written using mocha.js, chai.js and few other npm libraries which allows you to test tonnes of test scenarios with very simple and manageable reusable objects. Lets get this started... You need the below key libraries from node package manager, so just start your package.json with these simple libraries. 'mocha' for test framework 'chai' for assertions 'supertest' for sending api requests 'chai-factories' for building reusable request objects 'csv...
Recent posts