How to use system properties feature in CTP??
Comments
-
Hi Rahul157,
The System properties are specifically for configuring the Eclipse and internal Parasoft configurations for SOATest and Virtualize instances. These settings are not needed in CTP, therefore a localsettings file is not necessary or available for CTP.
If you would like to configure CTP settings, you would deploy a CTP instance, add a license, and navigate to the "Administration" drop-down for the configurations webpages.
1 -
Hi Ramiro Martinez,
I am in need of system properties to configure class path as it does not take any class file which I am putting under folder created in CTP.
any idea about this, how to configure classpath to execute java code inside CTP.0 -
Hi Rahul157,
CTP does not execute the Java script itself, SOATest executes the scripts, therefore the Jar needs to be added to the SOATest classpath.
From the SOATest manual:
System Properties SettingsThe System Properties panel lets you add JAR files, class folders, and Java projects to the classpath if needed. Use the available controls to add or remove JAR files, class folders, and Java projects. The specified JAR files, classpaths, and Java projects will be added to the system's classpath and the corresponding classes will be loaded into the JVM after SOAtest is restarted.
To force SOAtest to reload classes from the classpath entries, click the Reload button.
If you want SOAtest to attempt to reload classes from your Eclipse project after being modified or recompiled, enable the Automatically reload classes option.
Tip: Adding Jar Files in Bulk and in Headless Instances
If you want to quickly add a large number of jar files—or add jars to a headless instance of SOAtest— simply copy them into the TestAssets/system_jars or stubs/system_jars directory within your workspace. Jar files in those two directories will be automatically loaded upon startup, or after Reload is clicked in this Preferences page. (Create the directories if they do exist)
On a "headless" instance, if you want to reload the jars without having to restart SOAtest, call post /v/preferences/systemProperties/reload from the SOAtest REST API
Example for SOATest 9.10:
http://host:9080/soavirt/api/v5/preferences/systemProperties/reload0