Skip to main content

Run Data-Enabled SoapUI Tests in AIQ

Run data-enabled SoapUI support was removedtests in releaseAIQ 5.2.0only ofwhen AIQ.the SoapUI asset remains required. For new API automation, consider whether Service Suite and DPLs can provide the same coverage with fewer legacy dependencies.

Make

Before surerunning

  • Confirm SoapUI version, project file, data source, environment, endpoint, and credentials.
  • Validate the data file or DPL values before execution.
  • Check network, proxy, certificate, and firewall access from the AIQ host.
  • Define expected pass/fail behavior for each data row.

Validation workflow

  1. Run the SoapUI project createdwith hasa small sample outside AIQ.
  2. Run the propertiesAIQ defined and the request is data enabled properly as shown below in the screenshot. wo5tocmhMLJvjoex-ae0b75868c11.png

    Save the project in SoapUI.

    From Appvance IQ:

    1. Navigate to the Appvance IQ Home screen and click Build
    2. Click File ->New to create a new scenario
    3. Select Functional Test from the Scenario Test Type drop-down
    4. Click the Test Management tab and check: "Repeat scenario's test cases 2 times"
    5. Click the Test Cases tab and click the link for Add test case link
    6. Enter the Test case name and Script name
    7. Select "Service Suite-SoapUI" from the Script Type drop-down
    8. Click Browse and browse the Soap UI file and then the Test Suite and then the Test Case from the drop-down. Save the test case
    9. Click the Locations tab
    10. 10. Enter Name: localhost and URL: http://localhost:8080/TMServer/ws/TestNode (Should be added by default)
    11. Navigate to Resources and make sure SoapUI bundlewrapper with version 5.2.1 is added by default
    12. Also make sure the resources are added with Name, Type, and the correct path of the XML file
    13. 13. Go to the Resources tab, Click Add DPL, Select 'Hash DPL - Reads CSV, provides Map dictionary' from the Type drop-down, Provide Name (Important: Should be same as the property name provided in SoapUI), select the Data source (the CSV file with all the entries created)
      8ZnKmOff83cstNsl-51ad2a8d6f7c.png
    14. Come back to the Test cases panel, click edit and click Add DPL, under Select DPL, select the DPL that we just added, provide the name (Important: Should be the same assample.
    15. Review failures for malformed data, exhausted rows, endpoint issues, or assertion defects.
    16. Document migration options if Service Suite can replace the propertySoapUI name provided in SoapUI). Click Save
      evBO4OwHVQoI935x-e60d4acdad19.png
    17. Navigate to Options and make sure that Enable logging, Save logs on Failure are selected
    18. Click check box Custom Database Credentials (Database Logging) and make the following settings:
      Database Type: MySQL
      Driver: com.mysql.jdbc.Driver
      URL: jdbc:mysql://localhost:3306/utp?useSSL=false
      Default Schema: utp
      Username: utp
      Password: utp
    19. Click File ->Save to save the new scenario
    20. Click Play Scenario from the top navigation bar
    21. The controller window will open in a new tab which displays the tests running and will display the pass / fail status of the tests upon the test completion
    22. The left part shows the steps and the duration in milliseconds and the right side shows the test run status under the Output tab
    23. On The transactions tab, we can find the request/response and an error tab to drill down further
    24. Click the Click here link to get to the list of Reports that Appvance IQ supportsdependency.

    Last updated: JulyOctober 25,7, 20242026

    If you have any feedback on this topic, please contact us at documentation@appvance.ai