IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > Create monitor models > Defining the visual model

Testing diagrams

After you have added shape sets and actions to your Scalable Vector Graphics (SVG) diagrams, you can add sample data to test the diagrams in the Monitor Model editor. You can also check the return values of visual model expressions to make sure that they are working as you intended.

To see how the diagram will work in the dashboards, complete the following steps:


Procedure

  1. In the Sample Metric Values table or Sample KPI Values table, type sample values for each of the metrics or key performance indicators used in expressions referenced in the diagram. Any metrics or KPIs used in the expressions for shape set actions are shown in the table.

  2. After adding values, click Test to see the results. All expressions are evaluated, using the sample values that you provided, and an updated diagram is displayed. The return values for the expressions are also shown. You can check the return values to ensure that you are getting the correct results.

    Expressions containing user-defined XML Path Language (XPath) functions might not evaluate as expected if the function requires database access, needs to run in a Java™ 5 Platform, Enterprise Edition (Java EE) container, or has dependencies on other Java archive (JAR) files.


Results

The diagram that is displayed operates in the same way as it will in the dashboards. You can test any hyperlinks by clicking a shape set to navigate to an SVG diagram associated with another context. (Use the back and forward arrows to move between hyperlinked diagrams.)

Defining the visual model