Page 1 of 1
Importing big files in 1.9 RC
Posted: Thu Oct 28, 2010 5:02 pm
by aostad
I created a test plan of 630 test cases in 3-4 level of child test suites. The size of exported xml file is 1.9Mb. I can easily export and import them in 1.8.5 version, while I can not import more than 200 of them in 1.9 RC version.
I have already increased the max size of uploading files to 40Mb (default is 2M) by configuring PHP.ini and testlink config files.
Can the reason be a timeout? if yes, how it can be configured?
Any help is much appreciated.
AO
Re: Importing big files in 1.9 RC
Posted: Sun Nov 21, 2010 6:05 pm
by raashoka
Hi hello, did you got that. i hope you got. otherwise here it is.
while testlink installation did you give "max_execution_time = 120" in your php.ini file. if did n't give this.
In the testlink folder, go to "config_inc.php" and search the "$tlCfg->repository_max_filesize" line then you can decide how much you want to upload file size (MB) .
And xml importing file size you can change it in the same file, you can search "$tlCfg->import_file_max_size_bytes" line then you can give the size with Bytes.
Regards
King of Kings
Re: Importing big files in 1.9 RC
Posted: Tue Nov 23, 2010 5:24 pm
by aostad
Here is the current configuration:
PHP.ini: max_execution_time = 120
config.inc.php: $tlCfg->import_file_max_size_bytes = '40960000';
$tlCfg->import_max_row = '100000'; // in chars
$tlCfg->repository_max_filesize = 10; //MB
I could not import even half of test cases with above configuration. I think there is another thing that need to be configured or it can be testlink limitation.
Cheers,
AO
Re: Importing big files in 1.9 RC
Posted: Tue Nov 23, 2010 6:32 pm
by aostad
Ok, the problem is solved by increasing the time from 120 sec to 3000 sec (5min);
I have raised an issue for not notifying the user by a message or pop up window, when the importing process fails for whatever reason. Right now the page just goes blank. Yo won't notice that all test cases are not imported, unless you compare the number of imported test cases with the source (exported test cases).