Before running the JBoss EAP 5 benchmark, the target machine must meet the following requirements.
- JBOSS_HOME environment variable properly set
- JAVA_HOME environment variable properly set
- JBoss server should be started prior to testing
NOTE: By default, the OVAL content will test the production server profile (use of the production profile is a requirement for JBoss Common Criteria compliance). To change the profile, perform the following actions:
- Edit the eap5-oval.xml file and locate the <constant_variable id="oval:com.redhat.eap5.scap:var:900122"> element. Update the <value> element with the case-sensitive name of the server profile you wish to test.
- Perform the same edit on the eap5-cpe-oval.xml file (the id attribute will be slightly different: 800122).