/
Regular Expression for Ozone Connect Testing Tool

Regular Expression for Ozone Connect Testing Tool

The testing tool provides a wide variety of selection of test cases to run. Some of the options are as follows :
Flags:
-s This flag is associated with test suite and It takes suite id defined with key "Id" as shown in below table.
-r This flag is associated with test case and It takes keys "Id" and "keyword" as shown in below table. The Id searches for the expression among all test Ids. And the keyword searches for the expression in the test names.
Absent of any flag or both flag will result in execution of all respective entities.

Sr.

Regex Pattern

Outcome

Sr.

Regex Pattern

Outcome

1

-s "Id:[GET /accounts]" -r "Id:[.*]"

Execute all test cases (.*) from the GET /accounts test suite only.
Test cases from other suites will not be attempted for execution.

2

-s "Id:[GET /accounts]" -r "Id:[AIS_A001]"

Execute only the test case AIS_A001 from the GET /accounts test suite.
All other test cases from the GET /accounts test suite will be skipped.
Test cases from other suites will not be attempted for execution.

3

-s "Id:[GET /accounts]" -r 'Id:[!AIS_A001]'

Execute all test cases (.*) from the GET /accounts test suite except the test whose Id is AIS_001.
Test cases from other suites will not be attempted for execution.

4

-s "Id:[GET /accounts]" -r "Id:[001]"

Execute only the test case which has 001 in the test Id.
All other test cases from the GET /accounts test suite will be skipped.
Test cases from other suites will not be attempted for execution.

4

-s "Id:[GET /accounts]" -r "Id:[00.]"

Execute the test cases which has the test Id from 000 to 009.
All other test cases from the GET /accounts test suite will be skipped.
Test cases from other suites will not be attempted for execution.

5

-s "Id:[GET /accounts]" -r "keyword:[.*]"

Execute all test cases (.*) from the GET /accounts test suite only.
Test cases from other suites will not be attempted for execution.

6

-s "Id:[GET /accounts]" -r "keyword:[Happy]"

Execute all test cases from the GET /accounts test suite which have the word 'Happy' in their test name.
Test cases from other suites will not be attempted for execution.

 

-s "Id:[GET /accounts]" -r "Id:[00.], keyword:[Happy]"

Execute all test cases from the GET /accounts test suite which has the test Id from 000 to 009 and have the word 'Happy' in their test name.
Test cases from other suites will not be attempted for execution.

7

-s "Id:[GET /accounts]" -r 'Id:[00.], keyword:[!Happy]'

Execute all test cases from the GET /accounts test suite which have ‘001’ in there test case Ids and also does not have the word 'Happy' in their test name.
Test cases from other suites will not be attempted for execution.

8

-s "Id:[GET /accounts]" -r "keyword:[Happy]"

Execute all test cases from the GET /accounts test suite which have ‘Happy’ in there test name.

9

-s "Id:[GET /accounts]" -r ‘keyword:[!Happy, header]’

Execute all test cases from the GET /accounts test suite which does not have ‘Happy’ in there test name and also have 'header' in test name.

10

-s "Id:[GET /accounts]" -r "Id:[001,002,003]"

Execute all the tests from the GET /accounts test suite which have the testId among one of 001, 002, 003.

Test cases from other suites will not be attempted for execution.

11

-s "Id:[GET /accounts,GET /accounts/{accountId}/direct-debits,GET /customers]" -r "Id:[.*]"

Execute all the test case from the 3 test-suites.

  • GET /accounts

  • GET /accounts/{accountId}/direct-debits

  • GET /customers

Test cases from other suites will not be attempted for execution.
Also note that do not place spaces after and before the commas

12

-s "Id:[.*]" -r "Id:[.*]"

Run all the test cases in all the test suites.

13

 

If -s -r not provided then all test suits and test cases will get execute

 

Related content

Ozone Connect Test Cases
Ozone Connect Test Cases
More like this
Customizable Fields for Ozone Connect Testing Tool
Customizable Fields for Ozone Connect Testing Tool
More like this
Testing Tool User Guide
Testing Tool User Guide
More like this
SuiteIds
Read with this
Ozone Connect Test Cases
Ozone Connect Test Cases
More like this
Ozone Connect Test Cases
Ozone Connect Test Cases
More like this

© Ozone Financial Technology Limited 2024-2025
Ozone Non Commercial Software EULA