Help Center> CloudTest> User Guide> Test Case> Advanced Configurations of API Automation> Advanced Extraction Types> Character String Extraction
Updated on 2023-03-14 GMT+08:00
Character String Extraction
When setting checkpoints or response extraction, if the expressions in the property setting bar cannot meet the requirements, you can set Advanced Extraction Type to Character string extraction.
There are two Type Value text boxes for string truncation:
The following response body is used as an example.
- To extract the fifth to ninth digits of code in the first element of the result array from the response body and compare them with the target value, configure the Checkpoint tab page as follows.
- To extract the fifth to ninth digits of code in the first element of the result array in the response body and assign the value to the variable code, configure the Response tab page as follows.
Was this page helpful?Provide feedback
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.Chatbot