Skip to main content

CI Integration

You can generate a LINK to your customized Filter Set with the following format: http://**<**reporter_host>:<reporter_port>/reporter/tests?testView=<Filter_Set_url_encoded>

ParameterDescription
<reporter_host>:<reporter_port>Reporter's URL, for example: localhost:9000
<Filter_Set_object_URL_encoded>{"filter": [{"property": "device.os", "operator": "=", "value": "iOS"}]}







Filter Set object in URL Encoding:



%7B%22filter%22%3A+%5B

%7B%22property%22%3A+%22device.os%22%2C+%22operator%22%3A+%22%3D%22%2C+%22value%22%3A+%22iOS%22%7D%5D%7D%0D%0A

Filter Set Object

Define the query expression by adding filters items, each filter item has its key name, operator, and key value, for example, filter key 'os.version' with operator equal '=' and  value '12.0'
We currently support only the equal '=' operator

Only Filter

{
"filter": [{"property": "os.version", "operator": "=", "value": "12.0"}]
}

Example

View By + Filter + Columns

{
"filter": [{"property": "os.version", "operator": "=", "value": "12.0"}],
}

Encode JSON to URL Using JavaScript

Create a JavaScript object then encode it, for example:

...
let testView = {
filter: [ { property: "test_group", operator: "=", value: groupName } ]
};
let url = reporterUrl + encodeURIComponent(JSON.stringify(testView));
window.open(url);
...