Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SOAVIRT_9.10.3_CTP_3.1.0

...

REST Client tools created in versions 9.7.x and earlier will be automatically updated to use the new format when you open and save the associated 

...

.tst or .pvn

 in the current version of the product. 

...

Unconstrained mode (the mode enabled when Service Definition is set to None) lets you specify the URL as a literal string, which can be either a fixed value, parameterized value, or scripted value. In addition, the method to invoke can also be specified as a fixed value, parameterized value, or scripted value. 

...

For details about parameterizing values, see the following chapters: 

...

With fixed values, you can access data source values using ${var_name} syntax. You can also use the environment variables that you have specified. For details about environments, see 

...

Configuring Testing in Different Environments or Configuring Virtualize Environments.

Configuring Testing in Different Environments or Configuring Virtualize Environments.
Image Added

If the Image RemovedIf the URL uses environment variables, the Resolved URL field will display how they resolve into an actual URL.

...

Parameters can be configured in the Path and Query tabs, as described in Parameter Configuration. The URL will automatically be updated to reflect any changes made to the Path/Query table. 

...

Parameters can be configured in the Path and Query tabs, as described in Parameter Configuration. The URL will automatically be updated to reflect any changes made to the Path/Query table. 

...

Parameters can be configured in the Path and Query tabs, as described in Parameter Configuration. The URL will automatically be updated to reflect any changes made to the Path/Query table. 

...

Select the appropriate protocol from the Transport drop-down list, then configure its properties, which are described in the following sections:

...

...

SOAtest

...

SOAtest

...

...

...

Virtualize

Success Criteria Tab

The following options are available in the Success Criteria tab of the REST Client tool:

  • Valid HTTP Response Codes: Allows you to customize the tool behavior so that it succeeds with HTTP response codes outside the 2xx range. Specify single codes and/or code ranges as a comma-separated list. For example, if you use "302, 500-599", a 302 code or any code in the 5xx range will be accepted.  If you're using a parameterized value, be sure that the value in the data source uses this same format (e.g., "302, 500-599").
  • Timeout after (milliseconds): Specifies the length of delay (in milliseconds) after which your FTP, telnet, or HTTP requests should time out. The Default setting corresponds to the timeout set in the Preferences panel. The Custom setting allows you to enter a timeout. A non-positive timeout value can be entered to specify an infinite timeout.

    • Fail the test on timeout: Select this option if you want the tool to fail on the specified timeout.
    • Pass the test only if a timeout occurred: Select this option to have the tool pass if the specified timeout occurs (i.e. the test does not finish execution within the specified time).
0A010204015CF6008A11EEF43AC91334 0A010204015A9054C886C0AC137B8C01
Conditional Content
Product: (SOAVirt, SOAtest)Product: (SOAVirt, SOAtest)sv-attr:0A010204015A9054C88481D043445E2F
Scroll pdf ignore

Video Tutorial

In this video, you'll learn how to create REST tests when you don't have access to API definitions or captured traffic.

Vimeo
URLhttps://player.vimeo.com/video/124443281

The following tutorial lesson demonstrates how to use this tool: