From Fedora Project Wiki


Testing basic management tasks like getting info about deployments


  1. Finish Add management user test case

How to test

  1. Become root
  2. Start JBoss AS service, type: systemctl start jboss-as.service
  3. Drop root privileges and become regular user
  4. Start JBoss AS CLI, type: jboss-cli
  5. Connect to the local server, type: connect
  6. Authenticate as a user created in Add management user test case
  7. Get basic system properties, type: /core-service=platform-mbean/type=runtime:read-attribute(name=system-properties)
  8. List available subsystems: /:read-children-names(child-type=subsystem)
  9. Read interface information, type: /interface=public:read-resource(include-runtime=true)
  10. Read the IP of the interface the server is bound to, type: /interface=public:read-attribute(name=resolved-address)

Expected Results

  1. You should be able to connect and authenticate
  2. Step 7 should return various properties
  3. Step 8 should list available subsystems (for current state see below)
  4. Step 9 should list information about the interface
  5. Step 10 should return as the address we're bound to

Available subsystems

    "outcome" => "success",
    "result" => [