Table of Contents

Server Configuration

TestOptimal has two configuration files:

You may perform customization by adjusting the settings in the above properties file.

Below is a list of typical customization:


Change Server Port

By default, TestOptimal Server listens on port 8888. You may change it to a different unused port by editing config/application.properties as an example below:

 server.port=8000

Auto Start TestOptimal Server

You may set up a scheduled job to auto start TestOptimal Server by running startTestOptimalServer.bat/sh:


Enable HTTPS

You may enable HTTPS using the self-signed certificate bundled in the download package by editing config/application.properties file per instruction in the file (example below):

 ### support HTTPS: to enable HTTPS, uncomment out following settings and set server.ssl.enabled=true
 server.ssl.enabled=true
 server.ssl.key-store-type=PKCS12
 server.ssl.key-store=classpath:keystore/to.p12
 server.ssl.key-store-password=test@optimal
 server.ssl.key-alias=testoptimal
 security.require-ssl=true

If you wish to use your own certificate, you will need to copy your certificate file into /src/main/resources/keystore/ folder and adjust server.ssl.key-store setting accordingly.

All TestOptimal Servers to must have consistent HTTPS settings.


config/config.properties

* To reset security, shut down server, remove all settings “License.*” and restart server.