Test configurations are collections of settings that determine how tests are executed and reported. Test configurations are defined in .properties files located in the <INSTALL>/soavirt/WEB-INF/configs directory. Edit these settings to customize test execution.In this section:
Table of Contents | ||
---|---|---|
|
...
This setting enables/disables the "Test Traffic [All Tests]" section in the API coverage report. The section contains traffic for all test executions, whether or not the tests were successfully executedsuccessful. Set this property to true
to include the Test Traffic [All Tests] section in the report. Default is true
.
...
com.parasoft.xtest.execution.api.web.report_traffic_limit
This settings setting specifies the total amount of traffic data (in KBs) that will be stored during a test execution session, not the amount of data stored per test. The com.parasoft.xtest.execution.api.web.report_successful_traffic setting must be enabled for this property to take effect. Only data from successful tests will count toward the limit if the com.parasoft.xtest.execution.api.web.report_successful_traffic property is enabled. The default is 500
.
Example
...
This setting determines if coverable resources from the service definition are included in the API coverage report. If a constrained SOAP Client, REST Client, or Messaging Client tool touches a coverable resource, coverage information will be associated with the appropriate resource/operation. The following service definitions are supported:
- OpenAPI (/Swagger)
- RAML
- WADL
- WSDL
Default is false
.
...
This setting enables/disables API coverage calculation for a user-defined list of coverable resources. You can specify the resources in the com.parasoft.xtest.execution.api.web.service_coverage_table setting.
Coverage can be calculate calculated in addition to, or instead of, the automatically-calculated coverable resources.
Default is false
.
com.parasoft.xtest.execution.api.web.service_coverage_table
...
The following definition types are supported:
- OpenAPI (/Swagger)
- RAML
- WADL
- WSDL
Example
Code Block | ||
---|---|---|
| ||
com.parasoft.xtest.execution.api.web.service_coverage_table=WSDL@http://soatest.parasoft.com/calculator.wsdl;OpenAPI/Swagger@file:///C:/openapi3.0/examples/v3.0/petstore.yaml;OpenAPI/Swagger@http://localhost:8080/soavirt/api/v5/def |
...