Jmeter uses the return value of the previous interface as the request parameter of the next interface, and the return value of jmeter

Source: Internet
Author: User

Jmeter uses the return value of the previous interface as the request parameter of the next interface, and the return value of jmeter

It is sometimes used in jmeter. the return value of the previous interface is used as the request parameter of the next interface.

The procedure is as follows:

1. Create an http request (right-click the thread group-add Sampler-http request) and add the corresponding request parameters of the interface.

 

2. view the http request result (here, we use uip as the parameter of the next Interface request ):

3. Use the regular expression extract or json extract to extract the uip value. Here I use the json extract (for the use of the json extract, see: http://www.cnblogs.com/liyuanhong/articles/7082998.html)

 

4. Create an http request and add the extracted uip value to the request parameters:

View comments

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.