Forum Discussion

Ivan_Trampedach's avatar
Ivan_Trampedach
Contributor
13 years ago

Export Custom Properties when using Environments Properties

I am using environments in my project and have set up some custom properties.

I want to save custom properties to a file.

Before I save it, I activate/change to the environment that have the data I want to save.

When I open my saved file, value that are set in environment properties, is saved with an empty value.

I expected that the custom properties and value from the active environment was saved into the file.


I am running on SoapUI pro 4.6.1

4 Replies

  • Hi,

    Is it possible to write steps to reproduce with some sample projects so that, it is easier to re-produce the problem at our end.

    Regards,
    Shadid
    SmartBear Sweden.
  • In a project you create a testsuite with one testcase and one step

    In project add two new environment eg env1 and env2. Select env1 as the active one.

    In your test step, create a project properties for one of the fields in your service e.g Data_val1, and add a value eg. 999.

    While environment env1 is the active environment, you can see in the Project Custom Properties, that value Data_val1 = 999
    In Project, Custom Properties I use the icon 'Save current property-values to a file'

    When open the file, the propertie Data_val1 exist, but value is empty.

    In the project also a Default enviroment exist. If I select that one, and add a value to my Data_val1 property, I can see the value when creating the exported no matter what active environment I select.

    I expect that the export take the visible value and save the value in the file, and not only the default values.


    Regards Ivan
  • Hi,

    I was able to reproduce the issue you posted.

    Defect SOAP-1010 was created to track this.



    Regards,
    Marcus
    SmartBear Support
    • kolersa's avatar
      kolersa
      Contributor

      I have the same problem in Ready Api 1.3.1, how to fix it?