当前位置:网站首页>JMeter -- interface test 2
JMeter -- interface test 2
2022-06-28 08:50:00 【Jinky strange 18】
Jmeter Language settings ( Options -> Choice language -> Chinese simplified )

Create a new thread group under the test plan HTTP request

stay HTTP On request Web The server , Fill in the agreement , Server name or IP choose , Fill in the slogan ; stay HTTP Under request , Select the request method according to the situation , Paste path , Encoding default utf-8; Add parameter , Fill in name and value ; Unnecessary parameters can be deleted ; Add... Under request ( Right click ) Listening tree , Choose how you want to see the results .


Under the fruit tree , The secondary use case has been executed , Show successful execution , Status code for 200

The non login exception is displayed under the response data under the result tree

See through the request Cookies (Cookie , Plural form Cookies . The type is “ Small text files ”, Some websites are for Identify users , Conduct Session Track and Store stay User local terminal Upper data ( Usually encrypted ), Information temporarily or permanently saved by the user's client computer Cookie It's not more than 4KB Small text data for , By a name (Name)、 A value (Value) And several others for controlling Cookie The period of validity 、 Security 、 Use the optional properties of the range to make up )

Right click Add -> Configure originals -> HTTP Cookie Manager ;

stay HTTP Cookie Enter the name and value in the manager , Clear all , Click start . The results are the same as above , It's also no cookies . And the team leader 、 Bingbing found the problem ( Add chicken legs to the team leader )
In Google F12 The result of the display field 、 All paths have values , So we need to Jmeter The domain under 、 Path input value

After the save , Click to clear all results , Start again , give the result as follows

边栏推荐
- Kali Notes(1)
- [untitled]
- Discussion on the improvement and application of the prepayment system in the management of electricity charge and price
- Maintenance and protection of common faults of asynchronous motor
- break database---mysql
- AVFrame内存管理api
- It only takes two steps to find the right PMP organization, one check and two questions
- Loss loss function
- Sword finger offer 03 Duplicate number in array
- STL - inverter
猜你喜欢

抖音服务器带宽有多大,才能供上亿人同时刷?

Build an integrated kubernetes in Fedora

The 6th smart home Asia 2022 will be held in Shanghai in October

Application of energy management system in iron and steel enterprises

containerd1.5.5的安装

爱分析发布《2022爱分析 · IT运维厂商全景报告》 安超云强势入选!

Privacy computing fat----- offline prediction

It only takes two steps to find the right PMP organization, one check and two questions

Installation of containerd1.5.5

Idea related issues
随机推荐
用Pytorch搭建第一个神经网络且进行优化
Batch modify tables and sorting rules for fields in tables
三体攻击(三维拆分加二分)
第六届智能家居亚洲峰会暨精品展(Smart Home Asia 2022)将于10月在沪召开
Selenium reptile
Kali installation configuration
用Pytorch搭建第一個神經網絡且進行優化
Construire le premier réseau neuronal avec pytorch et optimiser
AWS builds a virtual infrastructure including servers and networks (2)
Webrtc advantages and module splitting
使用transform:scale之后导致页面鼠标悬浮事件消失
STL - inverter
Goldbach`s Conjecture
从知识到智慧:知识图谱还要走多远?
[go ~ 0 to 1] on the first day, June 24, variables, conditional judgment cycle statement
Wasmedge 0.10.0 release! New plug-in extension mechanism, socket API enhancement, llvm 14 support
Anniversary party
FatMouse and Cheese
Privacy computing fat----- offline prediction
广州:金融新活水 文企新机遇