# Testing an UbiFunction

To test an UbiFunction you can click on the *Save & Run Test* button:

<figure><img src="https://884329393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhzNRg0B4ECiNXc093G%2Fuploads%2FAPnyTNuWGNF507Gvd7Yg%2Fimage.png?alt=media&#x26;token=2e3cc220-1a83-4e00-b006-141a2292a356" alt=""><figcaption></figcaption></figure>

This will pop-up a modal in which you can input a JSON object for testing the UbiFunction. Upon clicking the *SAVE* button, the UbiFunction will be executed with the JSON object passed.&#x20;

<figure><img src="https://884329393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhzNRg0B4ECiNXc093G%2Fuploads%2F51HMOP9tleXdTINQWCuO%2Fimage.png?alt=media&#x26;token=d976cb72-6bc7-4059-94ff-59ffb8a24d0b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If the UbiFunction doesn't require parameters, pass an empty object.
{% endhint %}
