我被困在 Jmeter 脚本的非常关键的连接点上,我需要在 Azure 存储上上传一个文件和一个微服务来分析 blob 数据以进一步处理,但它会寻找一定的大小,例如 8081920 字节。我成功地能够在 Azure 存储上上传相同大小的文件,但服务返回大小不匹配。
如果我使用 Postman 上传相同的文件,则服务能够成功处理图像。以下是邮递员请求标头
x-ms-blob-type: BlockBlob Content-Type: image/raw User-Agent: PostmanRuntime/7.26.10 Accept: / Postman-Token: b9384ac9-7fbe-4ab8-834b-aef0d8114588 Host: xxxxxxx.blob.xxxxxx.windows .net Accept-Encoding: gzip, deflate, br Connection: keep-alive Content-Length: 8081920
Jmeter 请求头:连接:keep-alive 内容类型:image/raw 接受编码:gzip、deflate、br 接受:/ x-ms-blob-type:BlockBlob 内容长度:8082155 主机:xxxxxxx.blob.xxxxxx。 windows.net 用户代理:PostmanRuntime/7.26.10
知道如何从 jmeter 发送额外的 235 字节但 Postman 没有解决此问题。
谢谢, 阿克沙特