Calibration tests with SoapUI

Creation of SoapUI calibration scripts


gazelle-calibration Installation


Install gazelle-calibration

If you don't have already a zip of the project create one with :

  • icons/
  • scripts/
  • site/
  • admin.php
  • calibrate.php
  • calibrate_fork.php
  • getCalibrationExecutions.php
  • getCalibrationResult.php
  • index.php
  • pom.xml
  • settings.xml

Send the zip to the VM :

scp /path/to/the/ gazelle@<VM>/tmp/

Connect to the VM and extract the zip :

unzip /tmp/ -d /tmp/gazelle-calibration

Edit and make sure the variable APACHE_ROOT is correct. Execute the script :

sudo chmod +x sudo /tmp/gazelle-calibration/

Install xmllint :

sudo apt-get install libxml2-utils

Install maven :

sudo apt-get install maven

Install soapui :

cd /tmp wget chmod +x ./

Install php DOM extension

Check the php version installed on the server :

php --version

Depending on the version, the package is different :

  • php-5 :

    sudo apt-get install php5-dom
  • php-7.0 :

    sudo apt-get install php7.0-xml
  • php-7.1 :

    sudo apt-get install php7.1-xml



Check that the values in ~/gazelle-calibration/html/scripts/ are correct, especially INDEX_PATH and REFERENCES_PATH.


Create or add an existing htpasswd.users in /home/gazelle/gazelle-calibration/html. To add a new user type :

sudo htpasswd /home/gazelle/gazelle-calibration/html/htpasswd.users <user>

Add the following to the configuration file in /etc/apache2/site-enable :


<Directory /var/www/html/gazelle-calibration> 
Options +Indexes +FollowSymLinks +MultiViews 
Order allow,deny 
Allow from all AuthName 
"Calibration Access" AuthType Basic AuthUserFile /home/gazelle/gazelle-calibration/html/htpasswd.users Require valid-user </Directory><domain\>


/gazelle-calibration is now password protected.