QC-Copy-TestCases-and-Steps.pxml

Used to copy CA Agile Central's "Test Cases" and "Steps" to QC, and to copy QC's "Tests" and "Design Steps" to CA Agile Central.

Below are three sections relating to this QC connector run:

  1. This configuration file: QC-Copy-TestCases-and-Steps.pxml
  2. Logfile outputs from three different runs:

Configuration file QC-Copy-TestCases-and-Steps.pxml

<!-- ==============================================================     -->
<!-- Block Comments start...

Name:   QC-Copy-TestCases-and-Steps.pxml
        
Notes and Warnings on use:
        1) This functionality supports COPY only, not UPDATE.
        2) The QC folder specified in the <TestFolder> element is used for
           both directions, i.e. for Rally-to-QC and QC-to-Rally.
        3) The HTML text in QC's Design Steps is not handled at all,
           it appears as HTML in Rally.
        4) Both Rally's Steps and Validation Inputs get copied to QC as
           QC as Steps. 


Rally to QC: Copying "Test Cases" and "Steps" to QC:
        1) In the Rally GUI, go to "Quality" >> "Test Cases".
        2) Create a new Test Case; in the "Steps" (at bottom of edit window),
           click on the icon to its right and select "3" (to create 3 steps).
           Fill in date (the "Input" and "Expected Result") for each of the
           three steps.
        3) In QC, under "Testing" >> "Test Plan", create a subfolder to the
           "Subject" folder; call it "Level1". Then under the "Level1" folder,
           create a "Level2" folder. We will use this in:
                <TestFolder>Level2</TestFolder>
        4) Run the connector using this configuration file modified to fit
           your environment.
        5) In QC, under "Testing" >> "Test Plan" go to folder:
                 "Subject" >> "Level1" >> "Level2"
           you should see your Rally "Test Case" under the "Details" tab.
           And under the "Design Steps" tab, you should see the three
           Rally "Steps" you create on the Rally "Test Case" with their
           "Input" and "Expected Result" saved in QC as "Description" and
           "Expected Result".


QC to Rally: Copying "Tests" and "Design Steps" to Rally:
        1) In QC, under "Testing" >> "Test Plan", create a subfolder to the
           "Subject" folder; call it "Level1". Then under the "Level1" folder,
           create a "Level2" folder. We will use this in:
                <TestFolder>Level2</TestFolder>
        2) Within the "Level2" folder, create a new "Test" and to it, add
           three "Design Steps".
        3) Run the connector using this configuration file modified to fit
           your environment.
        4) In Rally, a "TestCase" is created under the "Quality" > "Test Cases"
           tab. This new "TestCase" will have three "Steps" (from the "Design Steps"
           in QC).

        5) Only the "Tests" within the QC Test Plan folder specified in the
           <TestFolder> element will be copied, and not the Tests that reside
           in a subfolder of the specified folder. To get more, see next item.

        6) To Copy the entire structure of a QC "Test Plan" folder into a
           flat structure in Rally: instead of using the <TestFolder> element
           as outline above, use a <CopySelector> and specify the full path
           to the folder where you want the copy to start from. You must
           surround the path name with carot ("^") symbols.  This will copy
           all items in the specified folder and it's subordinate (child)
           folders into a flat structure on the Rally side. For Example:

                <CopySelectors>
                        <CopySelector>TS_SUBJECT = (^Subject\Level1^)</CopySelector>
                </CopySelectors>

... Block Comments end. -->
<!-- ==============================================================     -->

<Config>
        <RallyConnection>
                <Url>rally1.rallydev.com</Url>
                <WorkspaceName>Workspace1</WorkspaceName>
                <Projects>
                        <Project>PR01</Project>
                </Projects>
                <User>[email protected]</User>
                <Password>encoded-x-x-x-x-x-x-x-x-x-x-x-=-</Password>
                <ArtifactType>TestCase</ArtifactType>
                <ExternalIDField>QCPR01ExtID</ExternalIDField>
                <CopySelectors>
                        <CopySelector>FormattedID = TC135</CopySelector>
                </CopySelectors>
        </RallyConnection>

        <QCConnection>
                <Url>qc.f4tech.com:8080</Url>
                <Domain>DEFAULT</Domain>
                <Project>JPproject11</Project>
                <User>jpqc11</User>
                <Password>encoded-x-x-x-x-x-x-x-x-x-x-x-=-</Password>
                <ArtifactType>TEST</ArtifactType>
                <IDField>TS_TEST_ID</IDField>
                <ExternalIDField>TS_USER_01</ExternalIDField>
                <ExternalEndUserIDField>TS_USER_03</ExternalEndUserIDField>
<!-- Use one or the other:
                <TestFolder>Level2</TestFolder>
-->
<!-- Use one or the other:
-->
                <CopySelectors>
                        <CopySelector>TS_SUBJECT = (^Subject\Level1^)</CopySelector>
                </CopySelectors>
        </QCConnection>

        <Connector>
                <FieldMapping>
                        <Field><Rally>Name</Rally>              <Other>TS_NAME</Other></Field>
                        <Field><Rally>WorkProduct</Rally>       <Other>TS_USER_04</Other></Field>
                        <Field><Rally>Description</Rally>       <Other>TS_DESCRIPTION</Other></Field>
                </FieldMapping>

                <RelatedObjectLinkers> 
                        <QCToRallyTestStepLinker/> 

                        <RallyToQCTestStepLinker>
                                <ValidationStep>Last</ValidationStep>
                                <StepFields>
                                        <Field><Rally>Input</Rally>             <Other>DS_DESCRIPTION</Other></Field>
                                        <Field><Rally>ExpectedResult</Rally>    <Other>DS_EXPECTED</Other></Field>
                                </StepFields>
                        </RallyToQCTestStepLinker>
                </RelatedObjectLinkers> 

                <RallyFieldHandlers>
                        <RallyReferenceFieldHandler>
                                <FieldName>WorkProduct</FieldName>
                                <ReferencedFieldLookupID>FormattedID</ReferencedFieldLookupID>
                        </RallyReferenceFieldHandler>
                </RallyFieldHandlers>
        </Connector>

        <ConnectorRunner>
                <Preview>false</Preview>
                <LogLevel>Debug</LogLevel>
                <Services>COPY_QC_TO_RALLY</Services>
        </ConnectorRunner>
</Config>

The logfile (1 of 3) from COPY_RALLY_TO_QC

*********************************************************************************************
     rally2_qc_connector
         pid: 4696   
         starting at: 2013-05-21 01:35:06 Z
         cwd: Z:/
         configs: QC-Copy-TestCases-and-Steps.xml
         interval: -1
*********************************************************************************************
[2013-05-21 01:35:09 Z]   ANY : ConnectorRunner.block in run - processing to commence using content from QC-Copy-TestCases-and-Steps.xml
[2013-05-21 01:35:12 Z]   ANY : Class.read_config_file - QC-Copy-TestCases-and-Steps.xml last modified 2013-05-21 01:34:56 UTC, size: 4925 chars
[2013-05-21 01:35:14 Z]   ANY : RallyConnection.initialize - Initializing Rally connection version 2.8.8
[2013-05-21 01:35:14 Z]  INFO : RallyConnection.initialize - Rally Web Services version 1.16
[2013-05-21 01:35:15 Z]   ANY : QCConnection.initialize - Initializing Quality Center connection version 2.8.8
[2013-05-21 01:35:17 Z]  INFO : Connector.initialize - Ruby platform i386-mingw32
[2013-05-21 01:35:17 Z]  INFO : Connector.initialize - Ruby version 1.9.2
[2013-05-21 01:35:19 Z]  INFO : QCConnection.connect - Connecting to Quality Center at http://qc.f4tech.com:8080/qcbin as user jpqc11
[2013-05-21 01:35:20 Z] DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32
[2013-05-21 01:35:20 Z] DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...
[2013-05-21 01:35:21 Z] DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\HP\QUALIT~1\OTACLI~1.DLL
[2013-05-21 01:35:22 Z] DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/HP/Quality Center Client Side/OTAClient.dll
[2013-05-21 01:35:23 Z]  INFO : QCConnection.connect - Connected to Quality Center at http://qc.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.5761)
[2013-05-21 01:35:26 Z]  INFO : QCConnection.connect -   Domain: DEFAULT
[2013-05-21 01:35:27 Z]  INFO : QCConnection.connect -   Project: JPproject11
[2013-05-21 01:35:29 Z]  INFO : RallyConnection.connect - Connecting to Rally at https://rally1.rallydev.com/slm as user [email protected]
[2013-05-21 01:35:36 Z] DEBUG : RallyConnection.connect - Looking up workspace - Workspace1
[2013-05-21 01:35:40 Z] DEBUG : RallyConnection.connect - Looking up projects
[2013-05-21 01:35:42 Z]  INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: Workspace1
[2013-05-21 01:35:43 Z]  INFO : RallyConnection.connect -   Projects: PR01
[2013-05-21 01:35:44 Z]  INFO : Connector.validate - Beginning validation
[2013-05-21 01:35:45 Z] DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
[2013-05-21 01:35:46 Z] DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
[2013-05-21 01:35:47 Z] DEBUG : RallyConnection.validate - Rally Connection - artifact type "testcase" validated
[2013-05-21 01:35:49 Z]  WARN : RallyConnection.check_for_warnings - <Warnings>
    <OperationResultWarning>API status is Deprecated and will become Not Supported on 2013-Oct-01</OperationResultWarning>
  </Warnings>
[2013-05-21 01:35:52 Z] DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
[2013-05-21 01:35:53 Z] DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "QCPR01ExtID" validated
[2013-05-21 01:35:54 Z] DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
[2013-05-21 01:35:55 Z] DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
[2013-05-21 01:35:55 Z] DEBUG : Connector.validate - RallyConnection validate succeeded
[2013-05-21 01:35:56 Z] DEBUG : QCConnection.validate - Quality Center Connection - user entry "jpqc11" detected in config file
[2013-05-21 01:35:57 Z] DEBUG : QCConnection.validate - Quality Center Connection - password entry detected in config file
[2013-05-21 01:35:58 Z] DEBUG : QCConnection.validate - Quality Center Connection - artifact type "test" validated
[2013-05-21 01:35:59 Z] DEBUG : QCConnection.validate - Quality Center Connection - IDField entry "TS_TEST_ID" validated
[2013-05-21 01:36:00 Z] DEBUG : QCConnection.validate - Quality Center Connection - ExternalIDField entry "TS_USER_01" validated
[2013-05-21 01:36:01 Z] DEBUG : QCConnection.validate - Quality Center Connection - FieldHandler target fields existence validated
[2013-05-21 01:36:02 Z] DEBUG : QCConnection.validate - Quality Center Connection - Field Defaults settings validated
[2013-05-21 01:36:03 Z] DEBUG : Connector.validate - Quality Center Connection validate succeeded
[2013-05-21 01:36:04 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
[2013-05-21 01:36:06 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_NAME" existence validated
[2013-05-21 01:36:07 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "WorkProduct" existence validated
[2013-05-21 01:36:08 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_USER_04" existence validated
[2013-05-21 01:36:09 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
[2013-05-21 01:36:10 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_DESCRIPTION" existence validated
[2013-05-21 01:36:11 Z] DEBUG : Connector.block in validate - Rally Connection field_handler validation for "WorkProduct" succeeded
[2013-05-21 01:36:12 Z]  INFO : Connector.validate - Validation complete
[2013-05-21 01:36:14 Z]   ANY : ConnectorRunner.run_services - Last Run 2013-05-21 01:17:36 UTC  - Now 2013-05-21 01:36:14 UTC
[2013-05-21 01:36:15 Z]   ANY : ConnectorRunner.process_service - Starting Service COPY_RALLY_TO_QUALITY CENTER
[2013-05-21 01:36:16 Z]  INFO : RallyConnection.find_new - Find New Rally testcases
[2013-05-21 01:36:17 Z]  INFO : RallyConnection.find_new - find_new query: QCPR01ExtID = "" and Project = PR01 and formatted_i_d = "TC135"
[2013-05-21 01:36:19 Z]  WARN : RallyConnection.check_for_warnings - <Warnings>
    <OperationResultWarning>API status is Deprecated and will become Not Supported on 2013-Oct-01</OperationResultWarning>
  </Warnings>
[2013-05-21 01:36:19 Z]  INFO : RallyConnection.find_new -   Found 1 new testcases in Rally
[2013-05-21 01:36:20 Z]  INFO : Connector.copy_to_other - Copy TC135 to Quality Center
[2013-05-21 01:36:21 Z] DEBUG : Connector.block in map_fields_to_other -   Mapping Name(Test x017) - to - TS_NAME(Test x017)
[2013-05-21 01:36:23 Z] DEBUG : Connector.block in map_fields_to_other -   Mapping WorkProduct(Jp's test issue 2) - to - TS_USER_04(DE222)
[2013-05-21 01:36:24 Z] DEBUG : Connector.block in map_fields_to_other -   Mapping Description(i hope it works) - to - TS_DESCRIPTION(i hope it works)
[2013-05-21 01:36:25 Z] DEBUG : QCConnection.create_internal - set all artifact fields
[2013-05-21 01:36:26 Z]  INFO : QCConnection.create_internal -   Created test 6 in QC
[2013-05-21 01:36:27 Z]  INFO : RallyConnection.update_internal -   Updating TC135
[2013-05-21 01:36:28 Z]  INFO : Connector.copy_to_other - Rally testcase TC135 copied to Quality Center test 6
[2013-05-21 01:36:30 Z] DEBUG : RallyToQCTestStepLinker.link_related_objects_in_other - RallyToQCStepLinker adding 4 steps to 6
[2013-05-21 01:36:33 Z] DEBUG : RallyToQCTestStepLinker.link_related_objects_in_other - RallyToQCStepLinker added 4 steps to 6 successfully
[2013-05-21 01:36:34 Z]   ANY : ConnectorRunner.process_service - Finished Service COPY_RALLY_TO_QUALITY CENTER
[2013-05-21 01:36:35 Z]  INFO : QCConnection.disconnect - Disconnected from Quality Center
[2013-05-21 01:36:37 Z]   ANY : ConnectorRunner.run_services - time file written with value of 2013-05-21 01:36:15 UTC
[2013-05-21 01:36:37 Z]   ANY : ConnectorRunner.block in log_service_statistics - QC-Copy-TestCases-and-Steps.xml: 1 items copied from Rally to Quality center 
[2013-05-21 01:36:38 Z]   ANY : ConnectorRunner.log_service_statistics - QC-Copy-TestCases-and-Steps.xml: service run took 1 minutes 29 seconds

The logfile (2 of 3) from COPY_QC_TO_RALLY

*********************************************************************************************
     rally2_qc_connector
         pid: 6716   
         starting at: 2013-05-21 01:47:25 Z
         cwd: Z:/
         configs: QC-Copy-TestCases-and-Steps.xml
         interval: -1
*********************************************************************************************
[2013-05-21 01:47:29 Z]   ANY : ConnectorRunner.block in run - processing to commence using content from QC-Copy-TestCases-and-Steps.xml
[2013-05-21 01:47:31 Z]   ANY : Class.read_config_file - QC-Copy-TestCases-and-Steps.xml last modified 2013-05-21 01:43:18 UTC, size: 13659 chars
[2013-05-21 01:47:33 Z]   ANY : RallyConnection.initialize - Initializing Rally connection version 2.8.8
[2013-05-21 01:47:35 Z]  INFO : RallyConnection.initialize - Rally Web Services version 1.16
[2013-05-21 01:47:35 Z]   ANY : QCConnection.initialize - Initializing Quality Center connection version 2.8.8
[2013-05-21 01:47:36 Z]  INFO : Connector.initialize - Ruby platform i386-mingw32
[2013-05-21 01:47:37 Z]  INFO : Connector.initialize - Ruby version 1.9.2
[2013-05-21 01:47:38 Z]  INFO : QCConnection.connect - Connecting to Quality Center at http://qc.f4tech.com:8080/qcbin as user jpqc11
[2013-05-21 01:47:40 Z] DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32
[2013-05-21 01:47:41 Z] DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...
[2013-05-21 01:47:41 Z] DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\HP\QUALIT~1\OTACLI~1.DLL
[2013-05-21 01:47:42 Z] DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/HP/Quality Center Client Side/OTAClient.dll
[2013-05-21 01:47:43 Z]  INFO : QCConnection.connect - Connected to Quality Center at http://qc.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.5761)
[2013-05-21 01:47:45 Z]  INFO : QCConnection.connect -   Domain: DEFAULT
[2013-05-21 01:47:46 Z]  INFO : QCConnection.connect -   Project: JPproject11
[2013-05-21 01:47:48 Z]  INFO : RallyConnection.connect - Connecting to Rally at https://rally1.rallydev.com/slm as user [email protected]
[2013-05-21 01:47:54 Z] DEBUG : RallyConnection.connect - Looking up workspace - Workspace1
[2013-05-21 01:47:58 Z] DEBUG : RallyConnection.connect - Looking up projects
[2013-05-21 01:48:00 Z]  INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: Workspace1
[2013-05-21 01:48:02 Z]  INFO : RallyConnection.connect -   Projects: PR01
[2013-05-21 01:48:02 Z]  INFO : Connector.validate - Beginning validation
[2013-05-21 01:48:03 Z] DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
[2013-05-21 01:48:04 Z] DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
[2013-05-21 01:48:05 Z] DEBUG : RallyConnection.validate - Rally Connection - artifact type "testcase" validated
[2013-05-21 01:48:07 Z]  WARN : RallyConnection.check_for_warnings - <Warnings>
    <OperationResultWarning>API status is Deprecated and will become Not Supported on 2013-Oct-01</OperationResultWarning>
  </Warnings>
[2013-05-21 01:48:10 Z] DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
[2013-05-21 01:48:10 Z] DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "QCPR01ExtID" validated
[2013-05-21 01:48:11 Z] DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
[2013-05-21 01:48:12 Z] DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
[2013-05-21 01:48:13 Z] DEBUG : Connector.validate - RallyConnection validate succeeded
[2013-05-21 01:48:13 Z] DEBUG : QCConnection.validate - Quality Center Connection - user entry "jpqc11" detected in config file
[2013-05-21 01:48:15 Z] DEBUG : QCConnection.validate - Quality Center Connection - password entry detected in config file
[2013-05-21 01:48:15 Z] DEBUG : QCConnection.validate - Quality Center Connection - artifact type "test" validated
[2013-05-21 01:48:16 Z] DEBUG : QCConnection.validate - Quality Center Connection - IDField entry "TS_TEST_ID" validated
[2013-05-21 01:48:17 Z] DEBUG : QCConnection.validate - Quality Center Connection - ExternalIDField entry "TS_USER_01" validated
[2013-05-21 01:48:18 Z] DEBUG : QCConnection.validate - Quality Center Connection - FieldHandler target fields existence validated
[2013-05-21 01:48:19 Z] DEBUG : QCConnection.validate - Quality Center Connection - Field Defaults settings validated
[2013-05-21 01:48:20 Z] DEBUG : Connector.validate - Quality Center Connection validate succeeded
[2013-05-21 01:48:21 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
[2013-05-21 01:48:22 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_NAME" existence validated
[2013-05-21 01:48:23 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "WorkProduct" existence validated
[2013-05-21 01:48:24 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_USER_04" existence validated
[2013-05-21 01:48:25 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
[2013-05-21 01:48:26 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_DESCRIPTION" existence validated
[2013-05-21 01:48:27 Z] DEBUG : Connector.block in validate - Rally Connection field_handler validation for "WorkProduct" succeeded
[2013-05-21 01:48:28 Z]  INFO : Connector.validate - Validation complete
[2013-05-21 01:48:29 Z]   ANY : ConnectorRunner.run_services - Last Run 2013-05-21 01:36:15 UTC  - Now 2013-05-21 01:48:29 UTC
[2013-05-21 01:48:30 Z]   ANY : ConnectorRunner.process_service - Starting Service COPY_QUALITY CENTER_TO_RALLY
[2013-05-21 01:48:31 Z]  INFO : QCConnection.find_new -   Found 1 New tests in QC
[2013-05-21 01:48:32 Z]  INFO : Connector.copy_to_rally - Copy  to Rally
[2013-05-21 01:48:33 Z] DEBUG : Connector.block in map_fields_to_rally -   Mapping TS_NAME(From QC - Test x017) - to - Name(From QC - Test x017)
[2013-05-21 01:48:34 Z] DEBUG : Connector.block in map_fields_to_rally -   Mapping TS_DESCRIPTION(i hope it works) - to - Description(i hope it works)
[2013-05-21 01:48:36 Z]  INFO : RallyConnection.create_internal -   Created TC136
[2013-05-21 01:48:38 Z] DEBUG : QCConnection.update_external_id_fields - set QC Test TS_TEST_ID: 6  external id field TS_USER_01 -> |11994319064|
[2013-05-21 01:48:39 Z] DEBUG : QCConnection.update_external_id_fields - set QC Test TS_TEST_ID: 6  external end user id field TS_USER_03 -> |TC136|
[2013-05-21 01:48:40 Z]  INFO : Connector.copy_to_rally - Quality Center test 6 copied to Rally testcase TC136
[2013-05-21 01:48:41 Z] DEBUG : QCConnection.read_test_steps - Gathered 4 steps for 6.
[2013-05-21 01:48:41 Z] DEBUG : QCToRallyTestStepLinker.link_related_objects_in_rally - QCtoRallyTestStepLinker adding 4 steps to TC136
[2013-05-21 01:48:44 Z] DEBUG : QCToRallyTestStepLinker.link_related_objects_in_rally - QCtoRallyTestStepLinker added 4 steps to TC136 successfully
[2013-05-21 01:48:45 Z]   ANY : ConnectorRunner.process_service - Finished Service COPY_QUALITY CENTER_TO_RALLY
[2013-05-21 01:48:46 Z]  INFO : QCConnection.disconnect - Disconnected from Quality Center
[2013-05-21 01:48:47 Z]   ANY : ConnectorRunner.run_services - time file written with value of 2013-05-21 01:48:30 UTC
[2013-05-21 01:48:48 Z]   ANY : ConnectorRunner.block in log_service_statistics - QC-Copy-TestCases-and-Steps.xml: 1 items copied from Quality center to Rally 
[2013-05-21 01:48:49 Z]   ANY : ConnectorRunner.log_service_statistics - QC-Copy-TestCases-and-Steps.xml: service run took 1 minutes 21 seconds

The logfile (3 of 3) from COPY_RALLY_TO_QC, a folder structure

*********************************************************************************************
     rally2_qc_connector
         pid: 2584   
         starting at: 2013-05-21 02:17:33 Z
         cwd: Z:/
         configs: QC-Copy-TestCases-and-Steps.xml
         interval: -1
*********************************************************************************************
[2013-05-21 02:17:33 Z]   ANY : ConnectorRunner.block in run - processing to commence using content from QC-Copy-TestCases-and-Steps.xml
[2013-05-21 02:17:33 Z]   ANY : Class.read_config_file - QC-Copy-TestCases-and-Steps.xml last modified 2013-05-21 02:17:24 UTC, size: 22070 chars
[2013-05-21 02:17:33 Z]   ANY : RallyConnection.initialize - Initializing Rally connection version 2.8.8
[2013-05-21 02:17:33 Z]  INFO : RallyConnection.initialize - Rally Web Services version 1.16
[2013-05-21 02:17:33 Z]   ANY : QCConnection.initialize - Initializing Quality Center connection version 2.8.8
[2013-05-21 02:17:33 Z]  INFO : Connector.initialize - Ruby platform i386-mingw32
[2013-05-21 02:17:33 Z]  INFO : Connector.initialize - Ruby version 1.9.2
[2013-05-21 02:17:33 Z]  INFO : QCConnection.connect - Connecting to Quality Center at http://qc.f4tech.com:8080/qcbin as user jpqc11
[2013-05-21 02:17:33 Z] DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32
[2013-05-21 02:17:33 Z] DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...
[2013-05-21 02:17:33 Z] DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\HP\QUALIT~1\OTACLI~1.DLL
[2013-05-21 02:17:33 Z] DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/HP/Quality Center Client Side/OTAClient.dll
[2013-05-21 02:17:33 Z]  INFO : QCConnection.connect - Connected to Quality Center at http://qc.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.5761)
[2013-05-21 02:17:34 Z]  INFO : QCConnection.connect -   Domain: DEFAULT
[2013-05-21 02:17:34 Z]  INFO : QCConnection.connect -   Project: JPproject11
[2013-05-21 02:17:34 Z]  INFO : RallyConnection.connect - Connecting to Rally at https://rally1.rallydev.com/slm as user [email protected]
[2013-05-21 02:17:40 Z] DEBUG : RallyConnection.connect - Looking up workspace - Workspace1
[2013-05-21 02:17:42 Z] DEBUG : RallyConnection.connect - Looking up projects
[2013-05-21 02:17:45 Z]  INFO : RallyConnection.connect - Connected to Rally at https://rally1.rallydev.com/slm -  Workspace: Workspace1
[2013-05-21 02:17:45 Z]  INFO : RallyConnection.connect -   Projects: PR01
[2013-05-21 02:17:45 Z]  INFO : Connector.validate - Beginning validation
[2013-05-21 02:17:45 Z] DEBUG : RallyConnection.validate - Rally Connection - user entry "[email protected]" detected in config file
[2013-05-21 02:17:45 Z] DEBUG : RallyConnection.validate - Rally Connection - password entry detected in config file
[2013-05-21 02:17:45 Z] DEBUG : RallyConnection.validate - Rally Connection - artifact type "testcase" validated
[2013-05-21 02:17:46 Z]  WARN : RallyConnection.check_for_warnings - <Warnings>
    <OperationResultWarning>API status is Deprecated and will become Not Supported on 2013-Oct-01</OperationResultWarning>
  </Warnings>
[2013-05-21 02:17:48 Z] DEBUG : RallyConnection.validate - Rally Connection - IDField entry "ObjectID" validated
[2013-05-21 02:17:48 Z] DEBUG : RallyConnection.validate - Rally Connection - ExternalIDField entry "QCPR01ExtID" validated
[2013-05-21 02:17:48 Z] DEBUG : RallyConnection.validate - Rally Connection - FieldHandler target fields existence validated
[2013-05-21 02:17:48 Z] DEBUG : RallyConnection.validate - Rally Connection - Field Defaults settings validated
[2013-05-21 02:17:48 Z] DEBUG : Connector.validate - RallyConnection validate succeeded
[2013-05-21 02:17:48 Z] DEBUG : QCConnection.validate - Quality Center Connection - user entry "jpqc11" detected in config file
[2013-05-21 02:17:48 Z] DEBUG : QCConnection.validate - Quality Center Connection - password entry detected in config file
[2013-05-21 02:17:48 Z] DEBUG : QCConnection.validate - Quality Center Connection - artifact type "test" validated
[2013-05-21 02:17:48 Z] DEBUG : QCConnection.validate - Quality Center Connection - IDField entry "TS_TEST_ID" validated
[2013-05-21 02:17:48 Z] DEBUG : QCConnection.validate - Quality Center Connection - ExternalIDField entry "TS_USER_01" validated
[2013-05-21 02:17:48 Z] DEBUG : QCConnection.validate - Quality Center Connection - FieldHandler target fields existence validated
[2013-05-21 02:17:48 Z] DEBUG : QCConnection.validate - Quality Center Connection - Field Defaults settings validated
[2013-05-21 02:17:48 Z] DEBUG : Connector.validate - Quality Center Connection validate succeeded
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Name" existence validated
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_NAME" existence validated
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "WorkProduct" existence validated
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_USER_04" existence validated
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in validate - RallyConnection field_mapping target "Description" existence validated
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in validate - Quality Center Connection field_mapping target "TS_DESCRIPTION" existence validated
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in validate - Rally Connection field_handler validation for "WorkProduct" succeeded
[2013-05-21 02:17:48 Z]  INFO : Connector.validate - Validation complete
[2013-05-21 02:17:48 Z]   ANY : ConnectorRunner.run_services - Last Run 2013-05-21 02:12:48 UTC  - Now 2013-05-21 02:17:48 UTC
[2013-05-21 02:17:48 Z]   ANY : ConnectorRunner.process_service - Starting Service COPY_QUALITY CENTER_TO_RALLY
[2013-05-21 02:17:48 Z]  INFO : QCConnection.find_new - find_new query: TS_USER_01 ="" and TS_SUBJECT ="^Subject\Level1^"
[2013-05-21 02:17:48 Z]  INFO : QCConnection.find_new -   Found 3 New tests in QC
[2013-05-21 02:17:48 Z]  INFO : Connector.copy_to_rally - Copy  to Rally
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in map_fields_to_rally -   Mapping TS_NAME(From QC - Test x017) - to - Name(From QC - Test x017)
[2013-05-21 02:17:48 Z] DEBUG : Connector.block in map_fields_to_rally -   Mapping TS_DESCRIPTION(i hope it works) - to - Description(i hope it works)
[2013-05-21 02:17:49 Z]  INFO : RallyConnection.create_internal -   Created TC137
[2013-05-21 02:17:50 Z] DEBUG : QCConnection.update_external_id_fields - set QC Test TS_TEST_ID: 6  external id field TS_USER_01 -> |11994578069|
[2013-05-21 02:17:50 Z] DEBUG : QCConnection.update_external_id_fields - set QC Test TS_TEST_ID: 6  external end user id field TS_USER_03 -> |TC137|
[2013-05-21 02:17:50 Z]  INFO : Connector.copy_to_rally - Quality Center test 6 copied to Rally testcase TC137
[2013-05-21 02:17:50 Z] DEBUG : QCConnection.read_test_steps - Gathered 3 steps for 6.
[2013-05-21 02:17:50 Z] DEBUG : QCToRallyTestStepLinker.link_related_objects_in_rally - QCtoRallyTestStepLinker adding 3 steps to TC137
[2013-05-21 02:17:51 Z] DEBUG : QCToRallyTestStepLinker.link_related_objects_in_rally - QCtoRallyTestStepLinker added 3 steps to TC137 successfully
[2013-05-21 02:17:51 Z]  INFO : Connector.copy_to_rally - Copy  to Rally
[2013-05-21 02:17:51 Z] DEBUG : Connector.block in map_fields_to_rally -   Mapping TS_NAME(xx1) - to - Name(xx1)
[2013-05-21 02:17:52 Z]  INFO : RallyConnection.create_internal -   Created TC138
[2013-05-21 02:17:52 Z] DEBUG : QCConnection.update_external_id_fields - set QC Test TS_TEST_ID: 7  external id field TS_USER_01 -> |11994516772|
[2013-05-21 02:17:52 Z] DEBUG : QCConnection.update_external_id_fields - set QC Test TS_TEST_ID: 7  external end user id field TS_USER_03 -> |TC138|
[2013-05-21 02:17:53 Z]  INFO : Connector.copy_to_rally - Quality Center test 7 copied to Rally testcase TC138
[2013-05-21 02:17:53 Z] DEBUG : QCConnection.read_test_steps - Gathered 1 steps for 7.
[2013-05-21 02:17:53 Z] DEBUG : QCToRallyTestStepLinker.link_related_objects_in_rally - QCtoRallyTestStepLinker adding 1 steps to TC138
[2013-05-21 02:17:53 Z] DEBUG : QCToRallyTestStepLinker.link_related_objects_in_rally - QCtoRallyTestStepLinker added 1 steps to TC138 successfully
[2013-05-21 02:17:53 Z]  INFO : Connector.copy_to_rally - Copy  to Rally
[2013-05-21 02:17:53 Z] DEBUG : Connector.block in map_fields_to_rally -   Mapping TS_NAME(l3 test) - to - Name(l3 test)
[2013-05-21 02:17:54 Z]  INFO : RallyConnection.create_internal -   Created TC139
[2013-05-21 02:17:54 Z] DEBUG : QCConnection.update_external_id_fields - set QC Test TS_TEST_ID: 8  external id field TS_USER_01 -> |11994495355|
[2013-05-21 02:17:54 Z] DEBUG : QCConnection.update_external_id_fields - set QC Test TS_TEST_ID: 8  external end user id field TS_USER_03 -> |TC139|
[2013-05-21 02:17:54 Z]  INFO : Connector.copy_to_rally - Quality Center test 8 copied to Rally testcase TC139
[2013-05-21 02:17:55 Z] DEBUG : QCConnection.read_test_steps - Gathered 3 steps for 8.
[2013-05-21 02:17:55 Z] DEBUG : QCToRallyTestStepLinker.link_related_objects_in_rally - QCtoRallyTestStepLinker adding 3 steps to TC139
[2013-05-21 02:17:56 Z] DEBUG : QCToRallyTestStepLinker.link_related_objects_in_rally - QCtoRallyTestStepLinker added 3 steps to TC139 successfully
[2013-05-21 02:17:56 Z]   ANY : ConnectorRunner.process_service - Finished Service COPY_QUALITY CENTER_TO_RALLY
[2013-05-21 02:17:56 Z]  INFO : QCConnection.disconnect - Disconnected from Quality Center
[2013-05-21 02:17:56 Z]   ANY : ConnectorRunner.run_services - time file written with value of 2013-05-21 02:17:48 UTC
[2013-05-21 02:17:56 Z]   ANY : ConnectorRunner.block in log_service_statistics - QC-Copy-TestCases-and-Steps.xml: 3 items copied from Quality center to Rally 
[2013-05-21 02:17:56 Z]   ANY : ConnectorRunner.log_service_statistics - QC-Copy-TestCases-and-Steps.xml: service run took 24 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.