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
yum install jboss-as --enablerepo=updates-testing
systemctl start jboss-as.service
systemctl status jboss-as.service
systemctl stop jboss-as.service
systemctl status jboss-as.service
Expected Results
- Step #1 completes without error
- Step #2 starts the service, check with
ps ax
, trycurl http://localhost:8080
- Step #3 return info about the service being in active (running) state
- Check that the service is running as
jboss-as
user - Step #4 stops the service, check with
ps ax
. There must not be any java process left. - Step #5 return info about the service being in inactive (dead) state