Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elexx/swazam

Software Architecture Project - Technical University of Vienna
https://github.com/elexx/swazam

Last synced: 6 days ago
JSON representation

Software Architecture Project - Technical University of Vienna

Awesome Lists containing this project

README

        

README

Necessary tools for running the TestSuite: bash, screen, Java SE 7, Maven (version 2.2.1 at least)

1. TestSuite

*) Please copy your peer mp3 files to Swazam/Testsuite/data//*.mp3
where PeerX is the folder that contains the music database for peer X.

*) Please copy the mp3 snippets for the client's search to Swazam/Testsuite/data/Client/*.mp3

*) In terminal: change to Swazam/Testsuite and execute ./test.sh
The TestSuite starts 5 peers, the server and a client and adds mp3s to the peers directories. The TestSuite will perform several checks beforehand and print messages if any preconditions are not met.

*) The TestSuite halts after executing all automatic tests.
For further testing, you can now manually start the Client GUI by changing to Swazam/Client and executing:
java -jar target/client-0.0.1.jar

You can also manually test using the Client's command line by executing:
java -jar target/client-0.0.1.jar
Just follow the command line output (use credentials below).

*) If you like to have a look at the commandline outputs of the server/peers/client you can now switch to
Swazam/Testsuite/workingdir/.out|server.out
These files will be deleted after successful shutdown!!

2. Webserver

The TestSuite also starts the Jetty Server, where the Web Application is deployed.
The Web Application is available at

http://localhost:8080/Login.xhtml

The user which is used for the TestSuite is (you may also use this user to login on the web):

Username: chrissi
Passwort: chrissi