For this use case, you want to reactivate a test, which increases the number of active tests and decreases the number of available tests. Tests can be provisioned in the inactive state or made inactive using the TestStatusUpdate method or the UpdateTests method. When these inactive tests are needed, they can also be reactivated using the TestStatusUpdate or UpdateTests method.
Inactive tests cannot be made active if they do not deploy to a valid collection of monitor sites.
Sample TestStatusUpdate request
The following TestStatusUpdate message can be used to reactivate an inactive test:
Sample UpdateTests request
The following UpdateTests message can be used to reactivate an inactive test:
If a folder’s status is currently Inactive, changing its status to Active reactivates it and all of the inactive tests that it contains.