Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Connector Toolkit
  3. Before you begin
  4. Develop a connector for Cloud Data Integration
  5. Develop a connector for Data Loader
  6. Import a connector
  7. Connection attributes
  8. Type system
  9. Connector metadata
  10. Partitioning capability
  11. Pushdown capability
  12. Mappings in advanced mode
  13. Manual changes to Informatica Connector Toolkit source code
  14. Runtime behavior
  15. Connector example: MySQL_Cloud
  16. Version control integration
  17. Appendix A: Metadata models
  18. Appendix B: ASO model
  19. Appendix C: Connector project migration
  20. Appendix D: Frequently used generic APIs in Informatica Connector Toolkit
  21. Appendix E: Frequently asked questions

Cloud Data Integration Connector Toolkit Developer Guide

Cloud Data Integration Connector Toolkit Developer Guide

Integration tests

Integration tests

Perform the following steps to run the integration tests:
  1. On the
    Connector Navigator
    tab, navigate to the
    Test Scenarios
    folder for the connector and open the
    ctfconfig.xml
    .
    The
    ctfconfig.xml
    file consists of the following configuration details:
    • The product details such as agent name, POD URL, admin user, and admin password.
    • Test suites for running the tests. You can list more than one test suite.
  2. Specify the pod details in the
    ctfconfig.xml
    file or in the
    input.properties
    file.
    The image shows the pod details in the ctfconfig file.
    The following table describes the keys in the
    ctfconfig.xml
    file:
    Key
    Description
    podurl
    Pod URL for log in to the pod.
    adminuser
    Administrator user for the pod.
    Specify this parameter to assign the required licenses to execute the test case. You can leave the value blank if the required licenses are already assigned to the organization user.
    adminpassword
    Admin password.
    agentname
    Agent name that appears on the pod.
    agentusername
    Agent user name.
    agentpassword
    Agent password.
    agentgroupname
    Agent group name that appears on the pod.
    sshhost
    Host IP address of the agent machine.
    sshuser
    Host user name of the agent machine.
    sshpassword
    Host password of the agent machine.
    sshdockername
    Docker name.
    Specify the docker name if the agent is installed on the docker machine.
  3. Edit the tag values in the
    testNG
    suite file.
    Specify CAT for Code Acceptance Test or Unit Test and PAT for Product Acceptance Test or Integration Test.
    Set the value of the tags to
    NONE
    during the test case review to skip the test case execution.
  4. In the
    Connector Progress
    view, under
    Phase 5: Generate & Run Test Scenarios
    , click
    Run Test Scenarios
    ..
    The image shows the connector progress tab with execute test scenarios option.
  5. Select
    Integration Tests
    . The image shows the integration tests option.
  6. Specify the tags to run specific integration tests.
  7. When you configure the
    Integration Tests
    for the first time, the
    Run failed test scenarios
    option is not enabled.
    After the test scenarios are executed, you can select the
    Run failed test scenarios
    option to execute only the failed test scenarios.
  8. Click
    Finish
    .
    A warning window appears.
    The image shows the warning message to specify agent details in the ctfconfig file before executing tests
  9. Click
    OK
    .
    After the test scenarios are executed, the
    Test Scenarios Execution Status
    window appears. The image shows the test scenario execution status.
  10. Click
    View results in Eclipse
    to view the results in Eclipse.
    The image shows the results displayed in Eclipse.
    Optionally, click
    View results in browser
    to view the results in the browser.
    The image shows the results displayed in the browser.
  11. Click
    OK
    .
  12. To view the detailed log, see the
    ctfrun.log
    file in the result folder.
    The folder also contains the
    testng
    and
    junit
    reports.

0 COMMENTS

We’d like to hear from you!