Skip to main content

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 parameterDescription
Behavior Test SuiteName of the API behavior test suite runner.
Functional Test SuiteName of the API functional test suite runner.

System properties

System propertyDescription
Enable/Disable GT: ManagementSelect to enable GT: Management.
XRAY Feature DirPath to feature files to synchronize with Jira Cloud by GT: Management.
XRAY Filter IdJira filter ID for scenario labels to synchronize with Jira Cloud by GT: Management.
XRAY Project IdJira project ID to synchronize to Jira Cloud with GT: Management.
XRAY Reports DirRepository for generated Cucumber reports that XRay uses to synchronize. Must be located within the GT-Framework folder.

Environment variables

Environment variableDescription
BillingCenter base URLBase URL of BillingCenter against which you can run the GT Framework tests.
ClaimCenter base URLBase URL of ClaimCenter against which you can run the GT Framework tests.
ContactManager base URLBase URL of ContactManager against which you can run the GT Framework tests.
Jira API TokenJira API token for GT: Management.
Jira API URLJira API URL for GT: Management.
Jira API UserJira API user for GT: Management.
PolicyCenter base URLBase URL of PolicyCenter against which you can run the GT Framework tests.
XRAY Client IDClient ID for Xray Test Management in Jira for GT: Management.
XRAY Client SecretClient secret for Xray Test Management in Jira.
XRAY import/export limitMaximum 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:

  1. In TeamCity, select your project and go to GuidewireTestingFramework.

  2. Select GT-Framework Tests.

  3. 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.
  4. Select Run Build.