Forum Discussion

Toni's avatar
Toni
New Contributor
15 years ago

running testcases in a soapUI project from junit

Hi,
I have read the information http://www.soapui.org/Test-Automation/integrating-with-junit.html about JUnit integration.
But i need some more information about how to set new entpoinds/username/password for the used services and how to update the testcases in my project.

The cause is, i have a testSystem and a developmentSystem. I have other endpoints for my services and properties in the developmentSystem. I want to run the testcases in soapUI-project which are developed for the testsystem in my developmentsystem.

An example code would be very helpful.

Thanks..

2 Replies

  • I too am looking for this wisdom on how to set the host.

    I assume the map in the WsdlTestCaseRunner will take the parameter.

    I guessed in use map.put("host", "http://localhost:7070");

    But to no avail.
  • SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
    runner.setHost(.....)