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

My notes-jmeter's badboy tool records scripts for testing

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

I'm really depressed. Take a note and put a limit on the number of words on the forum. I took a picture of the mechanism and put it in the blog post that there was too much spare. I originally wanted to do a comparative analysis in two ways, but I wouldn't let the number of words!

.. If the picture is to be displayed, I'll take a screenshot and get it in the attachment!

Recording with badboy tool

Enter the address-after confirmation, you can start recording, and then the following figure will appear

Enter the content to be viewed on the home page of Baidu displayed on the right (not the picture above)

Click stop recording to finish recording, then click file-export to jmeter in the menu bar (a save dialog will pop up, just save it)

Explain what is shown in the box on the left: in the column on the left, the steps are recorded under step1. After export, jmeter with the card and then click file to select Open (open the previously recorded jmx file) will appear as follows:

The step1 name can be preferred, and the following address name can be modified. The http://www.sogou.com under step1 is the operation of recording and entering the page in badboy. The http://www.sougou.com/web below is the "I want to be quiet" operation that I typed.

In jmeter, they all have corresponding http request information settings, such as those selected in the figure, which will appear.

The following figure

On this way, there is a parameter in "send parameters with request", which is the value we entered before recording, and then you can start by adding a listener.

Attachment: http://down.51cto.com/data/2367087

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