Home
Clone this wiki locally
Installation
- Download jdk8 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Download package https://drive.google.com/file/d/0B1F9bAM6HDozcjN3d1hFQUdHdFE/edit?pli=1 (click on download)
- Unzip h2hell-web-1.0.4.zip
- cd h2hell-web-1.0.4/apache-tomcat/bin
- launch sh startup.sh (or startup.bat)
- http://localhost:8080/h2hell-web
In configuration of agent h2h, the parameter 'urlh2hweb' will be : urlh2hweb=http://myip:8080/h2hell-web/api/ThunderEntry
Use Application
HomePage

At first boot you should see no data when you launch the agent an application display in H2H-Web.

Go to Visualisation

App : launch "your App".
Paths : find all paths in your application.
Details path : Historic Path
Paths

Find All Path : display all path
Launch analysis : ask h2h agent to modify your application code to track coverage on entrypoint (basically a we setup a counter for each entry point, if you call this endpoint during your functional/penetration tests, you should see a value greater that 1).
The screen Launch analysis configure tracking for each endpoint

After configuring tracking, you can navigate in your application and in the screen Paths you can see the activity of each end point.
For details go to 'Details path' :

Monitoring
Monitoring : Display performance metrics. Response Time of all entry point. Details monitoring : Display in datable ALL the metrics.
Example of "Live Monitoring entry point"

Settings
You can manage the list of applications.

Installation from source
Compile and Deploy
- Clone the repository https://github.com/highway-to-urhell/highway-to-urhell-web.git
- cd highway-to-urhell-web
- mvn clean package. Maven generate in target the war
- Deploy the war on your favorite appServer OR launch the application via the command 'mvn'. (the server start on port 8090)
- Access the application via the url http://localhost:8090/core/app.html
Custom the database
By default the database is h2, you can change the database by updating h2h.properties file.
Logs
You can customize logs with logback.xml file.
Hibernate
We use Hibernate on the project, the configuration file is hibernate.properties. Be careful by default is hibernate.hbm2ddl.auto=update