Third party tools integration via Hooks

Hooks are useful in integrating third party tools. Few points regarding this functionality:

  1. Any third party tools which provides REST APIs, can be easily integrated with vREST via hooks functionality. 
  2. Hooks receives data from test runs and test cases, which can be sent to third party tools via REST APIs.  

Here is a video tutorial for the same:

Few examples where hooks can be useful:

  1. Logging bugs in any issue tracking tools (e.g. JIRA) for failed test cases
    1. For more information, please read JIRA Integration via hooks.
  2. Updating execution status of test case in any test case management tools (e.g. TestRail).
  3. Sending test run execution notifications to slack.
    1. For more information, please read Slack Integration via hooks.
  4. and many more ...

vREST provides four types of hooks:

  1. Pre Test Run Hooks
    1. These hooks are executed just after creation of test run and before the execution of test cases.
  2. Post Test Run Hooks
    1. These hooks are executed after the test run execution completes.
  3. Pre Test Case Hooks
    1. These hooks are executed just before the execution of test case.
  4. Post Test Case Hooks
    1. These hooks are executed after the test case execution completes.