Forum Discussion

BA_Service_Haus's avatar
BA_Service_Haus
Regular Contributor
15 years ago

running soapUI Pro testcases with soapUI (free)

Hi,

we are using soapUI Pro 3.6.1.

One of our users created a testcase with soapUI Pro and tried to run it via testrunner.bat. But therefore he didn't use soapUI Pro but soapUI (free). As a result he got an error message:
[ ] java.lang.NoClassDefFoundError: com/eviware/soapui/SoapUIProTestCaseRunner
[ ] Caused by: java.lang.ClassNotFoundException: com.eviware.soapui.SoapUIProTestCaseRunner
[ ] at java.net.URLClassLoader$1.run(Unknown Source)
[ ] at java.security.AccessController.doPrivileged(Native Method)
[ ] at java.net.URLClassLoader.findClass(Unknown Source)
[ ] at java.lang.ClassLoader.loadClass(Unknown Source)
[ ] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[ ] at java.lang.ClassLoader.loadClass(Unknown Source)
[ ] Could not find the main class: com.eviware.soapui.SoapUIProTestCaseRunner. Program will exit.
[ ] Exception in thread "main"

So I assume that the project file contains some special settings, that refer to soapUI Pro components (here: SoapUIProTestCaseRunner).

So isn't it possible to run a testcase of an soapUI Pro project using soapUI and vice versa?

Best regards
Nico

6 Replies

  • Hi Nico,

    Projects created in soapUI Pro can be run in soapUI Pro courtesy mode (that is, soapUI Pro with no license), but not in soapUI Open Source. Projects created in soapUI Open Source can be run in any edition of soapUI.

    Regards

    /Henrik
    eviware.com
  • BA_Service_Haus's avatar
    BA_Service_Haus
    Regular Contributor
    Hi Henrik,

    thank you for this (very) quick answer.

    When evaluating soapUI and soapUI Pro 3.6.1, we checked to execute soapUI Pro testcases in soapUI and it worked (of course no soapUI Pro features were used). But we did it by loading the project file into soapUI Open Source and then running the testcases via the GUI.
    So is there any transformation, when loading a project into soapUI/soapUI Pro, which isn't made when executing the project/testcase via testrunner.bat?

    Best regards
    Nico
  • BA_Service_Haus's avatar
    BA_Service_Haus
    Regular Contributor
    Hi Henrik,

    what about an answer to my last questions?
    Is there any transformation when loading a Pro-Project into an "open source soapUI"?

    Best regards
    Nico
  • Hi Nico,

    I'm not sure what you mean by "transformation"; the base file format used by both versions is the same, it's just that the pro version adds some extra stuff if you use Pro teststeps in your projects.. The code for loading projects is the same in the GUI as in the command-line, so there should be no difference between the two.

    Does that answer your question?

    regards!

    /Ole
    eviware.com
  • BA_Service_Haus's avatar
    BA_Service_Haus
    Regular Contributor
    Hi Ole,

    thank you for answering quickly.

    We create testcases with soapUI Pro especially because of the better usability. But we don't use pro test steps in general.
    So my question is: Can I run a testcase in soapUI open source, if it was created with soapUI Pro?
    And if so: what causes the problem? (see my first post)

    Best regards
    Nico
  • Hi Nico,

    In your situation you should be able to run soapUI Pro projects with soapUI; the error you are getting seems to be related to using a soapUI Pro bat file with the standalone soapUI version; are you sure that the standard soapUI testrunner.bat was used to run the project?

    regards!

    /Ole
    eviware.com