cancel
Showing results for 
Search instead for 
Did you mean: 

ReadyAPI doesn't delete tmp dependency files when running over commandline

SOLVED
Highlighted
New Contributor

ReadyAPI doesn't delete tmp dependency files when running over commandline

Hello,

i have the following issue to tell. We (team of 5+ people) often use the Ready API Commandline feature on a central machine.

 

We discovered the following behaviour:

When running the commandline ReadyAPI downloads some required files (i think dependencies for plugins or something else) to temp directory C:\...\AppData\Local\Temp on file system. After the run was executed the files won't be deleted from the filesystem. When running the cmd again a fresh download of all files will be done (see attachments filesystem_first_run.PNG and filesystem_second_run.PNG). From time to time this leads to a big storage bottleneck on filesystem.  Deleting the temp directory manually is no solution.

 

In the logs i see some warn messages that file can't be deleted, see attachment log_temp_files_can_not_delete.PNG.

Same behaviour when running the cmd as admin. Running the ReadyAPI.exe i can observe the same download procedure but after closing ReadyAPI the file were deleted successfully.

 

Is there a way to disable downloading the files each time? It would be sufficient to download the files only one time.

Any idea or tip?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
New Contributor

Re: ReadyAPI doesn't delete tmp dependency files when running over commandline

Found a workaround for this for Windows users:

del /f /s /q C:\Users\%USERNAME%\AppData\Local\Temp\* > nul 2>&1

View solution in original post

6 REPLIES 6
Community Manager

Re: ReadyAPI doesn't delete tmp dependency files when running over commandline

Hi TLerche,

 

Can you reproduce this issue in Ready! API 1.4.1 (our latest product version)?

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Contributor

Re: ReadyAPI doesn't delete tmp dependency files when running over commandline

Hi Tanya,

 

yes we are running the last version of ReadyAPI (1.4.1).

Community Manager

Re: ReadyAPI doesn't delete tmp dependency files when running over commandline

Hi Tlerche,

 

Thanks for checking. I’ve reported this issue to our Developers. Once they investigate this, I’ll let you know their results.

 

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Contributor

Re: ReadyAPI doesn't delete tmp dependency files when running over commandline

This problem still exist in Ready 1.5.0. Are there a solution to this problem ?

 

This is my command line parameters:

"C:\Program Files\SmartBear\ReadyAPI-1.5.0\bin\testrunner.bat" -EDefault -s"XXXAPI - Regression tests - FI - PxPortal - Positive" -j -fE:\Web\XXXAPI\Report\reporttools D:\XXXTesting\XXX.UITests\XXXAPI\XXXAPI\XXXAPI-Regressiontests.xml

Community Manager

Re: ReadyAPI doesn't delete tmp dependency files when running over commandline

Hi Plandhage,

 

Our developers have informed me that this issue is related to the fact that some plugins create these files and don’t delete them for some reason. There is an issue reported to our bug-tracking system - API-4597. However, currently, I cannot give you more precise time estimates regarding when this ussie is fixed.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Contributor

Re: ReadyAPI doesn't delete tmp dependency files when running over commandline

Found a workaround for this for Windows users:

del /f /s /q C:\Users\%USERNAME%\AppData\Local\Temp\* > nul 2>&1

View solution in original post