对于以下GET请求:
GET https://tt.abc.com/mp/getCommunicationProofStatus.form?cacheStamp=1485542553907&rerun_on_error=true&proofId=12345&communicationId=13959&tk=4c3a6859
Cookie数据:
JSESSIONID=VUsh3HvVhTxho3R52QgH+i9P; tenant=Provider
请求标题:
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
X-Requested-With: XMLHttpRequest, ABC Customized OWASP CSRFGuard Project
tk: 4c3a6859
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
Referer: https://tt.abc.com/mp/communication/communication_content_edit.form?tk=4c3a6859-a0754305-e173f2b6-870d3589&communicationId=13959
Accept-Encoding: gzip, deflate, sdch, br
Accept-Language: en-US,en;q=0.8
Host: tt.abc.com
我在firebug中看到以下回复:
{"is_print_touchpoint":true,"is_pre_proof":true,"item_id":13403,"generated_date":"Feb 02, 2017","job_id":13405,"pre_proof_id":13403,"status":"in_process"}
但是,Jmeter View Results Tree中没有响应
答案 0 :(得分:1)
没有足够的信息来猜测原因,您至少需要添加几个屏幕截图来演示您的测试计划结构,在采样器数据选项卡上失败HTTP Request采样器配置和View Results Tree侦听器。
盲目注意:您丢失或工作不正常correlation,请参阅下面突出显示的请求参数:
tt.abc.com/mp/getCommunicationProofStatus.form?cacheStamp=的 1485542553907 强>&安培; rerun_on_error =真安培; proofId = 12345&安培; communicationId = <强> 13959 强>&安培; TK = <强> 4c3a6859 强>
1485542553907
- 看起来像Unix timestamp(2017年1月27日星期五晚上)13959
- 很可能是表单的ID,您正在尝试提交4c3a6859
- 可能是CSRF令牌如果你正确处理这些参数,我相信问题就会消失