Summit Application Setup
This document explains how to install the Summit Application, and a description
of the scenario used for testing. It is assumed that you are familiar with configuring
Forms.
Setup the Development Environment
- Expand the ZIP file. This document uses C:\summit.
- Create a user called SUMMIT in your database:
SQL> connect system/manager
SQL> create user summit identified by summit;
SQL> grant resource, connect to summit;
- From the command line, import the Summit data:
imp userid=summit/summit@<connect_string>
file=summit.dmp full=y
- Put C:\summit in the FORMS60_PATH. For Windows, this is often set in the
Registry.
- Compile the application. The file GEN.BAT will generate the files under
Microsoft Windows.
Setup the Runtime Environment
- Add the following virtual directory to your web server configuration files.
This example is for Apache and can be placed in HTTPD.CONF.
#
# Summit Application
#
Alias /summit/ "C:\summit/"
- If you are using Forms 6.0.8.17 (patchset 8) or above, you can simply add
the following to your FORMSWEB.CFG file, and go to step 6. Otherwise go to
step 3.
[summit]
IE=JInitiator
archive_jini=f60all_jinit.jar,/summit/RoundedButton.class
userid=summit/summit@<connect_string>
form=customers
pageTitle=Summit
splashScreen=no
lookAndFeel=oracle
separateFrame=false
width=994
height=582
serverapp=/summit/summit_reg
envFile=summit.env
Don't forget to replace <connect_string> with your connect string.
Copy C:\summit\summit.env to the same location as your FORMSWEB.CFG file.
- Add /summit/RoundedButton.class
to your archive parameter.
- Modify your registry file so that Forms can find the icons for the Summit
application:
default.icons.iconpath=/summit/web/
- Add C:\summit to your FORMS60_PATH.
- Run the Form!
Workload Scenario
The following two scenarios describe the workloads used during scalability
testing.
Data Entry
- Locate the sales rep in the navigator tree of the customers.fmx form.
- Choose different ordering of the customers by clicking on the name and phone
button in the M/R-block.
- Choose one customer in the navigator tree.
- Verify address and phone number of the customer and quickly click through
the other tabs of the customer detail block.
- Double click on the customer to go to the ORDER.fmx form.
- Scroll through the first five orders using the cursor key.
- Press the "create record" key (CTRL-DOWN).
- Insert a new order.
- Insert a new item for this order, choosing it through the LOV on the product
id item.
- Verify, that the product is on stock by clicking on the STOCK button and
press EXECUTE QUERY key (CTRL-F11). Then close the STOCK window immediately.
- Do the same for three more items.
- Press the SAVE iconic button to save the order in the database.
- Now delete all the items, press the save key (CTRL-S), delete the order
and press the save key again. (This is required so that we do not generate
millions of orders during the performance tests).
- Now enter a new order with only three items following the same steps as
above.
- Delete this order as well.
- Exit the order form.
The scenario takes approximately 10 minutes. If an order entry is completed
faster, wait until the 10 minutes were completed. This was done 3 times, so
that the resulting script had a duration of 30 minutes.
Query
- Look for a sales person in the navigator tree.
- Order his customers using the buttons in the customer M/R block.
- Choose a customer in the navigator.
- Examine the customer detail information on each tab-folder.
- Do the above operation for 5 minutes with plenty time for reading through
the information on the customer tab.
- After 5 minutes double click on a customer node in the navigator tree.
- For 5 minutes use different queries to select orders and scroll through
the result sets.
- Take time to read the order and item information.
- Exit the order form.
The above steps were performed for 30 minutes.