【发布时间】:2017-08-18 07:20:20
【问题描述】:
我有一个具有以下配置的 JMeter 测试:
Thread Name: Thread Group 1-1
Sample Start: 2017-08-18 12:45:02 IST
Load time: 304
Connect Time: 0
Latency: 304
Size in bytes: 209
Headers size in bytes: 206
Body size in bytes: 3
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: 403
Response message: Forbidden
很遗憾,它失败并显示以下响应标头:
HTTP/1.1 403 Forbidden
Content-Type: application/octet-stream
Date: Fri, 18 Aug 2017 07:15:03 GMT
Server: openresty/1.9.3.1
X-Vcap-Request-Id: c9307775-0897-4fbd-5d45-e2e7c11cb1b1
Content-Length: 3
我错过了什么?提前致谢。
【问题讨论】:
-
HTTP 403 - Forbidden,当请求有效,但调用者没有权限时返回。您可能需要在请求中包含身份验证标头。 -
感谢您的建议。您能否提供有关此句子结构的任何文档。
标签: jmeter http-status-code-403