Skip to content

Preparation of Test Server and Running Tests

Murat Ugur Eminoglu edited this page May 17, 2022 · 13 revisions

Attention: We have migrated our documentation to our new platform, Ant Media Resources. Please follow this link for the latest and up-to-date documentation.


NOTE: We have updated our documentation. This page is outdated. You can access updated version from the sidebar menu.


Step 1. Install Docker to your host

You can look here for docker installation.

Step 2. Download DockerFile for Ant Media Server

Download Dockerfile prepared for Ant Media Test environment from here. You can download with the following command:

$ sudo wget https://raw.githubusercontent.com/ant-media/Scripts/master/Dockerfile_AntMediaTest

Step 3. Build Dockerfile

Build Dockerfile with the following command:

$ sudo docker build -f Dockerfile_AntMediaTest -t antmedia/test .

Step 4. Run Dockerfile

Run your container with the following command:

$ sudo docker run -w "/home/antmedia/test" --name amstest -p 8090:8090 antmedia/test java -jar loadtester.jar

Step 5. Connect to Ant Media Load Test Server within Docker

Open web browser and connect to <dockercontainer ip>:8090

Step 6. Complete configuration

Fill configuration parameters according to your test setup.

  • For one instance setup, both Origin Server and Edge Access Point are set with IP of the running server instance.
  • For cluster setup, Origin Server is set with IP of the origin server and Edge Access Point is set with IP of the load-balancer.

Step 7. Run test

Run the test and wait for the result. The result will be available in Results panel after test finishes.

User Guide

Reference

Troubleshooting

Draft

Proposals

Clone this wiki locally