ReleaseOwl Docs
  • ReleaseOwl Admin Guide
    • General Administration
      • User & Role Management
      • Project Management
      • Landscape Registration
      • Global Credential Management
      • Settings
      • Landscape Connectors
      • Parallel Landscape Configuration
      • Static Code Analysis
      • RO Agents
    • ALM Integrations
      • Jira
        • Jira Cloud
        • Jira On-Premise
        • Jira Automation Rules
      • Azure DevOps
      • ServiceNow
      • Freshservice Integration
    • Other Integrations
      • ReleaseOwl Callout Feature
      • DocuSign
    • Landscape Mapping
  • ReleaseOwl User Guide
    • Change Management
      • Backlog
      • Sprints
      • User Stories
      • Release Versions
      • User Story Dependency
    • Transport Management
      • On-Prem Environment Registration
      • Creation of Transports
      • Transport Validation and Analysis Reports
      • Transport Promotion and Pipeline Activity
      • Transport Management Actions
      • Transport of Copies
      • Retrofit & Conflict Resolution
      • gCTS
        • Build pipeline support for onPrem Fiori
    • SAP BTP
      • Administration
        • Credential Management
        • Cloud Environment Registration
      • Working with Build Pipelines
        • Static Code Analysis
        • Change Log Analysis
        • Download Artifact
        • Labels
      • GIT Ops
    • SAP API
      • Adminstration
        • Credential Management
        • Cloud Environment Registration
      • API Management
    • SAP CPI
      • SAP CPI Integration with ReleaseOwl
      • CPI Test Generator
      • CPI Management
        • Synchronize CPI Artifacts
        • Artifact Versions
        • CPI Artifact Comparison
        • Backup & Rollback
        • CPI Validation - CPILint
        • iFlow Unit Testing
        • Integration Advisor
    • SAP Analytics Cloud
    • SAP Datasphere
    • Working with Release Packages
      • Create Release Package with User Stories
      • Create Release Package with Transports
      • Release Package Validation with Transports
    • Working with Release Pipelines
      • Pipeline Tasks
        • Approval Task
        • Callout Task
        • Manual Task
        • User Story Status Task
        • Test Execution Task
        • Message Listener Task
        • GCTS Merge Task
        • GCTS Activate Task
        • GCTS Switch Task
        • Import via Toc Task
        • Transport Retrofit Task
        • Release Transport Task
        • DocuSign Approval
        • Validation Task
      • Use Cases
        • Automated Transport import along with Transport Promotion
        • Automated MTAR Deployments
        • Automated CPI Deployments
    • Test Automation
      • HCL OneTest
        • Test Configurations
        • Running Automated Tests with Release Pipelines
      • Tosca Integration
      • Integrating UiPath with ReleaseOwl
    • My Tasks
    • Multiverse
    • Utilities
      • ABAP Version Compare
      • gCTS Merge
Powered by GitBook
On this page
  1. ReleaseOwl User Guide
  2. SAP CPI
  3. CPI Management

iFlow Unit Testing

PreviousCPI Validation - CPILintNextIntegration Advisor

Last updated 26 days ago

The Cloud Integration Unit Test creation and execution in ReleaseOwl is achieved through Simulation feature in SAP Cloud Integration Suite: () Go to the ‘Test Generator’ tab, input all the required details. The required details are as follows:

Name

Name for identifying a test case

Disable Test Case:

During validation multiple test cases associated to CPI Artifact will be executed, if this option is selected then this test case will be ignored during group execution.

Artifact Name

From the lookup select the artifact for which the test case should be executed.

Start & End Sequence ID

These are sequence IDs which tells where to start point for execution and end point for execution. The values for these can be taken as shown in the attached screen shot.

Input Headers

These are key - value pairs that will sent as input headers to simulation.

Input Properties

These are also key - value pairs that will be sent as input to simulation.

Input Payload

This is the payload that is sent as input to the first activity for the start sequence ID in simulation. This could be xml or Json.

Expected Output Payload

This is the expected output after execution of last activity attached to end sequence ID. This could be xml or Json.

Expected Output Headers

These are the Key - value pairs that will be the output of the last activity in the simulation.

Ignore Properties

These are comma separated paths to ignore during comparison of input and expected output payload

You can obtain the Start and End Sequence ID from your SAP landscape by selecting the point and copying the start and end sequence IDs.

Once the test case is created, select ‘Run’.

You can click on ‘View Latest Result’ to see the latest test case report.

Here, the Run ID is the unique test run ID; the Artifact Name is the one you specify while creating the test run. The Expected Output is the same as specified while creating the test run, and the Actual Output is the output received after running the test, in which case, the Property Differences between the two are given at the bottom.

Alternatively, you can view the ‘Test Results’ tab to view a history of all the test results. Here you will view a list of Run IDs that pertain to specific user stories or release packages that have been validated. A user may run group of tests together. In the case of User Stories or Release Packages, all the validation tests associated with artifacts from the selected User Story will be executed as a single suite. The below screen displays all such test execution groups.

You can click on a ‘Run ID’ to view all the test cases that fall under that run ID. Selecting ‘Details’ will further take you back to the ‘Latest Results’ page.

Apart from this, the Test Case can also be run via the User Stories tab, by clicking on the Validate button. When validated, all the test cases associated with the iFlow artifacts linked to the particular user story or release package you have validated will be executed.

The Test Results can be viewed in the Validation Report generated during User Story and Release Package validation.

The Validation Report can also be viewed from the Release Packages tab.

Simulation of an Integration Flow | SAP Help Portal