Configuring proton.application.properties File

Little functionality in the API is configured in such ways that, user can change the property and accordingly change the behavior/working of automation API.

Proton.application.properties file can be found in config directory in the build. Application restart is required after changing any value in this property file.

 

Following are the properties and its usage:

  1. mappingServerPort (Default value – 3224)

This property specifies the port number for mapping server. Port number can be changed if default provided port is not available.

Supported values – any valid port number

  1. agentPortRange (Default value – 3300-3999)

This property specifies the range of ports to be used while running any application. This can be changed according to port number availability.

Supported values – any valid port range

  1. playBackApiNumber (Default value – 7)

This property specifies the playBackApi class loader entry in api config file to create playback api object for making actual backend apis call from mapping server.