XML Import - Does not import all test cases the file

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

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
pepamdf
TestLink user
Posts: 7
Joined: Sun May 12, 2013 8:30 am

XML Import - Does not import all test cases the file

Post by pepamdf »

In Test Specification:
1- Import the xml file
2- The file has 140kb
3- Contains 50 test cases
ERROR: Only imports 33 test cases

How to import all test cases at once?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: XML Import - Does not import all test cases the file

Post by fman »

hi
1. what testlink version are you using?
2. the xml you are using is needed to try to reproduce
pepamdf
TestLink user
Posts: 7
Joined: Sun May 12, 2013 8:30 am

Re: XML Import - Does not import all test cases the file

Post by pepamdf »

fman wrote:hi
1. what testlink version are you using?
2. the xml you are using is needed to try to reproduce
1. Testlink 1.9.19
2. URL XML:https://mega.nz/#!ru5z2YAK!gb5YOgZ60ohS ... bruLIvkksQ
3. Sometimes displays the error below but not always
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\testlink-1.9.19\lib\functions\logger.class.php on line 1189
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: XML Import - Does not import all test cases the file

Post by fman »

test done on my local installation on laptop => 48 test cases imported
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: XML Import - Does not import all test cases the file

Post by fman »

I've one test case with name='', after removing it I've uploaded 50 test cases without issues
pepamdf
TestLink user
Posts: 7
Joined: Sun May 12, 2013 8:30 am

Re: XML Import - Does not import all test cases the file

Post by pepamdf »

fman wrote:I've one test case with name='', after removing it I've uploaded 50 test cases without issues
Removed the test case with name = '' and the XML was imported.
Thank you

How do I increase the maximum execution time to not exceed 30 seconds?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: XML Import - Does not import all test cases the file

Post by fman »

for this kind of settings please give a look to php site for documentation
mkelly19
TestLink user
Posts: 5
Joined: Mon Dec 23, 2019 3:32 pm

Re: XML Import - Does not import all test cases the file

Post by mkelly19 »

I found the execution timer here:
php.ini
max_execution_time=300 default was 120
Post Reply