PTS parameters let you perform dynamic operations in test requests, such as simulating different user logons and passing business-specific values.
Parameter types
PTS supports the following parameter types for test requests.
|
Parameter type |
Level |
Description |
|
File parameters |
Global |
Place associated parameters in different columns of a file and upload them. File parameters are used together with the data configuration node. For more information, see File data sources. |
|
Custom parameters |
Global |
Combine strings and system functions into a reusable variable. Custom parameters are suited to settings you modify frequently, such as headers. For more information, see Custom parameters. |
|
System functions |
Global |
Built-in encryption, random number, arithmetic, and other utility functions. Use them to process strings, global custom variables, and business session variables. For example, you can generate an MD5 signature for the UID returned by an API. For more information, see Use system functions. |
|
Global headers |
Global |
Apply the same header to all APIs across all test scenarios. For more information, see Global headers. |
|
Business session headers |
Business session |
Apply the same header to all APIs within a business session. For more information, see Set business session headers. |
|
Data export parameters |
N/A |
Export parameters from one business session so that other business sessions can use them. For more information, see Data exporting instructions. |
|
Data instructions - Custom parameters |
Business session |
Custom parameters defined through data instructions. You can redefine common parameters or output parameters as custom parameters. For more information, see Data instructions. |
|
Data configuration - Custom parameters |
Business session |
Custom parameters defined through data configuration. You can redefine common parameters or output parameters as custom parameters. For more information, see Data configuration instructions. |
|
Output parameters |
Business session |
Use the response data of an API as parameters within the business session. For more information, see Interface output parameters. |