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

Login interface test

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

Share

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

1, as long as you have installed jmeter. Here the specific installation tutorial Baidu to learn to do it.

2. Click the installed jmeter file, find jmeter.bat under the bin path, and run it as an administrator.

3, so we come to the main interface.

4, create a thread.

5, let's take creating three threads and running once as an example.

6. Create a http request in our script. The first request here is a login request.

7. Enter the protocol, IP, request method, request path, and request content in turn

As for the content of the request here, grab the content you need through the package grabbing tool.

8, and then we create a second http request, which is used for the interface path requested after login.

If you want to add a parameter request, add the parameter content yourself.

9. Add the original configuration-- http Information Management header Manager. Note here that the request type in figure 2 is checked by the packet grabbing tool.

10. Add the original configuration-http Authorization Manager

11, add the original configuration-- http Cookie Manager

12. Add listeners, and the ones circled in the picture can be used at will.

13, here is an example of viewing the number of results and aggregating the report. Let's run the script to look at the data.

14, here is just a simple PC interface test, in addition, the mobile interface test and so on have time to share with you. If there are any inadequacies in the above, please point out all kinds of friends. Thank you.

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