Ubidots provides an environment different from the main account that allows you to perform tests for pre and post-deployment tasks of devices, as well as a way of testing new features. In this test environment you can use the following modules:
Abbreviations
CRUD: Create, Read/View, Update, Delete
Requirements
Active Ubidots Industrial account or above.
Table of Content
Available Entities
Enable the test environment
Deactivate the test environment
1. Available Entities
Below is the list of the available entities in the test environment.
| Available Entities |
Devices and Variables | ✓ |
Device types | ✓ |
Device groups | ✓ |
UbiFunctions | ✓ |
Plugins | ✓ |
Dashboards and widgets | ✓ |
Events | ✓ |
Analytics | ✓ |
Users | ✓ |
Roles | ✓ |
Organizations | ✓ |
Apps | ✓ |
Admin Users | ✗ |
My Profile → My account | ✓ |
My Profile → API credentials | ✓ |
My Profile → Plans and Billing | ✗ |
My Profile → Usage | ✓ |
My Profile → Email configuration | ✗ |
Please note that each entity is independent of the main account so the changes made while in this environment are only visible therein.
2. Enable the test environment
Step 1: Go to My Profile in your account and select My Account.
Step 2: In the Preferences section edit the option Enable test environment and select the option Yes
Step 3: Go to your profile menu and click on Go to test account.
Step 4: A dialog will appear with the warning that your main session will be closed, click yes to continue . Once the testing environment is opened, you will be logged in as a new user with the username testing-<username>
. A red banner with the “TEST ENVIRONMENT” message will be displayed to remind you that you’re under the test environment account.
Once you have entered the test environment, you can create and test all the features without affecting your main account. You can also interact with all entities in the test environment, that is, CRUD operations as well as sending data, through the HTTP API, using either Devices Tokens, Organizational Tokens, or Account Tokens. Tokens from the test environment start with the prefix TSFF
, unlike the main account where they start with BBFF
.
IMPORTANT NOTE: when the test environment is active, all Admin users, the account owner included, will access directly to this environment until this functionality is deactivated.
3. Deactivate the test environment
Step 1: Go to My Profile in your account and select My Account.
Step 2: In the Preferences section edit the option Enable test environment and select the option No. Changes will be saved so you can resume in he future in the exact same spot you left.
You can deactivate the test environment at any time just bear in mind that all active sessions will be terminated.