Function Test
Go to overviewTimeout
Enter the number of seconds to sleep. If the sleep time exceeds the function's timeout, a timeout error will be returned.
Scale to zero
This test checks if a function's runtime remains consistent when "Disable scale to zero" is enabled:
- Click "Check Runtime" to display the elapsed time since the function started.
- Wait 400 seconds without executing the function.
- Click "Check Runtime" again.
- If "Disable scale to zero" is Yes, the time should continue from the last check, indicating the function wasn't scaled down.
- If No, the time should reset to 0, indicating the function was scaled down and restarted.
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.
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.
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.
Secret Manager
Shows the result of fetching secrets from the specified secret group and secret name using the get_secret function.