We can now enqueue some generated test data to the running application using our feed simulation, and view its output in Studio.
-
If your app is not now running, click the
button to start it.If Studio prompts for permission to switch from the Authoring perspective to the SB Test/Debug perspective, click
. -
In the Application Output view, make sure that the Stream option is set to (All Output Streams).
-
In the Feed Simulations view, select
firstapp-enum.sbfs
and click .Notice that the Application Input view displays generated tuples enqueued from your Feed Simulation. At the same time, the Application Output view begins displaying tuples on the two output streams.
-
Let the feed simulation run for five or ten seconds, then click
.Note that stopping the Feed Simulation does not stop the application.
-
Observe the results in the Application Input and Application Output views. (If necessary, resize the views so that you can see their contents clearly.)
-
In the Application Input view, notice that the list of trades value has entries that are both above and below the threshold of 10000 that was set in your Filter operator. For example:
-
In the Application Output View, select
BigTrades
from the Stream drop-down. Verify that the quantity value is always above 10000 for entries in the list.Tip
Click to select a row to display its field summary in the table below the list, as shown in the next figure.
-
In the Application Output View, select
AllTheRest
from the Stream drop-down. Verify that the quantity value is always below 10000 for entries in the list.
-
-
Click the F9.
button in the StreamBase toolbar, or pressWhen the application stops, Studio switches back to the SB Authoring perspective.