View previous topic :: View next topic |
Author |
Message |
kevinkenny
Joined: 12 Jan 2010 Posts: 16
|
Posted: Tue Jan 12, 2010 2:52 pm Post subject: How do I delete tests/folders using HMS Script? |
|
|
Is there a way to delete tests / folders using HMS Script or the import file commands?
We're integrating with our hosting platform provisioning system and are automating adding new tests to HM. However when customer hosting services are no longer required (e.g. customer closes account for dedicated server or website) we need to be able to delete the HTTP tests we create for them.
At the moment the only way seems to be:
a. Recreate all tests (not ideal because there could be ~5000-6000 tests)
b. Disable tests when no longer required - again not ideal because they'll just litter the HM server with dead tests.
I'm using HostMonitor 8.32.
Thanks
Kevin |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Jan 12, 2010 3:15 pm Post subject: |
|
|
You may try undocumented "DeleteTest" command.
Regards
Alex |
|
Back to top |
|
|
kevinkenny
Joined: 12 Jan 2010 Posts: 16
|
Posted: Tue Jan 12, 2010 3:32 pm Post subject: |
|
|
KS-Soft wrote: | You may try undocumented "DeleteTest" command.
Regards
Alex |
Excellent!...Thanks for the prompt response Alex. |
|
Back to top |
|
|
|