QC-config-TestConnection.pxml

An example of how to test the two connections: CA-Rally and HP-ALM using the QC connector.

This configuration file will instruct the QC connector to connect to the HP-ALM system and to the CA-Rally system, thus providing proof the client has:

  • connectivity to both systems
  • the correct configuration file syntax
  • the correct pathnames to the required files

Below are the 2 sections relating to this QC connector run:

  1. This configuration file: QC-config-TestConnection.pxml
  2. The logfile output: rallylog.log

 

 


 

 

1. Configuration file QC-config-TestConnection.pxml:


<!-- **********************************************************************
FILE:    QC-config-TestConnection.pxml

PURPOSE: To connect to the HP-ALM system and to the CA-Rally system, thus
         providing proof the client system has:
           - connectivity to both HP-ALM and CA-Rally
           - correct configuration file syntax
           - correct pathnames to files

USAGE:   Replace all the "Your-..." strings below with values which are 
         appropriate for your environment.
*********************************************************************** -->
<config>
        <RallyConnection>
                <Url>rally1.rallydev.com</Url>
                <WorkspaceName>Your-Rally-Workspace</WorkspaceName>
                <Projects>
                        <Project>Your-Rally-Project</Project>
                </Projects>
                <User>Your-Rally-Username</User>
                <Password>Your-Rally-Password</Password>
                <ArtifactType>Defect</ArtifactType>
                <ExternalIDField>Your-Rally-ExternalID</ExternalIDField>
        </RallyConnection>

        <QCConnection>
                <Url>Your-QC-URL:port</Url>
                <Domain>Your-QC-Domain</Domain>
                <Project>Your-QC-Project</Project>
                <User>Your-QC-Username</User>
                <Password>Your-QC-Password</Password>
                <ArtifactType>BUG</ArtifactType>
                <IDField>BG_BUG_ID</IDField>
                <ExternalIDField>Your-QC-ExternalID</ExternalIDField>
        </QCConnection>

        <ConnectorRunner>
                <Preview>true</Preview>
                <Services>COPY_QC_TO_RALLY</Services>
        </ConnectorRunner>
</config>

 

 


 

 

2. The rallylog.log file for QC-config-blah-blah-blah.pxml:


************************************************************************************************************

     ca_agile_central2_hpalm_connector  version: 4.7.2-11
         pid: 58843
         starting at: 2017-05-03 17:32:39 Z
         cwd: /Users/koljo03/QC-rest-temp/rundir
         configs: x3.xml
         interval: -1
         Work Item Connector Hub    version: 1.1.8-1188-master/master
         RallyConnection      spoke version: 4.10.1 using rally_api gem version 1.2.1
         QCConnection         spoke version: 4.7.2-11-master

************************************************************************************************************

 INFO : RallyEIF::WRK::ConnectorRunner.show_logging_settings - Log file size set to 5242880
 INFO : RallyEIF::WRK::ConnectorRunner.show_logging_settings - Log files maximum count set to 10
  ANY : RallyEIF::WRK::ConnectorRunner.block in run - processing to commence using content from x3.xml
  ANY : Class.read_config_file - x3.xml last modified 2017-05-03 17:32:13 UTC, size: 1652 chars
  ANY : RallyEIF::WRK::RallyConnection.initialize - Initializing Rally connection version 4.10.1
 INFO : RallyEIF::WRK::RallyConnection.initialize - Rally Web Services version v2.0
  ANY : RallyEIF::WRK::QCConnection.initialize - Initializing ALM connection version 4.7.2
 INFO : RallyEIF::WRK::Connector.initialize - Ruby platform x86_64-darwin16
 INFO : RallyEIF::WRK::Connector.initialize - Ruby version 2.2.7
 INFO : RallyEIF::WRK::QCConnection.connect - Connecting to Quality Center at http://bld-coralreef.f4tech.com:8888/qcbin as user test2
 INFO : RallyEIF::WRK::QCConnection.connect - Connected to HP QC/ALM at http://bld-coralreef.f4tech.com:8888/qcbin (version 12.5)
 INFO : RallyEIF::WRK::RallyConnection.connect - Connecting to Rally
DEBUG : RallyEIF::WRK::RallyConnection.connect - In connect begin clause - connecting to Rally via rally_api
DEBUG : RallyEIF::WRK::RallyConnection.connect - Looking up projects
 INFO : RallyEIF::WRK::RallyConnection.connect - Connected to Rally at https://demo-services1.rallydev.com/slm -  Workspace: zJP-Test-WS-1
 INFO : RallyEIF::WRK::RallyConnection.connect -   Projects: Sample Project
 INFO : RallyEIF::WRK::Connector.validate - Beginning validation
DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally Connection - artifact type "defect" validated
DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally IDField name of "ObjectID" validated
DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally ExternalIDField name of "SalesforceCaseID" validated
DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
DEBUG : RallyEIF::WRK::RallyConnection.validate - Rally Connection - Field Defaults settings validated
DEBUG : RallyEIF::WRK::Connector.validate - RallyConnection validate succeeded
DEBUG : RallyEIF::WRK::QCConnection.validate - ALM Connection - user entry "test_user2" detected in config file
DEBUG : RallyEIF::WRK::QCConnection.validate - ALM Connection - password entry detected in config file
DEBUG : RallyEIF::WRK::QCConnection.validate - ALM Connection - artifact type "defect" validated
DEBUG : RallyEIF::WRK::QCConnection.validate - ALM IDField name of "BG_BUG_ID" validated
DEBUG : RallyEIF::WRK::QCConnection.validate - ALM ExternalIDField name of "BG_USER_01" validated
DEBUG : RallyEIF::WRK::QCConnection.validate - ALM Connection - FieldHandler target fields existence validated
DEBUG : RallyEIF::WRK::QCConnection.validate - ALM Connection - Field Defaults settings validated
DEBUG : RallyEIF::WRK::Connector.validate - ALM Connection validate succeeded
 INFO : RallyEIF::WRK::Connector.validate - Validation complete
  ANY : RallyEIF::WRK::ConnectorRunner.run_services - Last Run 2017-05-03 17:27:47 UTC  --- Now 2017-05-03 17:32:47 UTC
  ANY : RallyEIF::WRK::ConnectorRunner.process_service - Starting Service COPY_ALM_TO_RALLY
 INFO : RallyEIF::WRK::QCConnection.find_new - find_new query: BG_USER_01 = ("" or NULL)
 INFO : RallyEIF::WRK::ConnectorRunner.show_preview_message - ------- Preview Mode -------
 INFO : RallyEIF::WRK::ConnectorRunner.show_preview_message - Found 0 records in ALM
  ANY : RallyEIF::WRK::ConnectorRunner.process_service - Finished Service COPY_ALM_TO_RALLY
 INFO : RallyEIF::WRK::QCConnection.disconnect - Disconnected from Quality Center
  ANY : RallyEIF::WRK::ConnectorRunner.block in log_service_statistics - x3.xml: 0 items copied from Alm to Rally (Preview Mode)
  ANY : RallyEIF::WRK::ConnectorRunner.log_service_statistics - x3.xml: service run took 8 seconds

Feedback

Need more help? The CA Agile Central Community is your one-stop shop for self-service and support. To submit feedback or cases to CA Agile Central Support, find answers, and collaborate with others, please join us in the CA Agile Central Community.