Forum Discussion

Holly_Greger's avatar
Holly_Greger
Contributor
14 years ago

SoapUI duplicates TestSuites whose name contain a dash "-"

I gave SoapUI 4.5 Beta a try and it wreaked havoc on all test projects i had. For every project, if there was a TestSuite with a dash in its name, SoapUI created a duplicate of such suite. Once i closed the project and opened it up again then SoapUI would complain about the duplicated TestSuites.

6 Replies

  • Hi,

    thanks for reporting - will be fixed in beta2 - I'm very sorry for the inconvenience..

    regards,

    /Ole
    SmartBare Software
  • Hello,

    Is it related to ordinary or composite project? Can you maybe share a project with us so we can reproduce this?
    Any error messages?

    robert
    /SmartBear
  • Hello,

    Is related to composite projects. Sorry I cannot share a project, information is just too sensitive, but I'll try my best to give you all the details. In the attached screen shots you can see how the TestSuites with a dash in the name are duplicated in the file system. This happens shortly after i open the project in SoapUI Pro 4.5, i think is right after i click save. What's interesting to note is that SoapUI saves a copy of my TestSuite without the dash, which seems to be the way SoapUI has been saving structures in the file system. My version control software tells me the TestSuite with the dash is the newly created item.

    When I open the project for the first time, all this happens in the background but i don't get to notice it until i reload the project, at which time i get a warning message, please see screenshot. Is also interesting to notice that once i click past the warning SoapUI shows me the duplicated rows in the project, please see screenshot.

    If you guys need more info, please let me know.

    Enzo
  • Hello,

    Uh..Sorry for this. Solution would be to load project with old soapUI, save project as normal project, than load it with beta1 and save as composite again. Or you could delete directories that are duplicates. Correct test suite directory should contain dash in name, so for test suite "CompanyCode-SmokeTest" correct directory is "CompanyCode-SmokeTest" not "CompanyCodeSmokeTest" (this should be deleted). I know that this is hassle and I'm sorry for this.

    Let us know does this helps,
    robert
    /SmartBear
  • Pat's avatar
    Pat
    Occasional Contributor
    Hi,

    I ran into a very similar problem using SoapUI pro 4.5.2 official release (32-bit) on Windows 7.

    The only difference is it does not seem to relate to any special characters at all.

    1) Created a new project
    2) import a WSDL
    3) Create a testsuite
    4) Create a testcase
    5) Create a WSDLTestRequestStep
    6) Set the project to composite
    7) Save the project
    Reopen the project

    I get the same error as in the post above and some projects and all operation sample request in my project are double.

    The main reason for using composite projects is because of project size which can swell up very fast to unusable proportions to the point that it goes out of memory.

    Perhaps I can send you a copy of my project directly as cannot post it in a public forum.
  • Hi,

    I'm afraid I am unable to reproduce your issue running SoapUI Pro 4.5.2 on Windows 7 (64-bit). If possible, please send us the complete error log (found in the SoapUIHome/bin/ directory) and your project files. If you don't want to post them publicly, please get in touch with us via this form: http://www.soapui.org/Support/support-overview.html

    Regards,
    Arian
    SmartBear Sweden