- Home ▾
-
User
User
-
Tools ▾
SIP Server
Proprietary Server
HTTP Recorder
JSON Server
- Services
- Buy Tools ▾
- Miscellaneous
- Contact
Recorder Installation & Message Capture Steps
Recorder Installation
LM Tools, provides a recorder component, capable of recording all HTTP transactions between browser (Chrome / Firefox) and Web server. This helps to learn all messages (requests / responses) exchanged between browser and web server, hence it helps to configure LM Tools for testing HTTP based applications.
Installation Steps
- Download recorder from download page.
- Untar it
- Run ./install.py
- During installation, system certificate store is updated. So ubuntu may ask your confirmation as shown below.
Using down arrow key, select option ask as shown below.
Then select Ok and hit Enter. You may see GUI as below. If you are installing recorder first time you can skip below GUI and next immediate below GUI.
Then select Ok and hit Enter. You may see GUI as below.
Then select Ok and hit Enter. You may see GUI as below.
If you see in above image (red colored area), * symbol is not present. Hit Space bar to select it (you may see a * appears in red colored area) as shown in below image.
Then select Ok and hit Enter. - Now recorder is installed.
Execution Steps
To start recorder, use below command.
Command
./recorder -i <ip address> -p <port> -d <dns server ip address>
Example
./recorder -i 192.168.1.10 -p 92 -d 8.8.8.8
./recorder -i <ip address> -p <port> -d <dns server ip address>
Example
./recorder -i 192.168.1.10 -p 92 -d 8.8.8.8
With this you are executing recorder at port 92.
Configuring Browser
Now you need to configure browser for proxy settings. In this case, proxy is nothing but recorder. Please check here for more details.
Message Capturing
Now you browse any site, you will see in current path (from where you are executing recorder), a template folder is created. The files like msg_tx_n and msg_rx_n are the captured messages.
Trouble Shooting
Sometime it is observed that browser does not show the images properly. This is the default strict behavior from browsers. When browser does not believe certificates, this results image to be not shown in page properly. Nothing to worry. This can be corrected, please refer below steps.
Trouble Shooting - Firefox
The recorder root CA certificate is present in path where from you execute recorder. You need to import recorder root CA certificate to Firefox. Refer below steps to import root CA certificate to Firefox.
- Click Open Menu button in Firefox (triple line button, stacked vertically) in Firefox extreme right corner. The menu GUI looks as below.
- Click on Preferences. You will see GUI as below. Please note that Certificates tab is selected.
- Click on View Certificates button. You will see certificate manager as shown below.
Select Authorities tab. And click on Import button. A file open dialog appears, browse to directory from where you are executing recorder. Select the ca certificate file (.pem) and import it. If import initiates properly, you will see below GUI. If nothing pops up, probably you did not select the right ca certificate file, in that case try to import again. - Select all the check boxes and hit Ok. With this root CA certificate import is done.
With this the root CA certificate is imported to Firefox.
Trouble Shooting - Chrome
The recorder root CA certificate is present in path where from you execute recorder. You need to import recorder root CA certificate to Chrome. Refer below steps to import root CA certificate to Chrome.
- Click on Customize button in Chrome (triple dot stacked vertically) at right upper corner. You will see menu GUI as below.
- Click on settings in menu GUI. You will see settings page. Scroll down till end, and click Advanced link. Locate Manage certificates section. Click on right arrow small button shown right. You will see below GUI. Please note that AUTHORITIES tab is selected.
- Click on IMPORT button as shown in below image.
A file open dialog pops up. Browse to directory where from you execute recorder. Select the root CA certificate file (.pem). You will see below certificate authority dialog. - Now select all three check boxes, and hit OK button.
With this the root CA certificate is imported to Chrome.