This topic describes how to test a function.


A function is created and saved. For more information, see Create and manage functions.


You can test a function only as a workspace owner or a RAM user to which the Workspace Manager, Development, or O&M role is assigned. For more information, see Add a RAM user to a workspace as a member and assign roles to the member.

Test a function

  1. In the left-side navigation pane of the Service Development page, find the function that you want to test and double-click the name of the function.
  2. On the configuration tab of the function, click Test in the upper-right corner.
  3. In the Function Test dialog box, specify Input parameters and click OK.
    You can view the running status on the Execution results tab at the bottom. If the test fails, perform modifications based on the error message and test the function again.