Configuration options

All options except the driver instance are passed via command line arguments.

Argument

Description

new FirefoxDriver()

(Required) Any driver that returns a WebDriver interface.

 

var webDriver = new FirefoxDriver(NLWebDriverFactory.AddProxyCapabilitiesIfNecessary(new DesiredCapabilities()));

NLWebDriver driver = NLWebDriverFactory.NewNLWebDriver(webDriver);

nl.api.key

(Optional) The API key to send to NeoLoad.

Default: <none>

nl.data.exchange.url

(Required) The URL to the data exchange server on the NeoLoad Controller.

Example: -Dnl.data.exchange.url=http://localhost:7400/DataExchange/v1/Service.svc/

Default: http://localhost:7400/DataExchange/v1/Service.svc/

nl.debug

(Optional) Prints various information from the Selenium proxy wrapper to standard out.

Default: false

Example:

-Dnl.debug=true

nl.design.api.url

(Required) The URL to the Design API server on the NeoLoad Controller.

Example: -Dnl.design.api.url=http://localhost:7400/Design/v1/Service.svc/

Default: http://localhost:7400/Design/v1/Service.svc/

nl.hardware

(Optional) Specify this setting for the external data Entry.

Default: <none>

nl.instance.id

(Optional) The instanceID to use.

Default: <date/time stamp>

nl.location

(Optional) Specify this setting for the external data Entry.

Default: <none>

nl.os

(Optional) Specify this setting for the external data Entry.

Default: Windows, Linux, Mac OS, etc. (based on the operating system)

nl.path.naming.policy

(Optional) This is used to set the naming policy. The argument must be URL, Title, or Action.

URL: Use the last part of the URL as the Entry path.

Title: Use the page title as the Entry path.

Action: Use the last action as the Entry path. Actions can be link selections or clicks.

Default: URL

Example:

-Dnl.path.naming.policy=Title

nl.regex.to.clean.urls

(Optional) Used in conjunction with the URL PathNamingPolicy. This specifies the regular expression used to extract a path from a URL. When multiple groups are used, all matching text from each group is used in the path.

Default: (.*?)[#?;%].*

Example: -Dnl.regex.to.clean.urls=.*?\\\?(.*?)|(.*?)[#?;%].*|(.*)

Note that this example becomes .*?\?(.*?)|(.*?)[#?;%].*|(.*) after escaping

nl.script.name

(Optional) Specify this setting for the external data Entry.

Default outside of JUnit: SeleniumDelegate

Default in a JUnit test: SeleniumDelegate-<test method name>

nl.selenium.proxy.enabled

(Deprecated) Enables or disables creating and sending entries.

Default: True

nl.software

(Optional) Specify this setting for the external data Entry.

Default: <none>