Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qmetry/qaf-support-elasticsearch

qaf-support-elasticsearch
https://github.com/qmetry/qaf-support-elasticsearch

bdd dashboard elasticsearch kibana qaf reporting selenium-webdriver test-automation testng

Last synced: 3 months ago
JSON representation

qaf-support-elasticsearch

Awesome Lists containing this project

README

        

[![License](https://img.shields.io/github/license/qmetry/qaf-support-elasticsearch.svg)](http://www.opensource.org/licenses/mit-license.php)
[![Release](https://img.shields.io/github/release/qmetry/qaf-support-elasticsearch.svg)](https://github.com/qmetry/qaf-support-elasticsearch/releases)
[![GitHub tag](https://img.shields.io/github/tag/qmetry/qaf-support-elasticsearch.svg)](https://github.com/qmetry/qaf-support-elasticsearch/tags)
[![StackExchange]( https://img.shields.io/badge/questions-Stack_Overflow-lightgray.svg?maxAge=2592000)](http://stackoverflow.com/questions/tagged/qaf)
[![Users-group]( https://img.shields.io/badge/users-Group-blue.svg?maxAge=2592000)](https://groups.google.com/forum/#!forum/qaf-users)
[![Help]( https://img.shields.io/badge/help-Documentation-blue.svg?maxAge=2592000)](https://qmetry.github.io/qaf/)

# Usage

1. Add [qaf-support-elasticsearch](https://mvnrepository.com/artifact/com.qmetry/qaf-support-elasticsearch) and [elasticsearch-rest-client](https://mvnrepository.com/artifact/org.elasticsearch.client/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](https://www.elastic.co/start)
3. Import [dashboard](https://github.com/qmetry/qaf-support-elasticsearch/blob/master/src/com/qmetry/qaf/automation/elasticsearch/objects.ndjson) 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.