Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Recording a Web-surfing session is supported by using any web browser, like Internet Explorer, Google Chrome, or Safari.

You can also use also ZebraTester in either Firefox or Chrome without installing their respective Apica Recorder Extensions.

However, it would be best if you reconfigured your Web browser without either Firefox or Chrome browser extension , you must reconfigure your Web browser before you will be able to can record a Web-surfing session. This is described in the Installation Guide, Chapter 3:

...

Note: As a convenient alternative, you can use the Apica Recorder Extension, which is available for both Chrome and Firefox here.

...

Load tests against Web servers or web applications are usually based on recorded web surfing sessions. This means that you usually first record a Web-surfing session before you can execute executing a load test. In simple cases - when no login is required, and no HTML forms need to be submitted - you may alternatively use the Page Scanner tool instead of recording a web surfing session manually.

...

  1. Start a second Web browser window.

  2. Clear the Web browser cache and all cookies ¹

  3. Click the Start Recording button in the Web Admin GUI in the first Web browser window.

  4. Enter the desired start page of the Web server or Web application in the second Web browser window

The first Web page should now be recorded. Click the Refresh Display button in the right upper corner inside the Web Admin GUI to see if the recording of the Web page's recording was successful. If no data was recorded, you should check the Web browser's proxy configuration of the Web browser.

¹ Please note that you must first clear the Web browser cache and all cookies every time before you start recording a new Web surfing session. Chapter 3.3 in the Installation Guide contains some illustrations about how to clear the Web browser cache and all cookies.

...

You must insert a page break before the next Web page is called. The reason for this is that This is because the local proxy server cannot recognize when a Web page starts , and when it finishes. The local proxy server only sees single URL calls, such as requests for HTML data or image files. Adding a page break manually here is necessary in order to record the session properly.

Use the following strategy during the recording of a web surfing session over several web pages:

  1. First, plan which URL or hyperlink you will call (and record) next, but don't click on it just yet!

  2. Then, insert a page break comment into the Web Admin GUI. Enter a comment describing the expected result of the next recorded Web page.

  3. Now call the desired URL by clicking on a hyperlink or submitting a form.

...

The time in seconds near the page break comment is the user’s think time, which will be applied during the load test. This is the time that when a (human) user needs to study the content of the Web page before clicking on the subsequent page. The percentage value near the time is the randomized range of the think time, which will be calculated new every time, for each user and page-call during the test. This means that concurrent users will not use the same think time.

Click the Stop Recording button in Web Admin after you have finished recording all Web pages.