From Fedora Project Wiki
m (Created page with "{{QA/Test_Case |description=Testing basic management tasks like getting info about deployments |setup= # Finish Add management user t...") |
m (moved QA:Testcase JBoss AS Execute basic management tasks to QA:Testcase JBoss AS Execute readonly management tasks) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
# Finish [[QA:Testcase_JBoss_AS_Add_management_user|Add management user]] test case | # Finish [[QA:Testcase_JBoss_AS_Add_management_user|Add management user]] test case | ||
|actions= | |actions= | ||
# | # Become root | ||
# Start JBoss AS service, type: <code>systemctl start jboss-as.service</code> | # Start JBoss AS service, type: <code>systemctl start jboss-as.service</code> | ||
# Drop root privileges and become regular user | # Drop root privileges and become regular user |
Latest revision as of 12:53, 14 April 2012
Description
Testing basic management tasks like getting info about deployments
Setup
- Finish Add management user test case
How to test
- Become root
- Start JBoss AS service, type:
systemctl start jboss-as.service
- Drop root privileges and become regular user
- Start JBoss AS CLI, type:
jboss-cli
- Connect to the local server, type:
connect
- Authenticate as a user created in Add management user test case
- Get basic system properties, type:
/core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
- List available subsystems:
/:read-children-names(child-type=subsystem)
- Read interface information, type:
/interface=public:read-resource(include-runtime=true)
- Read the IP of the interface the server is bound to, type:
/interface=public:read-attribute(name=resolved-address)
Expected Results
- You should be able to connect and authenticate
- Step 7 should return various properties
- Step 8 should list available subsystems (for current state see below)
- Step 9 should list information about the interface
- Step 10 should return
0.0.0.0
as the address we're bound to
Available subsystems
{ "outcome" => "success", "result" => [ "datasources", "deployment-scanner", "ee", "ejb3", "infinispan", "jca", "jmx", "jpa", "logging", "naming", "remoting", "resource-adapters", "security", "threads", "transactions", "web", "weld" ] }