JSON Path postprocessor of the jmeter-extractor

Source: Internet
Author: User

Add the JSON path postprocessor to the post processor.

Use:

The current interface response returns the JSON in which the content is extracted, as a variable can be passed in different requests.

1. JSON path postprocessor is not a jmeter plugin, so you need to download the installation separately Http://jmeter-plugins.org/downloads/file/JMeterPlugins-Extras-1.4.0.zip

2. Installation method: Extract Extras with Libs set to JMeter corresponding directory-"Restart JMeter

3. Value for subsequent use

1) Variable names variable name

2) The value in the return value of the Json Path expressions.

Json Path Syntax Https://github.com/json-path/JsonPath

3) Default values Defaults

So we can go to the.

In this company project test, the values that are taken are passed into the URL, and some special symbols are encountered. Here's how HTTP handles special symbols:

Some symbols cannot be passed directly in the URL, and if you want to pass these special symbols in the URL, they will be encoded. The encoded format is: The ASCII code of the% plus character, which is a percent percent, followed by the ASCII (16-binary) code value of the corresponding character. For example, the encoded value of a space is "%20"

The input with parameters in the HTTP request needs to be encoded and then transmitted.

JSON Path postprocessor of the jmeter-extractor

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.