Knowledge Base

  1. Home
  2. Knowledge Base
  3. General
  4. Getting Started
  5. Test Configuration Page

Test configuration is composed of the following fields:

1.Test Name

The name of the test. This appears at test execution as well as in the reports. We suggest making the names short and memorable – ones that explain what it is the test does.

2.Description

A longer description of the test. Here you should explain what your test does in a bit more details – it will help you in the future to remember what you’ve done, as well as make it easier for others in your team to use the test.

3.Concurrent users

The number of concurrent users you want to use in this test scenario. A user is a testRTC Agent (a browser) that is executing your test script.

4.Iterations

testRTC handles iterations in the following behavior: the system creates virtual instance for every concurrent user. Any concurrent user’s instance will run a test. When the test is completed, the instance will wait for all other users’ instances in the same session to complete their execution.

After all users’ instances in the same session will complete the iteration execution, all users’ instances will start the next iteration (i.e. will start the test execution again).

For example: if a test configuration is 5 concurrent users (all in a single session) and 10 iterations, the system will start 5 instances and every instance will run the test 10 times.

Activities performed in every iteration

The following activities are performed at the begining of every test iteration:

  • Network profile is set again
  • Browser is reopened

5. Run Options

These options offer advanced settings that can be used by the test once executed. Each option is defined as a hashtag. You can use multiple options by separating them using a comma.

Check here to review the complete list of available run options.

6. Service URL

When a test is executed, it can be very helpful to be able to track the test progress by opening a browser, as a regular user, that points to the tested session.

The tested service URL definition can be helpful in few aspects:

  1. If a service URL is defined, you can click on the ‘Open’ link to manually open a new browser tab with the service URL.
  2. If the service URL’s ‘Auto open’ checkbox is checked, a new browser tab, with the service URL, will be opened automatically when the test execution is started.
  3. The defined service URL can be used in the test’s script (will be described in the ‘Writing script’ sections).

7. Test Script

The test’s web browsing flow is defined as a Nightwatch/Selenium test case. Nightwatch.js enables quick, simple but powerful tests writing, using only Javascript (Node.js) and CSS or Xpath selectors. Nightwatch.js uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements. For further information about Nightwatch, please refer to http://nightwatchjs.org.

In the ‘Test Script’ section you can perform the following actions:

  • Upload – upload a script from a file.
  • Edit – edit the test’s script in testRTC’s internal editor
  • Request help – If you need assistance with script writing – we are here to help. Click on the ‘Request help’ button and we will contact you.

8.Test Profiles

The Test Profiles section describes the executed agents’ configurations. By default, a single testing profile will be used for the test. In such a case, all agents in the test will have the same testing profile. If additional profiles will be defined for the test, the agents’ profiles will be divided between the agents (more details in next section).

The Testing Profile is composed of the following characteristics:

A.Browser

The Browser drop down enables to choose the executed agents’ browser type and version.

B.Location

The Location drop down enables to choose the agents’ geographical location.

C.Network profile

The Network Profile drop down enables to choose the agents’ network profile. The network profile is composed of different criteria, such as the agents’ bandwidth, latency and drop packets percentage.

For detailed available profile configuration, please refer to What are the test profile configurations?

D. Firewall profile

The Firewall Profile drop down enables to choose the agents’ opened and closed networking ports and packets filtering rules. The firewall profile can be used to simulate different networking configurations such as different firewall and NAT rules.

For detailed available profile configuration, please refer to What are the test profile configurations?

E. Media

Choose media (video and audio) that will be used in a test. You can choose based on the media resolution and bandwidth.

Multiple Testing Profiles

In order to define multiple Test Profiles for a test, click on the ‘Add Profile’ button. A new Testing Profiles section will be added and can be modified.

The agents’ configuration will be distributed between the Test Profiles in a round-robin fashion – If you have more profile than users, then only the first few profiles will be assigned.  If you have more users than profiles, then once the number of users reaches the number of profiles, we start the allocation of profiles all over again.

For example, for a test with 7 concurrent users and 3 Testing Profiles, the agents’ configuration will be:

 Test Profile 1  Test Profile 2  Test Profile 3
 Agent 1  Agent 2  Agent 3
 Agent 4  Agent 5  Agent 6
 Agent 7

Save and Run

After the test configuration is updated:

  • Click on ‘Save’ to save the test configuration.
  • Click on ‘Run’ to save the test configuration and run the test.

Fields’ content verification

Field with red border indicates that the field’s value is illegal.

Field with blue border is the current field (in focus).

Additional activities

In addition, the following activities can be performed:

  • ‘Delete’ – delete test.
  • ‘Export’ – export the test details to a local JSON file. This file can be later imported by clicking on the ‘Import’ button in the ‘Tests’ page.
  • ‘Duplicate’ – duplicate a test details to a new test.

Was this article helpful?

Related Articles

Leave a Reply 0 comments

Leave a Reply: