To enable the API , go to Testrails Admin accound Administration>Site Setting>API
You can clone the respository or download the zip file.
- Navigate to the project folder and run:
$ npm install
- Create a .env file and add the following details
BOT_TOKEN=xxxxxxxxx
TEST_RAILS_HOST= https://domain.testrail.io
TEST_RAILS_USER=xxxxxxxxx
TEST_RAILS_PASS=xxxxxxxxx
BOT_ENDPOINT=https://grpc-test.transmit.im:9443
- BOT_TOKEN can be generated by creating a new bot on dialog app.
- TEST_RAILS_HOST replace the 'domain' with your own testrail domain name and rest of the URL remains same.
- TEST_RAILS_USER is the email id which you used to sign up on Testrail.
- TEST_RAILS_PASS password to the testrail account
- JIRA_URL Endpoint for Dialog bot
- Run the command:
$ node app/index.js