Install HyperTest
Deploy HyperTest on Linux VM
Last updated
Deploy HyperTest on Linux VM
Last updated
In this guide, we will install HyperTest in a new x64 ubuntu VM.
The VM should be x64 architecture and preferably latest Ubuntu version - 22.04.
If you are using AWS EC2, you can reduce cost by installing HyperTest on a spot instance and attaching an elastic IP to it.
If you want to install HyperTest on Kubernetes cluster, refer this guide...
Docker: Docker is an open platform for developing, shipping, and running applications
Docker Compose v1: Compose is a tool for defining and running multi-container Docker applications
HyperTest: A No-code API testing tool
Recommended minimum resources required to run HyperTest on a VM are as follows:
You should have root user access in VM
Your system should have the following installed:
Docker: (>= 20.10.6)
Docker-compose: (>= 1.29.1)
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
Check if you have docker-compose installed in your VM already by using the following command
If you don’t have docker-compose, install using the following command
Replace 1.29.1 with the latest v1 version. v2 is not supported as of now.
If you have an older version (< 1.29.1), remove it and reinstall the latest version using above command
Check if docker-compose is installed successfully by using the following command
Create a new directory
Replace the <name of your service> with the service name you choosing to test with HyperTest in all below commands
Download HyperTest
Run sudo crontab -e
Edit the path to HyperTest binary and add the following entry to a new line.
* * * * * cd /opt/hypertest_<name of your service> && ./hypertest bg-start >> /tmp/ht-<
name of your service>.log 2>&1
After starting HyperTest, you will have to enter two ports for HyperTest. These ports should be opened in your VM. Here we have given 8000 and 8001, but you can always give other ports.
LOGGER_PORT: 8000 - This port will be used internally for mirroring traffic. You have to allow incoming traffic to HyperTest on this port from your application
HT_PORT: 8001 - This is the port on which HyperTest Dashboard will be accessible by the users
Wait for complete installation of HyperTest
HyperTest dashboard would be running on the port specified by you just now.
Open up your browser and go to http://<your-ip/your-hostname>:<HT_PORT
>
After installing HyperTest, please follow below guide to mirror traffic to HyperTest
After installing HyperTest, please follow below guide to configure HyperTest
2vCPU
4GB RAM
50GB Disk