Forum Discussion

harakumar's avatar
harakumar
New Contributor
11 years ago

move soapui to another machine.

I need to move to another machine. I use soapui. I can load soapui in my new machine but I like to move all the work space and project I have to my new machine. What is the best approach so I do not have to recreate work spaces and projects in my new machine.

Thank you

4 Replies

  • PaulDonny's avatar
    PaulDonny
    Regular Contributor
    I would use a groovy script like the following to store all of your projects:

    for (project in testRunner.testCase.testSuite.project.workspace.getProjectList()) {
    project.saveAs("C:\\TQA\\SoapUI\\" + project.getName() +".xml");
    }


    And then transfer them over. Obviously I hard coded the path since I wanted all of mine in a single directory.
  • harakumar's avatar
    harakumar
    New Contributor
    I do not use groovy.
    If I know all the files I need to save and the location I need to save then when I move to the new
    machine I can load the soapui then load the files in the correct location.
    Where are the workspace files ?
    I know the location of the project files.

    Thank you
    Kumar.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi
    a workspace file (default-soapui-workspace.xml) is created in your HOME directory.
    so you can also copy it on the new machine and modify it directly prior to open SoapUI