From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|setup= | |setup= | ||
# Boot into the machine/VM you wish to test. | # Boot into the machine/VM you wish to test. | ||
# Install {{command|thermstat-0.6.0-12.fc19}} and {{command|thermstat-webapp-0.6.0-12.fc19}} via {{command|yum install thermostat thermostat-webapp}}. | # Install {{command|thermstat-0.6.0-12.fc19}} and {{command|thermstat-webapp-0.6.0-12.fc19}} via: {{command|yum install thermostat thermostat-webapp}}. | ||
|actions= | |actions= | ||
# Start thermostat storage: {{command|thermostat storage --start &}} | # Start thermostat storage: {{command|thermostat storage --start &}} |
Revision as of 15:19, 18 March 2013
Description
This test case tests whether thermostat agent/gui can be used with web storage (no https setup required).
Setup
- Boot into the machine/VM you wish to test.
- Install
thermstat-0.6.0-12.fc19
andthermstat-webapp-0.6.0-12.fc19
via:yum install thermostat thermostat-webapp
.
How to test
- Start thermostat storage:
thermostat storage --start &
- Start web storage webapp via the tomcat service:
sudo systemctl start tomcat.service
- Make sure that tomcat is running. You can visit http://127.0.0.1:8080 which should show the tomcat start page.
- Start the thermostat agent, connecting to webstorage:
thermostat agent -d http://127.0.0.1:8080/thermostat/storage -u agent-tester -p tester
- Start thermostat swing client:
thermostat gui
- Change client preferences in order to connect to web storage. Edit => Client Preferences. Enter
http://127.0.0.1:8080/thermostat/storage
as "Storage Url", useclient-tester
as "User Name" andtester
as "Password". Check "Save Entitlements". - Click OK and close the swing client.
- Start the swing client again:
thermostat gui
Expected Results
- Agent and client should be able to connect fine to http:// URLs. No WARNING messages should appear and no exceptions should be thrown. You can check that at least one agent is listed via: "View" => "View all agents...".