Totara Talent Experience Platform Open Discussions

Scripting / CLI environment checks etc.

 
s h
Scripting / CLI environment checks etc.
by s h - Wednesday, 8 February 2023, 1:38 AM
Group Partners

Are there any PHP scripts or other methods for performing tests and environment checks after a Totara installation or upgrade? We are trying to implement some scripted automation to speed up our upgrade testing process and have previously relied on some convoluted Python selenium frontend checks on certain pages (checking for elements containing "OK" in the table etc.)

Are there any better / more reliable methods for running routine checks via the CLI?

Thanks in advance for any tips or suggestions.

Craig Eves
Re: Scripting / CLI environment checks etc.
by Craig Eves (Totara Support) - Monday, 13 February 2023, 3:32 PM
Group Totara

Hi

There are some admin tools available in Totara - unfortunately the health check is no longer maintained

Within Totara itself there is an environment check admin/environment.php

and Performance test admin/settings.php?section=performance

All admin settings in Totara are able to be accessed by editing the config.php file with the setting you require

Some partners may have developed some automation scripts that they can described.

Regards