Hi, I am new to testlink and bugzilla and need help.
I have downloaded the testlink package which comes along with xampp, bugzilla, mantis, ...
I already have xampp installed so i just copy/paste testlink and bugzilla folder to my htdocs. Going through the following instructions, still not able to integreate both:
Bugzilla URL http://localhost/bugzilla
Test Link URL http://localhost/testlink
Bugzilla Database name: bugs (will it be created automatically?)
MySQL user/password to access Mantis DB: bugzilla_user (will it be created automatically?)
Edit file /cfg/bugzilla.cfg.php. :
define('BUG_TRACK_DB_HOST', 'localhost');
define('BUG_TRACK_DB_NAME', 'bugs');
define('BUG_TRACK_DB_USER', 'bugzilla_user');
define('BUG_TRACK_DB_PASS', 'bugzilla');
/** link to the bugtracking system, for viewing bugs */
define('BUG_TRACK_HREF', "http://localhost/bugzilla/show_bug.cgi?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/bugzilla/");
On custom_config.inc.php create line:
$g_interface_bugs='BUGZILLA';
Well, just followed step by step the instructions in testlink how-to-do doc. More, I dont know whether I have to install bugzilla in any way b4 doing all this or just copy/paste it in the same htdoc with testlink is good enough.
Would appreciate swift responses.
Nsk
Bugzilla & Testlink Integration
Moderators: Amaradana, TurboPT, TL Developers
Re: Bugzilla & Testlink Integration
Bugzilla is a web application for bug tracking. It is written in Perl, runs on a webserver and stores its data in a database.
To integrate Testlink with Bugzilla you must have a running Testlink installation and a running Bugzilla installation. If you don't have a working Bugzilla you obviously cannot integrate it into anything.
* So, first setup Testlink and make sure it works on its own.
* Then setup Bugzilla and make sure it works on its own. If you don't know how to install Bugzilla have a look at the Bugzilla website or search for tutorials around the web. Also the Testlink XAMPP package already includes a working Bugzilla.
* Then follow the integration steps by modifying cfg/bugzilla.cfg.php:
...and custom_config.inc.php:
To integrate Testlink with Bugzilla you must have a running Testlink installation and a running Bugzilla installation. If you don't have a working Bugzilla you obviously cannot integrate it into anything.
* So, first setup Testlink and make sure it works on its own.
* Then setup Bugzilla and make sure it works on its own. If you don't know how to install Bugzilla have a look at the Bugzilla website or search for tutorials around the web. Also the Testlink XAMPP package already includes a working Bugzilla.
* Then follow the integration steps by modifying cfg/bugzilla.cfg.php:
Code: Select all
/** DB host to use when connecting to the Bugzilla db */
define('BUG_TRACK_DB_HOST', 'name of your mysql server');
/** name of the database that contains the Bugzilla tables */
define('BUG_TRACK_DB_NAME', 'name of your bugzilla database');
/** charset of the database that contains the Bugzilla tables */
define('BUG_TRACK_DB_CHARSET', 'UTF-8');
/** DB type used for the bugtracking db */
define('BUG_TRACK_DB_TYPE','mysql');
/** DB user and password to use for connecting to the Bugzilla db */
define('BUG_TRACK_DB_USER', 'mysql account who has access to the bugzilla database');
define('BUG_TRACK_DB_PASS', 'password of this account');
/** link of the web server */
define('BUG_TRACK_HREF', "http://yourwebserver/cgi-bin/bugzilla/show_bug.cgi?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://yourwebserver/cgi-bin/bugzilla/enter_bug.cgi");
Code: Select all
$g_interface_bugs='BUGZILLA';
Re: Bugzilla & Testlink Integration
Thanks alot for your reply.
Well, seems like I am having a hard time installing bugzilla then. I want to install bugzilla from the one included in testlink package 1.8. I already have perl installed and activated by default in xampp. No idea on how to make it work.
Can help with bugzilla?
nsk
Well, seems like I am having a hard time installing bugzilla then. I want to install bugzilla from the one included in testlink package 1.8. I already have perl installed and activated by default in xampp. No idea on how to make it work.
Can help with bugzilla?
nsk
Re: Bugzilla & Testlink Integration
I have tried to do integrate testlink with bugzilla on my friends machine (he has bugzilla and testlink both installed and working previously) and I managed to see the bug icon on execution of a failed test case. BUT, on click that icon, it throws the following error:
Fatal error: Call to a member function getEnterBugURL() on a non-object in .../htdocs/testlink/lib/execute/bugAdd.php on line 42
Can anyone help?
nsk
Fatal error: Call to a member function getEnterBugURL() on a non-object in .../htdocs/testlink/lib/execute/bugAdd.php on line 42
Can anyone help?
nsk