Topics/Knowledge base

Replay Architecture and Firewall Ports

Jonathan Lindo December 01, 2011

ReplayDIRECTOR consists of several components that work together to provide record/replay functionality to your applications. 

Architecture Overview

ReplayArchitecture.JPG

The Replay Architecture is shown in the above figure. Note that by default, TCP ports 80 and 10230 must be open and accessible to the ReplayDIRECTOR Server. These ports can be configured to use different ports as well as described in the following article: http://support.replaysolutions.com/entries/20731382-configuring-custom-replaydirector-ports

ReplayDIRECTOR Server (RDS)

This is the central component responsible for storing, managing and sharing recordings. It uses a MySQL database, Tomcat server and a Replay Engine process to provide access to recordings. Replay Recorder Agents will upload recordings to the server over port 10230 (by default), the Replay Eclipse Plugin will communicate over ports 80 and 10230 (by default) and the Replay Browser Plugin and Replay Connector communicate over port 80 (by default). This component must accept incoming connections on these ports.

ReplayDIRECTOR Recorder Agent 

This component runs on your applications server such as Tomcat, JBoss or WebLogic. It communicates with the ReplayDIRECTOR Server on port 10230 by default. 

ReplayDIRECTOR Browser Plugin

This runs in your web browser (Firefox, IE). It detects when you are browsing to a web app that is being recorded and is enabled at that time. This component communicates with the ReplayDIRECTOR Server (RDS) on port 80. 

ReplayDIRECTOR Eclipse Plugin

The Eclipse plugin is used for making, replaying and visualizing recordings. It runs inside Eclipse and communicates with the RDS on ports 80 and 10230.

ReplayDIRECTOR Connector

This component integrates Replay with defect trackers, test automation tools and other products in your infrastructure. It communicates using a REST API and requires access to the RDS on port 80.

Firewall Requirements

Replay Component TCP Ports Required Incoming / Outgoing
ReplayDIRECTOR Server (RDS)

80, 10230

Incoming
Replay Recorder Agent 10230 Outgoing to RDS
Replay Browser Plugin 80 Outgoing to RDS
Replay Eclipse Plugin 80, 10230 Outgoing to RDS
Replay Connector 80 Outgoing to RDS

The ports shown above are the default TCP ports. These can be changed via configuration settings in the Replay components. These ports can be configured to use different ports as well as described in the following article: http://support.replaysolutions.com/entries/20731382-configuring-custom-replaydirector-ports. 

NOTE: If you are making recordings on Linux and replaying on Windows, you must open additional ports as described in the following article: 
http://support.replaysolutions.com/entries/20161451-remote-linux-replay