Converting Lowercase Letters into Uppercase Letters
Function Name
$toUpper(String A)
Parameter Description
- String A: string to be converted into uppercase letters.
Parameter A supports the following types:
- Strings
- Local parameters
Function Description
Converts all characters in the specified input string into uppercase characters.
Application Scenarios
The function for converting lowercase letters into uppercase letters can be used in the following scenarios for API automation:
- Request URL
- Request header
- Request body
- Checkpoint property
- if condition
- for loop interrupt condition
Example
- Request URL
As shown in the following figure, the value of test in the request URL is the function for converting lowercase letters into uppercase letters. Parameter A in the function is test.
- Request header
As shown in the following figure, the value of upper in the request header is the function for converting lowercase letters into uppercase letters. Parameter A in the function is Test.
- Request body
As shown in the following figure, the function for converting lowercase letters into uppercase letters is used. Parameter A in the function is Test.
- Checkpoint property
As shown in the following figure, the target value of the checkpoint property result is the function for converting lowercase letters into uppercase letters. Parameter A in the function is Test.
- if condition
As shown in the following figure, the target value of the if condition is the function for converting lowercase letters into uppercase letters. Parameter A in the function is aaaaa.
- for loop interrupt condition
As shown in the following figure, the target value of the for loop interrupt condition is the function for converting lowercase letters into uppercase letters. Parameter A in the function is ok.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot