- Add qaf-support-elasticsearch and elasticsearch-rest-client to your project dependencies.
- Provide elastic serach server url using
elasticsearch.hostproperty. If you don't have elastic serach server and Kibana set up, you can start here - Import dashboard in kibana (first time only)
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.