Forum Discussion

M_McDonald's avatar
M_McDonald
Super Contributor
14 years ago

Running multiple instances of the UI

I would like to be able to run multiple instances of the UI, each accessing a different workspace which would be retained from session to session without them stomping on each other's settings. Any suggestions for accomplishing this?

Thanks.
  • Hi,

    Do you mean that you want to run them totally independently of each other on one desktop?

    regards,

    /Ole
    SmartBear Software
  • Hi!

    Try this then:
    - create separate soapUI installations for each instance you want to run
    - make sure there is a soapui-settings.xml file in each installations bin folder
    - start each installation and create a new workspace in each

    Does that work?

    regards,

    /Ole
    SmartBear Software
  • AAichholzer's avatar
    AAichholzer
    Occasional Contributor
    Hi,

    does this work for mocks, too?
    I have to provide different ports for the same service in different versions.
    I this is possible, how can i set the portnumber when i start soapUI?

    best regards

    Horst
  • Hi,

    You can edit the port number using UI, Click on the service and click the options and change the port number, see the screenshot
    http://www.soapui.org/Service-Mocking/mocking-soap-services.html



    or

    You can add this script in the load script tab, Click on the Project > Overview tab > Load Script



    for( ms in project.mockServiceList )

    {

    ms.setport(3445)

    // open window

    def dp = com.eviware.soapui.support.UISupport.showDesktopPanel( ms )

    // start mockservice

    ms.start()

    // minimize window

    com.eviware.soapui.SoapUI.desktop.minimize( dp )

    }





    Thanks,
    Jeshtha

    SmartBear Software