Forum Discussion

elish's avatar
elish
New Contributor
11 years ago

SoapUI - dynamically add Test Cases

Hi,

I want to create SoapUI test cases dynamically (via command line/XML/ etc).
Do you know if it possible?
Please help

Thank you.

4 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Assuming, a project is created in SoapUI workspace and imported a wsdl which is having a service with one operation. Would you please shed some more light to the idea?
  • elish's avatar
    elish
    New Contributor
    Sure.
    I just want to test many REST calls (~300), and I don't want to create SoapUI Project / Test Case for each REST call manually.
    So I am looking for a way to create SoapUI TestCase/Projects using a method that I will be able to automate.
    For example, if I will be able to create a TestCase/Project by XML file, I will be able to create many XML files (using some scripting language) that SoapUI can read and create TestCases/Projects for me.

    Generally I want to create Projects with SoapUI security testing TestCases for each REST call.

    Thanks again
  • nmrao's avatar
    nmrao
    Champion Level 3
    Understand that you have test case xml files available, and need to be able to create soapui project based on that. If that is the case, you should be able to use SOAPUI's API to create WsdlProject, add suite, then add test cases, add step and in the step place your xmls.