Skip to main content

Run Data-Enabled SoapUI Tests in AIQ

SoapUIĀ support was removed in release 5.2.0 of AIQ.

Make sure the SoapUI project created has the properties 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 bundle 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 as the property name provided in SoapUI). Click Save
    evBO4OwHVQoI935x-e60d4acdad19.png
  15. Navigate to Options and make sure that Enable logging, Save logs on Failure are selected
  16. 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
  17. Click File ->Save to save the new scenario
  18. Click Play Scenario from the top navigation bar
  19. 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
  20. The left part shows the steps and the duration in milliseconds and the right side shows the test run status under the Output tab
  21. On The transactions tab, we can find the request/response and an error tab to drill down further
  22. Click the Click here link to get to the list of Reports that Appvance IQ supports

Last updated: July 25, 2024

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