Importing big files in 1.9 RC

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
aostad
Member of TestLink Community
Posts: 183
Joined: Wed Apr 01, 2009 8:32 pm

Importing big files in 1.9 RC

Post 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
raashoka
TestLink user
Posts: 1
Joined: Sun Nov 21, 2010 5:56 pm

Re: Importing big files in 1.9 RC

Post 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
aostad
Member of TestLink Community
Posts: 183
Joined: Wed Apr 01, 2009 8:32 pm

Re: Importing big files in 1.9 RC

Post 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
aostad
Member of TestLink Community
Posts: 183
Joined: Wed Apr 01, 2009 8:32 pm

Re: Importing big files in 1.9 RC

Post 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).
Post Reply