...
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:
- Parameterizing Tests with Data Sources, Variables, or Values from Other Tests
- Parameterizing Tools with Data Source Values, Variables, and Extracted Values
...
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.
If the If the URL uses environment variables, the Resolved URL field will display how they resolve into an actual URL.
...
For details about scripting values, see Extensibility and Scripting Basics.
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, seeConditional Content Product: (SOAVirt) Product: (SOAVirt) sv-attr:0A010204015A9054C88481D043445E2F 0A010204015CF6008A11EEF43AC91334 Configuring Testing in Different Environments or Configuring Virtualize Environments.
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.
...
For details about scripting values, see Extensibility and Scripting Basics.
Product: (SOAVirt) Configuring Testingsv-attr:0A010204015A9054C88481D043445E2F 0A010204015CF6008A11EEF43AC91334 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, seeConditional Content Product: (SOAVirt) Configuring Testing in Different Environments or Configuring Virtualize Environments.
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.
...
For details about scripting values, see Extensibility and Scripting Basics.
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, seeConditional Content Product: (SOAVirt) Product: (SOAVirt) sv-attr:0A010204015A9054C88481D043445E2F 0A010204015CF6008A11EEF43AC91334 Configuring Testing in Different Environments or Configuring Virtualize Environments.
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"
, a302
code or any code in the5xx
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).
Conditional Content | Product: (SOAVirt, SOAtest) | Product: (SOAVirt, SOAtest) | sv-attr:0A010204015A9054C88481D043445E2F | 0A010204015CF6008A11EEF43AC91334 0A010204015A9054C886C0AC137B8C01|
---|---|---|---|---|
Scroll pdf ignore | ||||
Video TutorialIn this video, you'll learn how to create REST tests when you don't have access to API definitions or captured traffic.
|
Related
The following tutorial lesson demonstrates how to use this tool: