Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007921TestLinkBug Tracking System - JIRA Integrationpublic2017-04-11 16:072017-06-07 08:04
Assigned Tofman 
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version1.9.14 (2015 Q3) 
Fixed in Version 
Summary0007921: Testlink unusable: performance degradation caused by JIRA integration
DescriptionWhen we enable the JIRA Integration, every time we load a test case to be executed, it seems Testlink is asking for every test cases if there is JIRA issue associated, and it is very slow.
Additional InformationJIRA 6.1.4.
REST API integration
Testlink and JIRA are in a LAN
TagsNo tags attached.
Database (MySQL,Postgres,etc)To be confirmed
PHP Version
QA Team - Task Workflow StatusTBD
Attached Fileslog file icon 20170412_testlink.log [^] (125,446 bytes) 2017-04-18 15:28

- Relationships

-  Notes
fman (administrator)
2017-04-11 19:54

>> it seems Testlink is asking for every test cases
can you explain better this?

it's always good to install in a sandbox latest stable version, and play with it to understand if issue is still present.

if you enable JIRA integration, when you try to execute a test case and you have added jira issues to the test case, in order to display info on TestLink, request to JIRA are needed, nothing can be cached.
prgtns (reporter)
2017-04-12 11:49

When we enable the Issue Tracker integration and go to "Execute Tests", the time to load a Test Case is around 30 seconds, even if this Test Case has not JIRA tickets associated.
This means that loading time is 30 seconds for each Test Case, that is a big impact in our Test Plans execution.

We didn't find this issue in Changelog as solved in newer releases.
We found the following similar issue description at Testlink forum: [^]
fman (administrator)
2017-04-12 13:19

it's always good to install in a sandbox latest stable version, and play with it to understand if issue is still present.
prgtns (reporter)
2017-04-18 15:30

Please find attached the log where some warnings appeared.
We are going to install the latest stable version sandbox.
prgtns (reporter)
2017-05-16 16:17

We have installed a new instance with the lastest version 1.9.16 (Moka pot).

We configured the JIRA REST connection and check connection result is KO.

[17/May/16 15:41:24][WARNING][98en1ri35lk2a19a44988cerk3][GUI]
Undefined index: checkConnection - in /var/www/html/testlink/lib/issuetrackers/issueTrackerCommands.class.php - Line 72
        [17/May/16 15:41:24][WARNING][98en1ri35lk2a19a44988cerk3][GUI]
Missing argument 3 for jirarestInterface::__construct(), called in /var/www/html/testlink/lib/issuetrackers/issueTrackerCommands.class.php on line 268 and defined - in /var/www/html/testlink/lib/issuetrackerintegration/jirarestInterface.class.php - Line 34
        [17/May/16 15:41:24][WARNING][98en1ri35lk2a19a44988cerk3][GUI]
Undefined variable: name - in /var/www/html/testlink/lib/issuetrackerintegration/jirarestInterface.class.php - Line 36

We tried the solution described on the following link but it is still not working: [^]

    388 /*if(property_exists($opt, 'reporter'))
    389 {
    390 $issue['fields']['reporter'] = array('name' => (string)$opt->reporter);
    391 }
    393 if(property_exists($opt, 'issueType'))
    394 {
    395 $issue['fields']['issuetype'] = array('id' => $opt->issueType);
    396 }*/
fman (administrator)
2017-05-16 18:00

please give a look to 0007929, may be you can contact reporter
prgtns (reporter)
2017-06-07 07:54

The cause was a communication's issue.
Ticket can be closed.

- Issue History
Date Modified Username Field Change
2017-04-11 16:07 prgtns New Issue
2017-04-11 19:50 fman QA Team - Task Workflow Status => TBD
2017-04-11 19:50 fman View Status private => public
2017-04-11 19:54 fman Note Added: 0026265
2017-04-12 11:49 prgtns Note Added: 0026270
2017-04-12 13:19 fman Note Added: 0026271
2017-04-16 09:38 fman Assigned To => fman
2017-04-16 09:38 fman Status new => feedback
2017-04-18 15:28 prgtns File Added: 20170412_testlink.log
2017-04-18 15:30 prgtns Note Added: 0026284
2017-04-18 15:30 prgtns Status feedback => assigned
2017-05-16 16:17 prgtns Note Added: 0026370
2017-05-16 18:00 fman Note Added: 0026371
2017-06-07 07:54 prgtns Note Added: 0026452
2017-06-07 08:04 fman Status assigned => closed
2017-06-07 08:04 fman Resolution open => no change required

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker