blob: b39db8a8555821576cffb6cdac837fb0c8c85088 [file] [log] [blame]
Title: Section XII - Instructions to regression test EnMasse Policy server
NavPrev: section-XI.html
NavPrevText: Section XI - Instructions to install EnMasse Policy Server Demo
NavUp: windows.html
NavUpText: Quickstart Windows - Table of contents
NavNext: section-XIII.html
NavNextText: Section XIII - misc info about other utilities
Notice: Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
## Section XII - Instructions to regression test EnMasse Policy server on target machine (optional)
### Step 1
Edit file named 'build.properties' and enable REST protocol here:
enable.mgr.impl.rest=true
Accept the defaults for other HTTP parameters in build.properties:
http.user=demouser4
http.pw=gX9JbCTxJW5RiH+otQEX0Ja0RIAoPBQf
http.host=localhost
http.port=8080
Should look like the following:
<CENTER>
<IMG src="../../images/Screenshot41-enmasse-http-settings.png" alt="Screenshot" width="766" height="88"/>
</CENTER>
### Step 2
Save and exit the text file editor
### Step 3
From FORTRESS_HOME root folder, enter the following command from a system prompt:
b test-full
wrong picture...
<CENTER>
<IMG src="../../images/Screenshot10-ant-test-init.png" alt="Screenshot"/>
</CENTER>
Note: The EnMasse regression tests will run for around 20 minutes.
### Step 4
Verify these tests ran with no ERRORS.
BUILD SUCCESSFUL
<CENTER>
<IMG src="../../images/Screenshot43-ant-enmasse-test-success.png" alt="Screenshot"/>
</CENTER>
### Step 5
This regression test may be rerun as often as necessary:
b test-full
Note 1 : WARNING messages in test output are good as these are negative tests in action :
<CENTER>
<IMG src="../../images/Screenshot12-junit-warn.png" alt="Screenshot" width="766" height="34"/>
</CENTER>
Note 2: If you made it this far without junit or ant ERRORS, EnMasse is installed and certified to run on your machine.
Note 3: These tests load tens of thousands of records into your directory. The 'test-full' target may be re-run as often as necessary. After regressions testing have completed, you may run the 'init-slapd' target to remove all test data from the directory.