GT-Framework API Tests
Use GT-Framework API Tests to test the API of an application. This build is available only with GT Framework at Garmisch or later release.
Build parameters
Before you run the TeamCity build, you can modify its parameters. Note that these modified values override parameters specified through other means, for example through configuration files.
Configuration parameters
Configuration parameter | Description |
---|---|
Behavior Test Suite | Name of the API behavior test suite runner. |
Functional Test Suite | Name of the API functional test suite runner. |
System properties
System property | Description |
---|---|
Enable/Disable GT: Management | Select to enable GT: Management. |
XRAY Feature Dir | Path to feature files to synchronize with Jira Cloud by GT: Management. |
XRAY Filter Id | Jira filter ID for scenario labels to synchronize with Jira Cloud by GT: Management. |
XRAY Project Id | Jira project ID to synchronize to Jira Cloud with GT: Management. |
XRAY Reports Dir | Repository for generated Cucumber reports that XRay uses to synchronize. Must be located within the GT-Framework folder. |
Environment variables
Environment variable | Description |
---|---|
BillingCenter base URL | Base URL of BillingCenter against which you can run the GT Framework tests. |
ClaimCenter base URL | Base URL of ClaimCenter against which you can run the GT Framework tests. |
ContactManager base URL | Base URL of ContactManager against which you can run the GT Framework tests. |
Jira API Token | Jira API token for GT: Management. |
Jira API URL | Jira API URL for GT: Management. |
Jira API User | Jira API user for GT: Management. |
PolicyCenter base URL | Base URL of PolicyCenter against which you can run the GT Framework tests. |
XRAY Client ID | Client ID for Xray Test Management in Jira for GT: Management. |
XRAY Client Secret | Client secret for Xray Test Management in Jira. |
XRAY import/export limit | Maximum number of features that can be exported or imported before XRay stops. The default value is 100. |
Run GT Framework API tests
To run the testing build:
-
In TeamCity, select your project and go to GuidewireTestingFramework.
-
Select GT-Framework Tests.
-
Select Run.
- In the Changes tab, select the branch that you want to use for testing.
- In the Parameters tab, specify the configuration parameters and environment variables. These changes aren't persistent and apply only to a single run of the TeamCity build.
-
Select Run Build.