Testing Private Serverless Functions is not possible using the Scaleway console due to CORS limitations. Refer to the dedicated documentation for more information on how to secure and test a private function.
How to test a container
This page shows you how to execute Serverless Containers from the Scaleway console. The Test feature of a container allows you to run your code using a selection of methods to make sure it behaves as expected.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- Created a container
-
Click Containers in the Serverless section of the side menu. The containers page displays.
-
Click the relevant containers namespace. A list of your containers displays.
-
Click the name of the container you want to test.
-
Open the Test tab.
-
Select the method you want to use from the drop-down menu.
-
Enter the path to your container. Leave the default
/
value if the host of your container is not located in a specific folder. -
Click + Advanced options to add any required HTTP header or parameter to your container.
-
Click Run.
The Output section displays the response from your container and the status code.
If you encounter a message error while testing your container, refer to the dedicated troubleshooting for more information.