NataliaB
9 years agoOccasional Contributor
Integrating with JUnit and Kerberos authentication
I have a SoapUI project set up to use Kerberos authorization for REST web services. Now I want to itegrate this project with JUnit (https://www.soapui.org/test-automation/junit/junit-integration.html), however when I run it from eclipse all tests failed because of authorization.
public void testRunner() throws Exception { SoapUIProTestCaseRunner runner = new SoapUIProTestCaseRunner(); runner.setProjectFile("SoapUIWorkspace/Sample-soapui-project.xml"); runner.setPrintReport(true); runner.run(); }
Is there a way to add authorization or set "Run the same process as the GUI" in TestRunner?