Hypertest Docs
HyperTestKnowledge Base
  • Quick Set-up
    • Install HyperTest
    • Deploy your application
    • Mirror Traffic
      • Using Kubernetes
      • Using Amazon ECS
      • Using Docker
      • Using Nginx
      • Using Goreplay
        • ElasticBeanStalk Script for Goreplay
      • Using Apache
      • Using IIS
      • Using Istio
      • Using Kong
      • Using HAProxy
      • Others
  • HyperTest Overview
    • Introduction
    • Architecture
  • Detailed Setup Guide
    • Detailed Setup Guide
      • Installation
        • Linux VM
        • Kubernetes Cluster
          • Hardware Requirements
          • Cluster Setup
            • EKS
              • Existing Application Load Balancer
              • Calculate Setup Cost for EKS Cluster
            • GCP
            • AKS
            • Self Managed
              • Microk8s with EKS-D
          • HyperTest Installation
      • Mirror Traffic
      • Configure HyperTest
      • Automate Starting a Test
        • CI Integration
          • GitHub Checks Integration
            • Mandatory checks
          • Gitlab Integration
          • Bitbucket Integration
          • Jenkins Pipeline
            • Jenkins Plugins for PR events
  • Upgrade HyperTest
    • Upgrade HyperTest
      • Linux VM
      • Kubernetes Cluster
  • User Guides
    • Usage Guide
      • Install and Configure HyperTest
        • Install HyperTest
        • Configure Base DNS
        • Add New Service
      • Tests Runs and Analysis
        • View Test Cases
        • Start New Test Run
        • Understand Your Test Run Analysis
        • Prioritize Your Error Types
        • Track Bugs
        • Ignore Errors/Desired Changes
        • View/Download Report
        • View Consolidated Dashboard Reports
        • Sign-off Reports
        • Reduce Execution Time
        • Deduplication Rules
      • Troubleshooting and FAQs
    • Best Practices Guide
      • Cost Optimization
    • Dashboard Tour
      • Dashboard
      • All Sessions
      • Regression Report
      • Notifications
      • First Test Run
      • Interactions
      • Custom Analysis
      • Configuration
    • User Management
      • Create Admin User
      • Roles, Groups & Users
      • Enabling User Signup
    • Other Guides
      • Basic Nginx Auth for Linux HT
  • Middleware
  • Advanced Features
    • Import test cases from Postman
  • Change Log
  • Troubleshooting
  • FAQs
    • Setup
    • General
    • Regression Report
  • Glossary
    • Session
Powered by GitBook
On this page
  • Why we need this?
  • How we do this?
  1. Quick Set-up

Mirror Traffic

PreviousDeploy your applicationNextUsing Kubernetes

Last updated 1 year ago

After deploying the two versions of your application, the final step to complete the setup is to mirror traffic to HyperTest.

Why we need this?

HyperTest is record and replay tool. We capture the traffic coming to your test application version and store it, just the requests, headers and body. We are not capturing the response here.

Then we will replay this traffic to both versions of your application when a test is started. Get the response from both versions, compare and analyse the results and report the changes to you.

Hence, we will need the traffic coming to your applicaton to understand your api's, your payloads, your flows etc and later replay this traffic to test your application and do our thing.

How we do this?

So mirroring traffic is pretty straightforward. We have multiple guides available to mirror traffic using different ways.

Now you might be wondering, which one you have to follow. Well, that depends on how you deploy your application. Below are some pointers which can help you with it.

  • If you are deploying your application in K8s clusters, you can mirror traffic using where goreplay will be running as a sidecar container

  • If you deploying your application on Amazon ECS, refer our . It deploys goreplay as sidecar container in ECS

  • If you deploy your application on just docker, refer our

  • If your application are behind an nginx server, refer our

  • If your application are running directly on a VM, refer our

  • If you are using Apache, refer

  • If you are using IIS to host your application, refer our

  • If you are using Istio, refer the

  • If you are using Kong Gateway, refer the

  • Just some more

Kubernetes
Amazon ECS guide
Docker guide
Nginx guide
Goreplay guide
Apache guide
IIS guide
Istio guide
Kong guide
guides