{% extends "basic.html" %} {% block title %}Function Test{% endblock %} {% block extra_content %}

Function Test

Go to {{ func_name }} overview

Timeout

Enter the number of seconds to sleep. If the sleep time exceeds the function's timeout, a timeout error will be returned.

Result will be displayed here

Scale to zero

This test checks if a function's runtime remains consistent when "Disable scale to zero" is enabled:

  1. Click "Check Runtime" to display the elapsed time since the function started.
  2. Wait 400 seconds without executing the function.
  3. Click "Check Runtime" again.
Result will be displayed here
0 second after last request

Environment variable/Secret

Displays the value corresponding to the key of the environment or secret variable set in the function. Keys not set will display an empty value.

Value will be displayed here

VPC Connection

You can test whether your function can access resources within a VPC network. Enter the host URL of a resource within the same VPC network as the function.

Result will be displayed here

IAM Service Account

Returns the IAM access token of the service account attached to the function. If token issuance fails, an error will be displayed.

Result will be displayed here

Secret Manager

Shows the result of fetching secrets from the specified secret group and secret name using the get_secret function.

Result will be displayed here
{% endblock %}