Int4 Suite: Automatic test case creation using MuleSoft Robot

The Int4 Suite MuleSoft Robot is a report which simplifies and accelerates the mass test case creation process. With the Robot, you have the option to create a large number of test cases for different MuleSoft applications at once.

How to configure the Test Case Robot for MuleSoft

 

  1. In Environment Selection, please select the environment from which you want to create test cases:

    image-20240805-073103.png

     

  2. In the next section, called Message Selection Criteria, you can specify all the criteria considered by Robot during message selection.

    image-20240805-073151.png

    Prerequisite for Robot usage is the completion of Extended Configuration:

    Extended Configuration contains a list of applications scanned by Robot, including mapping to Int4 Suite Automation Objects and additional configuration options.

    In the Extended Configuration, you may set a folder in which test cases should be created:

     

    In a column Level 1. Subfolder Name, you can enter the main folder where test cases created by Robot should be located. It’s possible to leave this column empty and forward this task to Robot.

    You can also specify a subfolder name - Test Cases Folder (2). In this case, Robot will create test cases in a new folder from this column. It means that this test case folder will be located either as a child of Level 1 Subfolder Name or - if you won’t specify the main folder here - under the folder entered in the main screen.

    1. Save this configuration, and you can go back to the main screen.

  3. You can filter the Extended Configuration object list providing either Int4 Suite Automation Objects or Application Names.

  4. Specify a Time Range for message search.

     

  5. In the next section, you can specify Execution Parameters:

    • Test Run - Robot will search for messages and list out the results without creating any test cases

    • Log Level Debug - this option enables detailed logging, which might be helpful during troubleshooting.

  6. The last section covers Test Case Creation Parameters:

     

    • Firstly, specify Target Folder where test cases created by Robot should be located (use the F4 input help if needed).

    • Define rules about Test Case folders in case folder was not maintained in Extended Configuration. You can ask Robot to search for an existing folder or create a new one using a search pattern. For more information about possible Search Patterns, please open the F1 help.

    • maximum number of test cases per folder (including already existing ones),

    • Select Skip duplicates in the same folder in case you don't want to have more than one test case with the same MessageID,

    • Randomize message selection Suppose there is a bigger number of messages in MuleSoft, for example, 200. In that case, you can select this option to pick up messages randomly instead of picking ten messages in a row.

  7. After specifying all the criteria, the report can be executed either in the foreground or background.
    Based on the parameters, Robot automatically downloads the messages from the MuleSoft platform, creates the folders and test cases. 
    After each detailed execution report is presented with information about created test cases.

© 2017 - 2022 Int4 AG All rights reserved