Document toolboxDocument toolbox

Test Case Loader

Int4 Suite Test Case Loader allows the user to upload payloads from local computer or application server location and create test cases based on the content.

How to access the Test Case Loader

Test Case Loader can be started via transaction code /INT4/TC_LOADER.

image-20241029-111239.png

How to upload payloads from local computer

  1. Prepare zip file with the payloads
    Zip file can contain folders. Folder structure will be reflected in APITester Cockpit

  2. Select zip file on the selection screen

How to upload payloads from application server

Test Case loader uses Logical Path /INT4/TC_UPLOAD_DIR.
This path has to be mapped to physical path in transaction FILE

Select path /INT4/TC_UPLOAD_DIR and maintain Assignment of Physical Paths to Logical Path selecting your desired folder

image-20241029-111515.png

Test Case Loader can search any subfolder under Logical Path /INT4/TC_UPLOAD_DIR.

How to match input & output payloads

Specify regex pattern for matching input files
Use groups to capture parts of file name to be used to match outputs
Example:
Input file name: HS3_INVOICE_IN_S4HIDOC_100272880_0090065687.xml
Output file name: HS3_INVOICE_OUT_EDIFACT_100272880_0090065687.edi
Input pattern : [\w]+_IN_S4HIDOC_([0-9]+)_([0-9]+).xml (two groups to capture numbers)
Output pattern: [\w]+_OUT_EDIFACT_$1_$2.*   ($1, $2 will be replaced by values from input file name)

How to configure test case creation

  1. Select target folder

  2. Select target test type & Automation Object for input payloads

  3. Output payloads can be loaded to the same test case (e.g. SAP CPI E2E Inbound (12) with input and output) or as separate test case linked by parent ID (e.g. SAP CPI E2E Inbound (12) linked with SAP CPI E2E Outbound (13) )

 

Test Case Loader can be started in Test Mode to verify the parameters and file selection.

© 2017 - 2022 Int4 AG All rights reserved