E2E Testing server

E2E Testing server

Pre-requisites

How to run

cd testing-tools/E2E-testing-server/

# Mandatory for site-audits
export HURL_now=$(date '+%Y-%m-%dT%H:%M:%S')
export HURL_later=$(date '+%Y-%m-%dT%H:%M:%S' -d"+1year")

# Global tests
hurl \
  --variables-file hurl-options.env \
  --user admin@asqatasun.org:myAsqaPassword \
  --report-html ./Report/ \
  --test Testsuite/*

# Test concurrent accesses  
hurl \
  --variables-file hurl-options.env \
  --user admin@asqatasun.org:myAsqaPassword \
  --test Testsuite/04*

For debugging purpose, you may add the --verbose parameter.

Changing URL and port of server to be tested

Those details are stored in the hurl-options.env file. Here is an example:

proto=http
host=localhost
port=8080
path=/api/v0

Resources