Forum Discussion

faisalkarim's avatar
faisalkarim
Occasional Contributor
11 years ago

[Resolved] Temporary XML files in composite project

When I save my compl project it creates lots of temporary files which I don't want to commit to my source code repository (GIT in this case). I know I use .gitignore to ignore the *tmp*.xml file pattern.

My questions is, is there a preference in SoapUI Pro so that the temporary files doesn't get created and just saves my changes?

I am using SoapUI Pro version 5.0.0

Thanks,

Faisal

5 Replies

  • Hello,

    Can you please check you error log when these files are generated and let me know if you receive errors, if you do please send me the stack trace so that I can look into this issue further.

    Regards,
    Temil
  • faisalkarim's avatar
    faisalkarim
    Occasional Contributor
    There are no errors and these temporary XML files gets created as soon as I save the SoapUI project.
  • faisalkarim's avatar
    faisalkarim
    Occasional Contributor
    Here is an example of a temporary XML file name "MobileWebServiceHealthSuite-c4b79c8a-bd89-4979-b891-9d2d664c9b21-tmp8063252870080615692.xml". Why does this get created? Anyway to stop it?
  • Hi,

    There was a change in the way composite projects are handled in SoapUI Pro 5.1 which added GUID's (the long strings appended to the file names) when using composite projects. If you are using SoapUI Pro 5.1 and seeing this problem please use the 5.1.1. maintenance build.

    http://www.soapui.org/Downloads/soapui- ... uilds.html

    Do you have any errors in the .log files in <SoapUI Pro install>\bin directory that say "Failure to delete temp file"? Also, do you have any options set in SoapUI Pro preferences such as WSDL Settings -> "Pretty Print project files", UI Settings -> "Backup project files before they are saved", or UI Settings -> "Normalize Line breaks"?


    Regards,
    Marcus
    SmartBear Support
  • faisalkarim's avatar
    faisalkarim
    Occasional Contributor
    Hi Marcus,

    Thanks for your prompt response.

    Using the 5.1.1 maintenance build resolved the long filename issue for composite projects.

    I checked the *.log files under <SoapUI Pro install>\bin directory and did not file any string that matches "Failure to delete temp file".

    I looked in the settings and based on what you requested to check, I only have WSDL Settings -> "Pretty Print project files" setting is set. Other ones are not set.

    Thanks,

    Faisal