Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60091

Improvements to the built-in WS test client

XMLWordPrintable

    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • wip-MDL-60091-master
    • Hide

      Documentation on enabling WS: https://docs.moodle.org/33/en/Using_web_services

      1. Make sure the capabilities to use all webservice protocols are enabled in Authenticated users roles (webservice/***:use)
      2. Enable web services authentication plugin
      3. Enable Web services
      4. Enable all WS protocols
      5. Create a token for a user (admin or manager) - use mobile service or create a new one. Note: Some of the test functions aren't provided by the mobile web service so you may need to create a new external service for those.
      6. Open Site administration>Development>WS test client and execute each available function using both simple and token auth, try using different protocols.

      P.S. If MDL-60033 is not integrated yet, cherry-pick it for testing

      Show
      Documentation on enabling WS: https://docs.moodle.org/33/en/Using_web_services Make sure the capabilities to use all webservice protocols are enabled in Authenticated users roles (webservice/***:use) Enable web services authentication plugin Enable Web services Enable all WS protocols Create a token for a user (admin or manager) - use mobile service or create a new one. Note: Some of the test functions aren't provided by the mobile web service so you may need to create a new external service for those. Open Site administration>Development>WS test client and execute each available function using both simple and token auth, try using different protocols. P.S. If MDL-60033 is not integrated yet, cherry-pick it for testing

      This was initially part of MDL-60030 but since I'm not pushing that issue forward atm, I'll create a new issue for the test client only, I think it can be very useful.

      As part of this issue I change the naming of the testclient forms:
      was: WSFUNCTIONNAME_form
      now: WSFUNCTIONNAME_testclient_form

      There is already one naming conflict when the form that has nothing to do with testclient is displayed in the function selection popup. There is a WS function enrol_manual_enrol_users and there is a form in the same plugin enrol_manual_enrol_users_form that has nothing to do with WS test client (3.4dev only)

            marina Marina Glancy
            marina Marina Glancy
            Juan Leyva Juan Leyva
            Jake Dallimore Jake Dallimore
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.