Start recording in tunnel mode

You can start recording an application with:

Warning: Before recording the scenario, it is recommended to close all HTTP client applications (other Web sessions, Twitter client, and so on). NeoLoad records all the HTTP flows going through the machine. It is necessary to close HTTP clients or define exclusion rules in NeoLoad to avoid unwanted requests in the recording.

Starting a new recording creates a User Path and places all the web pages visited during the recording into that User Path.

The User Path group box defines the new User Path:

Warning: Init, Actions and End Containers follow a set order of play: 1. Init Container. 2. Actions Container. 3. End Container.

The Client settings group box makes it possible to automatically launch the selected browser and open the test URL http://www.neotys.com/recorder.html using the automatically-configured recorder settings. If this page displays correctly, the recorder has been properly set up. Closing the browser stops the recording. The Client settings group box also enables you to delete cookies and clear the browser cache before the recording.

The Protocols group box helps select the protocols which NeoLoad can record. NeoLoad records the HTTP protocol by default:

The Modes group box makes it possible to choose a recording mode:

A click on the OK button closes the Start Recording dialog and displays the Tunnel mode recording wizard to prepare the recording.

EN_tunnelrecordwizard1

Click the Detect servers button to display the Detecting servers bar.

EN_tunnelrecordwizard2

The Detecting servers bar shows the IP address of NeoLoad. When NeoLoad and the application sit on two different machines, it is necessary to change the IP address of the DNS server of the machine using the application to reroute transactions towards NeoLoad.

At that moment, the application must be started to have NeoLoad detect the servers used in the application. In the application, every action in the scenario must be performed to have the Detecting servers bar analyze the application.

A click on the Stop server detection process icon closes the Detecting servers bar and updates the Tunnel mode recording wizard. The Servers list step displays all the application servers and domains to record:

The servers list can be modified with the Add and Remove buttons. It can also be modified at the end of the scenario recording.

In the Tunnel mode recording wizard, clicking the Next button launches the Configuration check step.

EN_tunnelrecordwizard4

When issues are raised, it is necessary to correct them before starting the true recording of the application:

On Windows Seven for example, it is necessary to choose Control Panel > Network and Sharing Center > Local Area Connection > Properties > Internet Protocol Version 4 (TCP/IPv4) > Properties > Advanced to display the Advanced TCP/IP Parameters dialog. In the IP addresses section, a click on the Add button allows specifying the first IP for the identifiers range, for example 192.168.1.210. All parameters must be saved for new virtual IP addresses to be taken into account.

Once IPs and ports are ready, clicking Back in the Tunnel mode recording wizard makes it possible to restart the Configuration check step. When the configuration is ready, a click on Finish closes the wizard.

The Recording bar is displayed to record the application.

779_1

Browsing the application and performing every action of the scenario automatically create the recording in NeoLoad.

When all actions are complete, a click on the Stop Recording icon stops the recording and closes the Recording bar. The Post-recording wizard opens up to help configure the recorded scenario. For more information, see Post-recording wizard. Subsequently, the scenario can be edited and improved. For more information, see User Paths.

When the recording is over, the IP address of the DNS server must be set back on the machine using the application.

  1. Click Start Recording.
  2. In the Start Recording dialog, specify a new User Path.
  3. To record in tunnel mode, select the Tunnel mode option.
  4. To record from the machine using the application, unselect the Launch browser option. Click OK.
  5. Start your application.
  6. In the Tunnel mode recording wizard, click Detect servers.
  7. The Detecting servers dialog gives you the IP address of the NeoLoadmachine.
  8. When NeoLoad and the application are on different machines, change the DNS server parameters of the machine using the application:
  9. Browse the application as expected in your scenario using its hostname or fully qualified domain name and not its IP address.
  10. Click on the Stop server detection process icon.
  11. In the Tunnel mode recording wizard, rectify the servers list and the record configuration. Click Finish. The Recording bar is displayed.
  12. When necessary, refresh the DNS cache. Browse the application as expected in your scenario using its hostname or fully qualified domain name and not its IP address.
  13. Click the Stop recording icon.
  14. Reset the IP address of the DNS server of the machine using the application.
  15. If needed, configure your scenario further in the Post-recording wizard.