Note: The Scenario Loader is experimental in nature, and is therefore not fully supported. Use accordingly.
- Some charts do not get populated.
The Scenario Loader populates various IBM MobileFirst Analytics Console charts and reports with dummy data. The data is stored in the Elasticsearch data store, safely segregated from your existing test or production data.
The loaded data is synthetic in nature, injected directly into the data store. It is not the result of any actual analytics data created by the client or server. The purpose of the data is to enable the user to better view the nature of various reports and charts as displayed in the UI. Therefore the data should not be used for testing purposes.
- Before you start
- Connecting to the Scenario Loader
- Configuring the data loading
- Loading and deleting the data
- Viewing the populated charts and tables
- Disabling the debug mode
Before you start
The Scenario Loader is packaged together with the MobileFirst Analytics Console. Make sure your Analytics Console is running and accessible before connecting to the Scenario Loader.
Connecting to the Scenario Loader
To enable the Scenario Loader, set either the JVM argument
-DwlDevEnv=true, or the environment variable
Access the Scenario Loader in your browser using the console URL:
<console-path>is the JNDI property value defined in the
mfp-server/usr/servers/mfp/server.xmlfile, for example:
<jndiEntry jndiName="mfp/mfp.analytics.console.url" value='"http://localhost:9080/analytics/console"'/>
The Scenario Loader page, along with the Analytics Console navigation bar, are displayed. The Scenario Loader remains inaccessible from the navigation bar.
Configuring the data loading
In the Testing Configuration section various settings are available to control the nature (Basic tab) and volume (Capacity Planning tab) of the generated data. Make sure the Days of history setting is set to at least 30 days, in order to load sufficient data.
All available information about these settings is provided in the Testing Configuration section.
Click on the Administration icon and select the Settings tab. In the Advanced section make sure that the Default tenant value is set to
Loading and deleting the data
To load the data, click the Start Scenario Loading button in the Scenario Operations section.
To delete the data, click the Delete Now button in the Testing Configuration section.
NB: Read the disclaimer about data creation and deletion in the Scenario Operations section.
Viewing the populated charts and tables
Once the data is loaded, many, but not all, of the charts and tables available in the Analytics Console are populated.
From the Analytics Console navigation bar, check the various pages and tabs to view the populated charts and tables.
Disabling the debug mode
In order to work with real data after working in debug mode and synthetic data:
- Delete the data by clicking the Delete Now button in the Testing Configuration section.
- In Settings → Advanced section make sure that the Default tenant value is set to
- For the variable that was set to true, set to false (the JVM argument
-DwlDevEnv=false, or the environment variable
- Restart the MobileFirst Analytics Server.
Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.