#222 Easily selectable and editable properties sets

open
nobody
5
2009-07-06
2009-07-06
No

Now it is possible to save/load properties to/from file. However in our latest project, we've found out that easier way to switch between different properties's set would be usefull. User would define some properties sets, for example different for every test environment, and he could switch between them with single click. Those properties sets could be also downloaded from some link.

It could be implemented as combobox and textfield next to load/save properties button on properties tab toolbar. After entering path or link to some directory, soapUI would load propertise files stored in that location, and would display them in combobox. After selecting item in such combobox, selected file would be loaded.

Discussion

  • Piotr Nowojski

    Piotr Nowojski - 2009-07-06
    • summary: Easily selectable end editable properties sets --> Easily selectable and editable properties sets
     
  • Piotr Nowojski

    Piotr Nowojski - 2009-07-28

    I have attached patch for soapui 3.0, which adds this feature. It uses commons-vfs library, and support most (if not all) commons-vfs filesystem, with listing directory feature. Patch modifies xml schema, to store uri in sopaui's project file. Here: http://top.touk.pl/confluence/display/SUI/Functional+Specification is some description with screenshot (as 2nd feature). Following new dependencies are requierd

    <dependency>
    <groupId>commons-vfs</groupId>
    <artifactId>commons-vfs</artifactId>
    <version>20050307052300</version>
    </dependency>
    <!--dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-vfs-sandbox</artifactId>
    <version>1.0-SNAPSHOT</version>
    </dependency-->
    <dependency>
    <groupId>oro</groupId>
    <artifactId>oro</artifactId>
    <version>2.0.8</version>
    <optional>true</optional>
    </dependency>
    <!-- commons-vfs webdav-->
    <dependency>
    <groupId>slide</groupId>
    <artifactId>slide-webdavlib</artifactId>
    <version>2.1</version>
    <optional>true</optional>
    </dependency>
    <dependency>
    <groupId>jdom</groupId>
    <artifactId>jdom</artifactId>
    <version>1.0</version>
    <optional>true</optional>
    </dependency>
    <!-- commons-vfs ftp/sftp -->
    <dependency>
    <groupId>commons-net</groupId>
    <artifactId>commons-net</artifactId>
    <version>1.4.1</version>
    <optional>true</optional>
    </dependency>
    <dependency>
    <groupId>com.jcraft</groupId>
    <artifactId>jsch</artifactId>
    <version>0.1.23</version>
    <optional>true</optional>
    </dependency>

     
  • Ole Lensmar

    Ole Lensmar - 2009-08-09

    Hi!

    thanks for this! The next version of soapUI (3.5) will have similar functionality, let me think of how this could work with your ideas as well..

    regards!

    /Ole
    eviware.com

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks