Default Test Case Options

Applies to ReadyAPI 3.51, last modified on March 21, 2024

This topic describes the default options for newly created test cases. You can change these options later in the Test Case Options dialog.

To configure the default test case options:

  1. Click on the ReadyAPI toolbar.

  2. Switch to the Default Test Case Options tab in the left part of the ReadyAPI Preferences window and configure the necessary options.

The available options and their descriptions are in the table below.

Option Description

Search properties

Provides access to all test step properties, including the properties of the test steps that have already been executed.

Session

If selected, ReadyAPI uses the same HTTP session for the entire test case.

Abort on error

If selected, ReadyAPI stops the test run when a test step fails.

Fail test case on error

If selected, ReadyAPI marks the test case as failed if a test step fails.

This option does not stop the test run.

Discard successful results

If selected, all the successful results will be discarded after the test step execution is complete.
Enable this option to consume less memory.

Tip: Disable this option if you use test step assertions, otherwise, you will not get the expected results.

Test case timeout

A time period to wait for the test case execution to complete. After the specified period elapses, the test is considered failed. Specify 0 or leave the field empty to set the timeout to 10 minutes.
Default value: 0.

Max results

The maximum number of results to keep.
Default value: 5.

Discard PASS Results within Loop

If selected, discards all successful request results in the transaction log to consume less memory. This option affects only the steps inside the data source loop. By default, the option is applied globally to newly created Data Source Loop test steps.

See Also

Managing Test Cases
Verifying Results
Preferences

Highlight search results