SourceForge Logo WebPAJ Logo
WebPAJ Quick Link Bar 
 
Installing
Before you can run WebPAJ your system needs the following:
  • Java Development Kit 1.2.2 or better (It may work with earlier versions, but I haven't personally tested any other JDK version)
  • Apache Xerces Java Parser- Xerces provides world-class XML parsing and generation. Visit the homepage at http://xml.apache.org/xerces-j/index.html. Download and follow the installation directions.
  • If you'd like to compile the source and build WebPAJ yourself (note: the binaries are also available) you'll need to download Apache's Ant. Ant is a Java based build tool. Its XML based and runs on multiple operating systems. Visit the homepage at http://jakarta.apache.org/ant/index.html. Download and follow the installation directions.
After your system meets these requirements proceed to the Download section. Download and unzip the packages into a directory of your choice. This directory will become <WebPAJ Home>. That's all. You may desire to add <WebPAJ Home>/bin/webpaj.jar to your classpath but this isn't neccesary. You can run WebPAJ straight from the jar file (see Running).

Configuring a serialized WebPAJBean Object
(NOTE: This section is a little outdated and is based on old text configuration. The newest version of WebPAJ is all XML based. This section will be updated shortly but should still serve as an adequate configuration guide.)

First in your favorite text editing program open
  <WebPAJHome>/config/sample.txt
  or
  create a new file

Your file should look similar to the two samples in <WebPAJHome>/config directory (note: if it doesn't it won't work)

Definitions of Configuration variables
  • Fetch URL: <The URL to test>
  • File Name: <The file to store output in>
  • Number of Clients: <Expected number of clients>
  • Virtual Users: <Number of Simulated users per client>
  • Run Time: <The total run time of test (in milliseconds)>
  • Server: <True or False, whether or not to run in server mode>
  • Server Port: <Port to listen on or connect too>
  • Server URL: <Server URL location or IP addrss>
Fetch URL, File name, Number of Clients, Virtual Users, Run Time, are only needed by process running in Server mode. These fields can be null for client configuration files. Server URL is only needed by client process and can be null in server mode. Server, and Server Port cannot be null for server or client. The Server Port value has to match and can't be a private port number.

Then at your command prompt run
  % java -c <WebPAJHome>/bin/WebPAJ.jar webpajConfig <fileName>

This program will create a Configuration Object in the same directory as the Configuration File, with the an extension of .ser

Running WebPAJ
- After configuring a WebPAJBean Object at your command prompt
  % java -native -jar <WebPAJHome>/bin/WebPAJ.jar <ConifgObjectName>

(Note: there needs to be one current server process and at least one client process. View the section NOTE ON THREADS for information on the Thread issues of this program)

 
WebPAJ Quick Link Bar 
 
All copyrighted materials are copyright their respective owners.
Everything else is copyright © 2000 Donaudy Munch Interactive.