History | Log In     View a printable version of the current page.  
We are currently focused especially on Moodle 2.0, Moodle 1.9.x bugs and Moodle 1.9.x testing.    Confused? Lost? Please read this introduction to the Tracker.
Issue Details (XML | Word | Printable)

Key: MDL-16805
Type: Sub-task Sub-task
Status: Reopened Reopened
Priority: Major Major
Assignee: Tusefomal
Reporter: Ludo ( Marc Alier)
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Moodle
MDL-12886

Create a testing application for this API

Created: 06/Oct/08 11:04 PM   Updated: 06/Nov/08 07:29 PM
Component/s: Administration
Affects Version/s: 2.0, 1.9.2
Fix Version/s: None

Participants: Ludo ( Marc Alier) and Tusefomal
Security Level: None


 Description  « Hide
The idea is that this set of functionalities need to be accompanied of a test run application. This simpletest application will be usefull for testing purposes and as sample documentation for developers that whish to use them.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Tusefomal - 22/Oct/08 08:07 PM
There's a test client in the CVS:

http://cvs.moodle.org/contrib/patches/dfws/client/clientrest/

It work just copying directory into public apache dir, edit the "config_rest.php" and set $CFG->serveurl to you moodle webservice rest connector url.

For example, if you moodle url is:

http://localhost/moodle

the $CFG->serverurl must be:

$CFG->serverurl = 'http://localhost/moodle/webservice/inout/rest/inout.php';

That's all!

For daredevils only!

We will keep this example updated to test every API functionality.

Tusefomal - 24/Oct/08 01:47 AM
Testing REST application is implemented, we will improve functionalities when REST webservice connector implements more wrappers