You are on page 1of 1

Vincent Zurczak's Blog

My technical blog

Increase Import File Size in Test Link

Posted on November 21, 2017 by vzurczak


Just a quick reminder post…

By default, Test Link (http://testlink.org/) comes with a limit of 400 KB to import tests specifications. To
raise this limit, there are two files to update.

The first one is the php.ini file.

On Linux, you can find its location with the php --ini command. Find the upload_max_filesize
parameter and increase its size. This is a global PHP setting.

You then need to update the configuration of TestLink.

Find the config.inc.php file and change the $tlCfg->import_file_max_size_bytes parameter.

You might want to update the $tlCfg->import_max_row and $tlCfg->repository_max_filesize


settings too.

I personally run it with Docker Compose (https://hub.docker.com/r/bitnami/testlink/) (Test Link 1.19.x).

Here are the values I use:

upload_max_filesize (php.ini): 20 MB
$tlCfg->import_file_max_size_bytes (config.inc.php): 8192000
$tlCfg->import_max_row (config.inc.php): 100000
$tlCfg->repository_max_filesize (config.inc.php): 8 // MB

Posted in MiscellaneousTagged Test Link

Blog at WordPress.com.

You might also like