Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Some summaries about JMETER

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

1. When the return value of the request API is 404, you can check whether the request ip,port,address is correct.

two。 When the return value of the request API is 406, you can check whether the request header is set to Accept, which can be set to: application/json, text/plain, /

3. Different interfaces may use different submission methods. In this case, the Content-Type in the message header wants to use different values. Jmeter can be implemented using a simple controller.

Use of 4.while logic controller: ${_ jexl3 ("${patrolId}" = "${patrolId2}")} this comparison jumps out of the loop when the two parameters are the same. For more information, please see: http://jmeter.apache.org/usermanual/component_reference.html#While_Controller

The 5.json extractor uses: when the extracted json exists in an array, it is as follows:

Extraction reference: $.progresnObj [0] .patrolId

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report