Set up ALM-ALM Octane Integration
This topic describes how to set up the ALM-ALM Octane integration.
Configure the integration on the ALM Octane side
The configuration on the ALM Octane side includes the following.
- Create a release in ALM Octane that is identical to your release in ALM.
- To set up the integration, you must have the permissions to access the server. ALM Octane grants this permission with an API access key.
For details, see the ALM Octane help.
Configure the integration on the ALM side
The configuration on the ALM side includes the following.
Enable ALM-Octane integration |
|
Schedule ALM-Octane integration |
Determine how often the run results of ALM test sets will be synced to ALM Octane.
|
Configure octane-int-config.xml file
Configure the octane-int-config.xml
file that is located in the {ALM repository}\sa\DomsInfo\CommonData\octane-integration\
directory.
You should not change the file name. Otherwise, the file does not work.
In the octane-int-config.xml
file, you specify the following information. For instructions and examples of the configuration, go to the octane-int-config.template.xml
template file for references. See octane-int-config.template.xml.
Proxy
Required? | No |
Description |
host: IP address of the host where the HTTP-based proxy server is located. port: Proxy port number. username: Your username for the proxy. password: Your password for the proxy. |
Example | <proxy>
<host>your-web-proxy.net</host>
<port>8080</port>
<username>sa</username>
<password>sa</password>
</proxy>
|
ALM Octane server
Required? | Yes |
Description |
clientId: Client ID that's generated by ALM Octane for API access. clientSecret: Client Secret that's generated by ALM Octane for API access. serverUrl: URL of the ALM Octane server. sharedSpaceId: ALM Octane shared space ID For details about creating Octane API access keys, see the ALM Octane Help Center. |
Example | <octane>
<clientId>your-octane-client-ID</clientId>
<clientSecret>your-client-secret</clientSecret>
<serverUrl>http://your-alm-octane-server-URL/</serverUrl>
<sharedSpaceId>1001</sharedSpaceId>
</octane>
|
ALM and ALM Octane projects mapping
Required? | Yes |
Description |
domain: ALM domain name project: ALM project name workspaceId: Workspace ID of the ALM Octane project |
Example | <projects>
<project>
<domain>DEFAULT</domain>
<project>first</project>
<workspaceId>1002</workspaceId>
...
</project>
</projects>
|
ALM test instance filters
Required? | No |
Description |
If you want to have the test runs of only some test instances synched to ALM Octane, specify the test instance filters. Otherwise, test runs of all test instances are synched to ALM Octane. You can do so by copying the filter settings from the ALM project. For details, see Filter dialog box. |
Example | <projects>
<project>
<domain>DEFAULT</domain>
<project>first</project>
<workspaceId>1002</workspaceId>
<filters>
<filter>
<![CDATA[[Filter]{
TableName:TESTCYCL,
ColumnName:TC_SUBTYPE_ID,
LogicalFilter:\0000001e\Not hp.qc.test-instance.MANUAL,
VisualFilter:\0000001e\Not hp.qc.test-instance.MANUAL,
NO_CASE:
}
]]>
</filter>
</filters>
...
</project>
</projects>
|
ALM and ALM Octane field mapping and field value mapping
Required? | No |
Description |
almDbFieldName: The ALM field name (database column name) octaneName: The ALM Octane field name. almValue: Field value of the ALM project octaneValue: Field value of the ALM Octane project |
Example | <projects>
<project>
<domain>DEFAULT</domain>
<project>first</project>
<workspaceId>1002</workspaceId>
<fields>
<field almDbFieldName="RN_STATUS" octaneName="status">
<values>
<value almValue="Passed" octaneValue="Passed"/>
<value almValue="Bypassed" octaneValue="Skipped"/>
<value almValue="Failed" octaneValue="Failed"/>
</values>
</field>
<field almDbFieldName="TS_TYPE" octaneName="Testing_Tool_Type">
<values>
<value almValue="FLOW" octaneValue="FLOW-TEST" />
</values>
</field>
</fields>
...
</project>
</projects>
|
The following table lists the supported ALM-Octane field mappings.
Required? | Yes |
Description |
Whether or not to enable auto-fix for the value of the Octane Test Suite URL field in ALM. When an ALM test set is synched to ALM Octane, ALM will check whether the field value is valid in the format and whether auto-fix for this field is enabled.
|
Example | <projects>
<project>
<domain>DEFAULT</domain>
<project>first</project>
<workspaceId>1002</workspaceId>
<fields>
<field almDbFieldName="Testing_Tool_Type" octaneName="TS_TYPE">
<values>
<value almValue="FLOW" octaneValue="FLOW-TEST" />
</values>
</field>
</fields>
...
<isAutoFix>true</isAutoFix>
...
</project>
</projects>
|