In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use WebBenchmark, a tool for Webapi management and performance testing. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
WebBenchmark is a Webapi management and performance testing tool based on the open source communication component Beetlex extension. In traditional tools, general management tools lack performance stress testing capabilities or lack of management functions; the design goal of WebBenchmark is to have both management and performance testing capabilities. Next, let's introduce the function and use of the tool:
Function
Service testing that supports HTTP and HTTPS
Only GET,POST,PUT and DELETE of basic methods are supported.
Support for multi-user and multi-classification management
Provide detailed timeline information for accessing API
Provide value function support for better random data construction and stress testing
Support simultaneous pressure testing for multi-use cases
Provide detailed response status and delay summary
Installation
The tool is based on .netcore development and can be run on major platforms with .net core 2.1or later installed. You can download the latest version of the package from https://gitee.com/ikende/WebBenchmark and run run.sh or run.bat. The tool occupies port 80 by default. If the port is occupied, you can edit the above two files to modify the corresponding startup port. After startup, you can access the related services through the browser, the initial user name and password are: admin and 123456. After entering the service, the tool interface is as follows:
The added information mainly includes basic use case information and related HTTP request content description.
Address parameter
Mainly included in the Url parameters, parameters can be added and set according to their own needs. Parameter values support function references, through which a new function value can be generated for submission at each request.
Request header
You can mainly add some request header information, such as token and User-agent.
test
The component carries on a test to the current use case when editing, through the test, we can know the actual situation of the current use case running (including some network request response time lines of the whole testing process). After the batch test is completed, you can view the test status and related processing timeline of each use case in real time.
Performance testing
The tool provides multi-use case combination performance testing by simply selecting the use cases that need to be stress tested when creating performance test cases.
At this point, you can click the relevant use case test button to go to the performance test page.
During the testing process, the tool reflects the results of the current pressure test in real time, and displays the relevant status and the corresponding delay distribution data in detail.
After reading the above, do you have any further understanding of how to use WebBenchmark, a Webapi management and performance testing tool? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.