Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Appendix B Installing and Testing Sample Application

Appendix B
This is a sample ActiveMatrix application (BookOrderTutorial.app) that is intended to be deployed on ActiveMatrix 3.x installations for use in testing the TIBCO Hawk ActiveMatrix Plug-in.
This application is built with the following:
Two Java Components:
and
Two Binding Services:
Each has one operation that is, orderBook and searchBook (respectively).
The BookOrderComponent invokes the BookSearchComponent with a Component reference.
The summary of monitorable binding services and references, component services and references is show below. (This detail is important to understand the monitoring results from the ActiveMatrix Service microagent).
ApplicationName: BookOrderTutorial.app
Bindings:
BookOrderServiceBinding
BookSearchServiceBinding
Component services and references:
BookOrderComponent:
Services
BookOrderService (Contract=BookOrderPT)
References
BookOrderReference (Contract=BookSearchPT)
BookSearchComponent:
Services
BookSearchService (Contract=BookSearchPT)
Setup Instructions
Prerequisites
Running installation of ActiveMatrix 3.2.
1.
Go to HKAM_ROOT/samples/amxproject.
2.
Edit the build.properties to set the TIBCO_HOME (root directory for ActiveMatrix installation).
3.
Edit the remote_props.properties to configure the adminURL and authentication settings for your Admin Server.
4.
Run the ANT project with the following command (replace $TIBCO_HOME with your installation path):
Testing
Prerequisites
soapUI (see soapui.org)
Follow these steps to test the soapUI project:
1.
TIBCO_HOME/hkam/1.2/samples/amxproject/BookOrderTutorial/soapui/AMX3BookOrderTutorial-soapui-project.xml
A load test is provided which exercises the BookOrderTutorial application previously deployed. This load test is called "orderBookLoadTest".
2.
You can now verify the service metrics using the ActiveMatrix Service microagent.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved