Forum Discussion

ITAbteilung's avatar
ITAbteilung
Contributor
15 years ago

Compsite project and wardeployer

Hi,

the syntax for the wargenerator.sh is
usage: wargenerator [options] <soapui-project-file>

What should I do when I use composite projects (which don't contain a project-file)?

Is there a simple automated way to transform a composite project back into a project-file?

Regards,
Patrick

5 Replies

  • Hi,

    yes you can switch between regular and composite project by selecting "Composite Project" property to false and true respectively.
    You can find this property by selecting project and look left down part of the soapUI. It is under Project Properties.

    Hope this helps

    regards
    nebojsa

    SmartBear Software
  • Hi Nebojsa,

    thanks for the reply. But I was asking for an automated way to do that (eg.: a script or a java class). Otherwise I'm forced to write an own class or dig into the soapUI sourcecode. If there is no quick way, it would help if you could give me a hint where to search in the sourcecode.

    Thanks in advance,
    Pat
  • Hi Pat,

    using the wargenerator included with soapUI Pro you should be able to specify a directory instead of a file - soapUI will attempt to read this as a composite project - have you tried that?

    regarding the automated way to change the project from composite to non-composite;

    def project = .. get project ..
    project.composite = true / false
    project.save()

    should do the trick

    regards!

    /Ole
    SmartBear Software
  • Hello,

    we are currently working on this other forum issue you reported,
    we will let you know once we have the solution!

    Regards,
    Vladimir
    SmartBear Software