当前位置:网站首页>[this tool, combined with JMeter, will increase your work efficiency by at least 80%, which is highly recommended]
[this tool, combined with JMeter, will increase your work efficiency by at least 80%, which is highly recommended]
2022-06-22 10:12:00 【Java enthusiast】
1. brief introduction
In the use of jmeter There are a lot of useless requests when recording scripts automatically , Therefore, it is recommended to use badboy Record the script and save it as jmx file , stay jmeter Open to use . So I'd like to introduce Badboy This tool , I didn't intend to introduce you , The reason is that this tool is no longer maintained and updated , But considering that some children's shoes can't test scripts by hand , So I'd like to take some time to introduce this popular recording tool .
2.badboy brief introduction
Badboy monitor internet explorer The activities of , Provide recording / Playback function . Recording function :badboy The top of the window shows whether you are currently recording , If you click play Button ,badboy Automatically turn off the recording function , wait until play After the end , You can click on the recording Button , Continue recording scripts .
Be careful : We have to wait until the last step request After processing , To click to send the next request, Or next request Will be the first request The son of frame.
1. Lightweight free testing tool ;
2. Can function test , Mainly performance testing ;
3. Stress testing for simple tasks can be done alone , It can also be used as Jmeter Script development tools . It's mainly used by testers . There are also a few features that allow developers to debug 、 Self test use .
3. download
1. I tried it recently , The official website is unavailable , It may be because the maintenance is not updated , Therefore, an installation package is provided , You can download and install it yourself , as follows :
badboy Installation package : link : https://pan.baidu.com/s/1Ae3tLuP3q7301SzyXDGw2A Extraction code : jcg5
2. Download and install ( Fool installation , I won't go over it here )
3. Click on the installed badboy The icon , You will see Badboy Of IDE Interface , The following figure is a simple annotation of the interface , These include Badboy An introduction screenshot of the official website

4. This is a detailed introduction to it , As shown in the figure below :

4. Interface and function Overview
4.1 menu bar
1.File: Including common open scripts , New script , Export script , Save scripts and other functions
2.Edit: Click on Edit menu Under the Search/Replace The following interface will pop up in the panel , Help us select and replace features in scripts . Click on X close window . Of course we can use it F3 The shortcut key pops up this interface

3.View: Click and click again , Change the display and hide view areas , among Report There are also functions 3 For users to choose from , This part of the course will cover
4.Tools: There are many functions in , For example, we can configure the data source to automatically fill in data to the test system , Especially when some test point values cannot be unique , Reading from a data source is a common method ,QTP It's easy to read Excel The data of
5.Preferences: We can do it in General Tab Change the system settings . such as : Under default configuration , Click the right arrow to automatically trigger the recording when requesting , If you want to cancel this configuration , You can remove the check , as follows .

6. Help:
Click Content Can help document , My series is also based on Badboy Help documents for collation and basis

4.2Tools bar: Some tools are introduced
1. Create a test group , Test unit , step

2. Recording mode : Request and Navigation Two kinds of

3. Run script : We are also used to call running scripts

4. other : open , keep , Capture screenshots , Create variables , Time to wait
4.3 Browser address bar
because Badboy The recording area is the content area of the right half , Therefore, the starting point of the website should be launched in the address bar

4.4 Script tree
In early use Badboy In the lower version , Only Step The level of , In the subsequent continuous updating and iteration ,Badboy It was introduced in later versions Suite and test The concept of , The advantage of this is that the level of the script is more obvious , It's clear to the tester , The defenders at the back can take over . Here, we will take the function of publishing essays of the test blog Park as an example to conduct situational learning of all subsequent courses . Children's shoes or partners who have been exposed to the test should understand , If we test the blogosphere , The function of publishing essays is only one function of one module , There are many other functions in the blog Garden , Here is a list of simple functions and testing ideas :

Level description : If we all take Step All test steps are summarized , Just use Step name or ID It's still not easy to understand and find , Now? , We can position the first level function as Suite Level , take Test Positioning as a test point ,Step Layers are different scenarios for testing . Of course ,Badboy There is no clear rule that more than one must be used Suites or Tests, Just add one by default Test Will automatically add subordinates Step, also Test At a tree level , As shown in the figure below :

Make a level of posting essays according to the introduction to work , As shown in the figure below :

increase : Besides clicking on the icon above , It can be like this : Right click selection Add

rename : Double click the name , A dialog box will pop up , You can enter a new name and description , Click on Ok, Save operation

Delete : Right click selection Delete

Template Templates : Right click selection Save as Template, Using templates can effectively embody the concept of script reuse , for example , We can have 2 Login scripts with no captcha entries remain as templates , When there are other websites that log in the same way , You can introduce , No need to record again .
5. Summary
Okay , Today is to have a general understanding of this tool, can use it , If you want to study deeply , You can check the English version of the user manual , The introduction is very detailed .
边栏推荐
- Pytoch realizes wave impedance inversion
- 【科普】一文弄懂监督式学习、非监督式学习以及强化式学习
- xlrd.biffh.XLRDError: Excel xlsx file; not supported 解决办法
- 如何进行高效简洁的电子文档管理
- [backtrader source code analysis 51] simple interpretation of the source code of seven files in observers (boring, for reference only)
- 2022-06-09 工作记录--yarn/npm-Error-EPERM: operation not permitted, uv_cwd
- Web Configuration of Visual Studio Code
- SQLMap-hh
- 【这款工具配合jmeter,会让你的工作效率至少提升80%,强烈推荐给大家】
- 2022-06-09 work record --yarn/npm-error-eperm: operation not permitted, UV_ cwd
猜你喜欢
随机推荐
DAO 的未来:构建 web3 的组织原语
logstash中Ruby代码把@timestamp时间戳格式转换
Former amd chip architect roast said that the cancellation of K12 processor project was because amd counseled!
[backtrader source code analysis 51] simple interpretation of the source code of seven files in observers (boring, for reference only)
thinkphp5.0.24反序列化漏洞分析
TCP建立连接过程(深入源码理解3次握手)
大学生期末考试SQL语句
6-42 sparse matrix transpose
HMS Core新闻行业解决方案:让技术加上人文的温度
【深度学习】TensorFlow,危!抛弃者正是谷歌自己
不要再傻傻分不清 hash、 chunkhash 和 contenthash 啦
快速掌握 ASP.NET 身份认证框架 Identity - 登录与登出
Tiktok practice ~ one click registration and login process of mobile phone number (verification code)
Should the theme of the IDE be bright or dark? Here comes the ultimate answer!
7-1 group minimum
char[],char *,string之间转换
Bloom filter optimization - crimsondb series of papers (I)
xlrd.biffh.XLRDError: Excel xlsx file; not supported 解决办法
[机缘参悟-28]:鬼谷子-内揵篇-保全自己,说服上司
Software project management 8.3 Agile project quality activities


![[LineCTF2022]BB](/img/9d/c5b0ce1e603d40efc5245ba074aa77.png)






