Deploy HyperTest Server

This page shows to install hypertest server on a linux VM using docker compose

In this guide, we will install HyperTestarrow-up-right in a new ubuntu VM.

circle-exclamation
circle-info

If you are using AWS EC2, you can reduce cost by installing HyperTest on a spot instance and attaching an elastic IP to it.

Tech Stack Overview

Dockerarrow-up-right: Docker is an open platform for developing, shipping, and running applications

HyperTestarrow-up-right: A No-code API testing tool

Recommended minimum resources required to run HyperTest on a VM are as follows:

4 vCPU

16 GB RAM

100 GB Disk

Prerequisites

circle-info

You should have root user access in VM

Your system should have the following installed:

  1. Dockerarrow-up-right: (>= 20.10.6)

1. Installing Docker

Check if you have docker installed in your VM already by using the following command

If you don’t have docker, install it using the following command

If you have an older version of docker (< 18.09.7), remove it and reinstall the latest version using above command

Check if docker is installed successfully by using the following command

Getting Started

1. Deploy HyperTest Services

Switch to sudo user

download the starter archive docker-compose.yml with the below content

You should now have these files

  • docker-compose.yml

  • dynamic.yml

  • .env

  • .htpasswd

  • otel-collector.yml

The following are the details of the env variables in the .env file These ports should be opened on your VM

  • HOST_BACKEND_PORT_TRAEFIK: 8001 - This is the port on which HyperTest Dashboard will be accessible by the users

  • HOST_LOGGER_PORT_TRAEFIK: 4319 - This port will be used internally for mirroring traffic. You have to allow incoming traffic to HyperTest on this port from your application

  • HOST_CONSUL_HTTP_PORT_TRAEFIK: 8500 - This port will be used to expose consul

  • HYPERTEST_VERSION: 0.2.23-4 - Version of HyperTest (Get the latest from the HT team)

Bring up the services by the following command

Verify the containers are up and running by docker ps

HT Dashboard will be accessible onhttp://<hypertest-vm-ip/domain>:<HOST_BACKEND_PORT_TRAEFIK>

Last updated