In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what are the examples of jmeter debugging errors", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let Xiaobian take you to learn "what are the examples of jmeter debugging errors"!
I. Foreword
In the process of using jmeter to do interface testing, we often encounter a lot of problems, but do not know where to start, do not know where to start, for beginners this is a very headache. Here, combined with the author's experience, the following methods are summarized.
Second, debug problems by viewing the running log
After writing the script, you can try to run it first, as shown in the following figure. Click the yellow triangle to display the view execution log interface. Note whether there are errors. If there are errors, handle the errors in the execution log first.
Third, debug problems by adding a view of the result tree
1. Check whether the request information is correct: including the requested protocol, request mode, request address, requested data and other information
2. View response messages and check interface development documentation
View Result Tree--> Error Interface--> Response Data
3. View the interface development documentation to find the information returned by the interface and the description of the prompt information.
Location problem: Error 45065 here is because the same content is sent twice
Problem solved: replace the uploaded picture in interface 2. Upload picture to get url interface with a new picture
Executing again, the return status code is 0, indicating that the transmission is successful.
IV. Debugging problems by adding debugging sampler
Interface association is a very important point in the debugging script. We can check whether the associated data has been taken with the help of the debugging sampler. If the value has been taken, it will be displayed in the debugging sampler, as shown in the figure:
V. Open the user agent and debug the problem with the fiddler package capture tool.
If it's an interface to a web page, fiddler can be used to assist with debugging. At www.baidu.com/s? wd= software test example
1. Write test scripts, note: Baidu needs to add User-Agent header
2. Open fiddler
3. http default request, add proxy service
4. To view the results: Run it once in jmeter, then use fiddler to view the results
At this point, I believe that everyone has a deeper understanding of "what are the examples of jmeter debugging errors", so you may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.