<?php

//return the test server stats


//NOTE: only post is allowed!!

$config = require '../bootstrap.php';

require_once __DIR__.'/../constants.php';

#requires some helper function to e.g. create / delete dirs, handle output...


$response = array(
    "hardGlobalTimeoutInMs" => $config["hardGlobalTimeoutInMs"],
    "maxNumberOfTestsWithOneRequest" => $config["maxNumberOfTestsWithOneRequest"],
    "maxLinesToRead" => $config["maxLinesToRead"],
    "maxErrLinesToRead" => $config["maxErrLinesToRead"],
    "maxLinesToWrite" => $config["maxLinesToWrite"],
    "showTestRunnerDebugOutput" => $config["showTestRunnerDebugOutput"],
);


if ($isDebug) {
    debug(json_encode($respone));
}

output($status_code_Ok, "", $response);