Tricentis Analytics version 1.3.1 is compatible with qTest version 9.7 and Tosca version 12.3.

Tricentis Analytics 1.3.1 Patch Notes - 26 August 2019

Overview

This patch speeds up performance and loading from ElasticSearch to the SyncApp. Please note that this will only affect Tricentis Analytics users who are using the qTest Enterprise Analytics Application.

You have two options to get Tricentis Analytics 1.3.1:

  • Install Tricentis Analytics 1.3.1
  • Upgrade from Tricentis Analytics 1.3.0 to 1.3.1

Changes to ElasticSearch

In order for qTest users to use Tricentis Analytics after this patch, you must make some changes to ElasticSearch.

Ideally, this change will have been made during the qTest 9.7.1 install. However, if this was not done during the qTest install, you can still perform the changes before you install Tricentis Analytics Version 1.3.1. However, be advised that this change requires restarting ES and will therefore require some downtime for qTest Manager.

Some of the commands below offer an example fpr running with the CURL application, the user could run this command from any machine with the CURL application and follow the -Request metadata process. The CURL application is installed in Linux by default, but, in Windows, it may not be installed. You can manually install the CURL application via this link https://curl.haxx.se/download.html.

Increase Max Result Window

Follow these steps:

  1. Send a request to ElasticSearch

    - Request:

    PUT /revision/_settings HTTP/1.1

    Host: <Elasticsearch Host>

    Content-Type: application/json

    {

    "max_result_window" : 500000

    }

    Note: replace http://localhost:9200 with your elasticsearch host/ip and port

    Example run with curl:

    curl -XPUT http://localhost:9200/revision/_settings -H "Content-Type: application/json" -d "{\"max_result_window\":500000}"

    Check result with curl:

    curl http://localhost:9200/revision/_settings?pretty=true

  2. Restart ElasticSearch

Add "indexed_at" Field to the Revision Index

Follow these steps:

  1. Add the "indexed_at" field to the Revision Index:

    -Request:

    PUT /_ingest/pipeline/indexed_at HTTP/1.1

    Host: <Elasticsearch Host>

    Content-Type: application/json

    {

    "description": "Adds indexed_at timestamp to documents",

    "processors": [

    {

    "set": {

    "field": "_source.indexed_at",

    "value": "{{_ingest.timestamp}}"

    }

    }

    ]

    }

    Note: replace http://localhost:9200 with your elasticsearch host/ip and port

    Example with curl:

    curl -XPUT http://localhost:9200/_ingest/pipeline/indexed_at -H "Content-Type: application/json" -d "{\"description\":\"Adds indexed_at timestamp to documents\",\"processors\":[{\"set\":{\"field\":\"_source.indexed_at\",\"value\":\"{{_ingest.timestamp}}\"}}]}"

    Check result with curl:

    curl http://localhost:9200/_ingest/pipeline/indexed_at?pretty=true

  2. Request:

    - Request:

    PUT /revision/_settings HTTP/1.1

    Host: <Elasticsearch Host>

    Content-Type: application/json

    {

    "index.default_pipeline":"indexed_at"

    }

    Example with curl:

    curl -XPUT http://localhost:9200/revision/_settings -H "Content-Type: application/json" -d "{\"index.default_pipeline\":\"indexed_at\"}"

    Check result with curl:

    curl http://localhost:9200/revision/_settings?pretty=true

Run With Powershell

To run with powershell, if the curl package cannot be installed, see the following:

$es = "http://localhost:9200"

$bodyRevision = '{

"max_result_window" : 500000

}'

 

Write-Output "Update revision setting $($es)/revision/_settings"

Invoke-RestMethod -Uri "$($es)/revision/_settings" -Method Put -ContentType 'application/json' -Body $bodyRevision

 

$bodyIndexAt = '{

"description": "Adds indexed_at timestamp to documents",

"processors": [

{

"set": {

"field": "_source.indexed_at",

"value": "{{_ingest.timestamp}}"

}

}

]

}'

Write-Output "Update index_at setting $($es)/_ingest/pipeline/indexed_at"

Invoke-RestMethod -Uri "$($es)/_ingest/pipeline/indexed_at" -Method Put -ContentType 'application/json' -Body $bodyIndexAt

 

$bodyRevisionIndexAt = '{

"index.default_pipeline":"indexed_at"

}'

Write-Output "Update revision index_at setting $($es)/revision/_settings"

Invoke-RestMethod -Uri "$($es)/revision/_settings" -Method Put -ContentType 'application/json' -Body $bodyRevisionIndexAt


Was this information helpful?

Tricentis Analytics Manual 1.3.1 © Tricentis GmbH