当前位置:网站首页>Jmeter-调用上传文件或图片接口
Jmeter-调用上传文件或图片接口
2022-07-24 15:09:00 【KFC宅急送专员】
起因: 其实也没啥起因,就想记录一下Jmeter咋上传图片或者文件类型的接口
以图片类型的接口为例
步骤:
1. 首先访问页面F12看一下接口的传参和请求头,主要要拿请求头的content-type和看一下传参



2. 信息看完之后开Jmeter进行配置
首先配置请求头
再接着配置http请求


再配一下高级选项

3. 添加查看结果树,跑一下,看一下响应

4. 去页面点一波,看文件传上去了吗

边栏推荐
- Atcoder beginer contest 261 f / / tree array
- 老虎口瀑布:铜梁版小壶口瀑布
- Android section 13 detailed explanation of 03sqlite database
- Research Summary / programming FAQs
- 股票开户之后就可以购买6%的理财产品了?
- How do novices buy stocks for the first time? Which securities company is the best and safest to open an account
- Summary of feature selection: filtered, wrapped, embedded
- kali简洁转换语言方法(图解)
- VSCode如何调试Nodejs
- Spark: specify the date and output the log of the corresponding date (entry level - simple implementation)
猜你喜欢
DS binary tree - parent and child nodes of binary tree

Maotai ice cream "bucked the trend" and became popular, but its cross-border meaning was not "selling ice cream"

ZABBIX administrator forgot login password

DS binary tree - maximum distance of binary tree nodes

Outlook tutorial, how to set rules in outlook?
![Property datasource is required exception handling [idea]](/img/f3/50d36ed9445695c02e2bd622109d66.png)
Property datasource is required exception handling [idea]

Android section 13 detailed explanation of 03sqlite database

关于构建网络安全知识库方向相关知识的学习和思考

Simple understanding and implementation of unity delegate
![Rasa 3.x learning series -rasa [3.2.3] - new version released on July 18, 2022](/img/fd/c7bff1ce199e8b600761d77828c674.png)
Rasa 3.x learning series -rasa [3.2.3] - new version released on July 18, 2022
随机推荐
"After 00" is coming! Digital data ushers in a new generation of "codeless" forces
PrestoUserError: PrestoUserError(type=USER_ERROR, name=INVALID_FUNCTION_ARGUMENT, message=“Escape st
Overview of dobesie wavelet (DB wavelet function) in wavelet transform
Clear all spaces in the string
The sliding window of Li Kou "step by step" (209. The smallest sub array, 904. Fruit baskets)
JS data transformation -- Transformation of tree structure and tile structure
PrestoUserError: PrestoUserError(type=USER_ERROR, name=INVALID_FUNCTION_ARGUMENT, message=“Escape st
野火stm32霸道,通过固件库实现流水灯
Maotai ice cream "bucked the trend" and became popular, but its cross-border meaning was not "selling ice cream"
Various searches (⊙▽⊙) consolidate the chapter of promotion
PIP source switching
Kotlin类与继承
Data analysis and mining 1
《Route planning method for UAV in unknown environment based on improved SAS algorithm》翻译
LeetCode·每日一题·1184.公交站间的距离·模拟
C language large and small end mode judgment function
Performance test - Test Execution
Spark: specify the date and output the log of the corresponding date (entry level - simple implementation)
Sword finger offer II 001. integer division
DDD based on ABP -- Entity creation and update