Forum Discussion

marjo688's avatar
marjo688
New Contributor
7 years ago

Extension classpath of soapui java integration

I have seen solutions to extending the soapui classpath to custom locations using ClasspathHacker in the soapui library.   However this have always been implemented in the scripts where the imports...
  • marjo688's avatar
    7 years ago

    Ended up initiating my own DefaultSoapUICore with my desired root and loading it to SoapUI as follows

     

    DefaultSoapUICore core = new DefaultSoapUICore("rootpath");
    core.createDefault();
    SoapUI.setSoapUICore(core);

     Note that I am not yet sold on my solution since playing around with the core might have unexpected effects that I am not yet aware of, but it works fine for me so far in my current implementation.