From Fedora Project Wiki

mNo edit summary
mNo edit summary
 
Line 12: Line 12:
# Step #2 starts the service, check with <code>ps ax</code>, try <code>curl http://localhost:8080</code>
# Step #2 starts the service, check with <code>ps ax</code>, try <code>curl http://localhost:8080</code>
# Step #3 return info about the service being in '''active (running)''' state
# Step #3 return info about the service being in '''active (running)''' state
# Check that the service is running as <code>jboss-as</code> user
# Step #4 stops the service, check with <code>ps ax</code>. There must not be any java process left.
# Step #4 stops the service, check with <code>ps ax</code>. There must not be any java process left.
# Step #5 return info about the service being in '''inactive (dead)''' state
# Step #5 return info about the service being in '''inactive (dead)''' state
}}
}}
[[Category:JBoss_AS_test_cases]]
[[Category:JBoss_AS_test_cases]]

Latest revision as of 09:17, 17 April 2012

Description

Testing JBoss AS installation procedure and basic management tasks

Setup

Don't forget to install latest updates!

How to test

  1. yum install jboss-as --enablerepo=updates-testing
  2. systemctl start jboss-as.service
  3. systemctl status jboss-as.service
  4. systemctl stop jboss-as.service
  5. systemctl status jboss-as.service

Expected Results

  1. Step #1 completes without error
  2. Step #2 starts the service, check with ps ax, try curl http://localhost:8080
  3. Step #3 return info about the service being in active (running) state
  4. Check that the service is running as jboss-as user
  5. Step #4 stops the service, check with ps ax. There must not be any java process left.
  6. Step #5 return info about the service being in inactive (dead) state