Skip to content

qmetry/qaf-support-elasticsearch

Repository files navigation

License Release GitHub tag StackExchange Users-group Help

Usage

  1. Add qaf-support-elasticsearch and elasticsearch-rest-client to your project dependencies.
  2. Provide elastic serach server url using elasticsearch.host property. If you don't have elastic serach server and Kibana set up, you can start here
  3. Import dashboard in kibana (first time only)

Example properties:

elasticsearch.host=http://localhost:9200;http://localhost:9201
# elasticsearch.index is optional, default value is qaf_results if you are new to elastic serach, don't provide index and keep it default.
#elasticsearch.index=MyPrjIndexName
# enable/disable reporter, default is true (enabled), set false to disable elasticsearch reporter.
#elasticsearch.reporter=true

NOTE: This library requires qaf version 3.0.0-RC3 or above.

Properties with env and project prefix will be reported under executionInfo.

Example:

project.name=AUTFunctionalAutomation
project.appname=AUT
project.release=r-01
project.cyclename=regcycle-1
env.platform=web
env.name=UAT

If project.cyclename provided, lastsucess cycle will be reported.