There are two kinds of post processors commonly used by jmeter to extract data:
1. JSON extractor
After acquisition, the variable token can be referenced to other required places
(Regular expression and JSON extractor): 2023 interface automation testing framework must have two artifacts: regular extractor and Jsonpath extractor_哔哩哔哩_bilibili https://www.bilibili.com/video/BV1824y1M7GA/? spm_id_from=333.999.0.0&vd_source=6e2d6c374fd551babe1ac6a5e60c5a75
2. Regular expression extractor
Commonly used regular expression steps:
Step 1: Copy the left and right boundaries of the target data amount
Step 2: Enclose the target data in parentheses
Step 3: Replace the target data with .+?
Regular expression and JSON extractor): The 2023 interface automation testing framework must have two artifacts: regular extractor and Jsonpath extractor_哔哩哔哩_bilibili https://www.bilibili.com/video/BV1824y1M7GA/?spm_id_from =333.999.0.0&vd_source=6e2d6c374fd551babe1ac6a5e60c5a75
Extraction rules for regular expressions:
Regular expression and JSON extractor): The 2023 interface automation testing framework must have two artifacts: regular extractor and Jsonpath extractor_哔哩哔哩_bilibili https://www.bilibili.com/video/BV1824y1M7GA/?spm_id_from =333.999.0.0&vd_source=6e2d6c374fd551babe1ac6a5e60c5a75