...
Table of Contents | ||
---|---|---|
|
Proxy System Properties
You can configure the web proxy by specifying system properties in the Manage Web Proxy console or from the command line when executing the .jar file. You can specify the following properties:
...
-DapiPort | System property that specifies the API port number. Default is 40090 . |
---|---|
-DproxyPortStart | System property that specifies the starting port number when scanning for an open port. Default is |
-DproxyPortRange | System property that limits the number of ports scanned after the starting port number (value specified with the |
-DuseSystemProxy | System property that enables using the network-level proxy. Default is |
-Ddebug | Enables/disables system debugging information. Default is false . |
Manage Web Proxy Example
Add the system properties to the Java Options field in the Java tab. The following example sets the API port to 45000 and enables debugging:
Command Line Example
Specify the configuration options on startup from the command line. The following startup command sets the API port to 10090, scans for a range of port numbers, and enables debugging:
...
Info | ||
---|---|---|
| ||
Parasoft Recorder ships with its own instance of Java, but you can use any Java 8 or later that is already installed on your system. |
Test Creation Properties
You can set properties in the tst_creation.properties file to configure how the recorder generates tests. SOAtest and Parasoft Recorder both install an instance of the tst_creation.properties file. By default, the file installed by SOAtest is used. The SOAtest instance of the file is deployed to the workspace under the TestAssets folder. All web proxies that connect to the SOAtest server will use the settings configured in this file.
...
Refer to Training the Smart API Test Generator for details about the test creation properties.
Using the API
After starting the web proxy, you can go to the following URL to review the API defintions:
...