Many changes have been made to the Testlink API based on feedback. Please update your client API implementations to match these changes. The new API is available as a zip file or in the nightly builds.
API URL has moved to /lib/api/xmlrpc.php instead of /api/xmlrpc.php
5 additional methods are now available for testing
||gets a list of all the projects in Testlink|
|tl.getProjectTestPlans||gets the Test Plans for a specific project|
|tl.getTestCasesForTestSuite||lists test cases within a test suite and its child suites or just within a specific suite|
|tl.getTestCaseIDByName||returns the ID of a specific test case based on the name of the test case
|tl.createBuild||creates a new build associated with a specific test plan|
Updated client implementations and additional methods will be coming shortly
Please keep testing and sending feedback.
The Testlink API is finally ready for testing! The code should work with cvs head (1.8) and the 1.7 branch. It will show up in the nightly builds (only in head). As this is a beta it is not yet recommended you install this on a production system. Please file any bugs you find to mantis. Sample client implementations are also available in PHP, Ruby, Python, and Java. There is also API Documentation available. Currently only TC execution results can be reported through the API, and other methods are coming soon. If there are other methods you’d like to see please comment.
- Backup your original database or create a copy for testing
- Download the api code in one of the following ways
- Execute api_sql_changes.sql against your db inside the /api directory
- Insert a row into the api_developer_keys table with a developer_key for testingExample:
INSERT INTO `api_developer_keys` ( `id` , `developer_key` , `user_id` ) VALUES ( NULL , 'testKey', '1' );
- See one of the client implementation samples to see how to interact with the API.
As requested, tarballs for the 1.7 branch are now available.
Please download the final 1.7.0 release:
This is final and stable version. There is several minor fixes against RC3 (see changes log).
Download, install and enjoy!
New 1.7 functionality overview
# Test Case history/ versioning
# Unlimited structure of Test Specification
# Support for other databases (SQL standard, generalized DB interdace)
# Improved user management (editable)
# Revision of Standard terminology
# Enhanced reports
# XML import/export
# Custom fields for Test Cases
We have had many questions on how to install PEAR and Spreadsheet_Excel_Writer which are both now dependencies of Testlink. So here is some information on how to accomplish these tasks.
If you need to setup PEAR I have created a document for doing so on Windows. It is located at http://asiel.us/pear.php
Also here are the instructions I wrote for the INSTALL_NOTES as part of Testlink.
1. open a command prompt or terminal window
2. If php is not in your path cd to your php install directory (eg. c:\php5)
3. run “pear version” to make sure you have pear installed
3a. Download and run the go-pear script from http://pear.php.net/go-pear
3b. Read http://asiel.us/pear.php for detailed instructions on installing PEAR in windows
3b. If you need additional instructions go to http://pear.php.net/manual/en/installation.getting.php
4. run “pear install -a Spreadsheet_Excel_Writer-beta”
5. This should install the latest version of Spreadsheet_Excel_Writer and its dependencies
Please test the RC for Testlink 1.6.3.
This release will contain many minor bug fixes and several reporting enhancements as well as the latest version of fckeditor. If everyone could do some testing to verify everything is working as expected I’ll post this file to sourceforge as the 1.6.3 release.
Download it here
Please leave a comment describing your experience.