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



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


再配一下高级选项

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

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

边栏推荐
- Problem handling of repeated restart during Siemens botu installation
- VSCode如何调试Nodejs
- Preparation of mobile end test cases
- "After 00" is coming! Digital data ushers in a new generation of "codeless" forces
- Spark Learning Notes (III) -- basic knowledge of spark core
- Conflict resolution of onblur and onchange
- Vector introduction and underlying principle
- 26.文件使用磁盘的代码实现
- Mysql库的操作
- Atcoder beginer contest 261 f / / tree array
猜你喜欢

深度学习中的学习率调整策略(1)

Strongly connected component

华为无线设备配置WPA2-802.1X-AES安全策略

Android section 13 detailed explanation of 03sqlite database

Learning and thinking about the relevant knowledge in the direction of building network security knowledge base

The sliding window of Li Kou "step by step" (209. The smallest sub array, 904. Fruit baskets)

Decrypt "sea Lotus" organization (domain control detection and defense)

Summary of feature selection: filtered, wrapped, embedded

Deep learning 1 perceptron and implementation of simple back propagation network

Detailed explanation of IO model (easy to understand)
随机推荐
Discussion on the basic use and address of pointer in array object
PrestoUserError: PrestoUserError(type=USER_ERROR, name=INVALID_FUNCTION_ARGUMENT, message=“Escape st
Google Earth Engine——使用MODIS数据进行逐月数据的过火(火灾)面积并导出
多数据源配置下,解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)问题
Existence form and legitimacy of real data in C language (floating point number)
Under multi data source configuration, solve org.apache.ibatis.binding Bindingexception: invalid bound statement (not found) problem
Simple understanding and implementation of unity delegate
Sword finger offer II 001. integer division
Learning rate adjustment strategy in deep learning (1)
SQL的SELF JOIN用法
MongoDB入门学习
Fastjson code execution cve-2022-25845
Problem handling of repeated restart during Siemens botu installation
[matlab] matlab drawing Series II 1. Cell and array conversion 2. Attribute cell 3. delete Nan value 4. Merge multiple figs into the same Fig 5. Merge multiple figs into the same axes
Outlook tutorial, how to set rules in outlook?
Discussion and legitimacy of the order of entering and leaving the stack
Leetcode-09 (next rank + happy number + full rank)
Android SQLite database practice
Differences between C language pointer and array A and &a, &a[0], etc
onBlur和onChange冲突解决方法