Skip to content
Jean-Louis Boudart edited this page Apr 25, 2016 · 12 revisions

Installation

  1. Download jdk8 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
  2. Download package https://drive.google.com/file/d/0B1F9bAM6HDozcjN3d1hFQUdHdFE/edit?pli=1 (click on download)
  3. Unzip h2hell-web-1.0.4.zip
  4. cd h2hell-web-1.0.4/apache-tomcat/bin
  5. launch sh startup.sh (or startup.bat)
  6. 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

homepage

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

Go to Visualisation apps

App : launch "your App".

Paths : find all paths in your application.

Details path : Historic Path

Paths

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 paths

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' : detailspaths

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

  1. Clone the repository https://github.com/highway-to-urhell/highway-to-urhell-web.git
  2. cd highway-to-urhell-web
  3. mvn clean package. Maven generate in target the war
  4. Deploy the war on your favorite appServer OR launch the application via the command 'mvn'. (the server start on port 8090)
  5. 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