简体   繁体   English

jmeter中无响应查看结果树

[英]no response in jmeter View Results Tree

For the following GET request: 对于以下GET请求:

GET https://tt.abc.com/mp/getCommunicationProofStatus.form?cacheStamp=1485542553907&rerun_on_error=true&proofId=12345&communicationId=13959&tk=4c3a6859

Cookie Data: Cookie数据:

JSESSIONID=VUsh3HvVhTxho3R52QgH+i9P; tenant=Provider

Request Headers: 请求标头:

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

I see the following response in 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"}

However, there is no response in Jmeter View Results Tree 但是,Jmeter View结果树中没有任何响应

There is not enough information to guess the reason, you need at least add a couple of screenshots demonstrating your test plan structure, failing HTTP Request sampler configuration and View Results Tree listener on Sampler Data tab. 没有足够的信息来猜测原因,您至少需要添加几个屏幕快照来展示您的测试计划结构,失败的HTTP Request采样器配置和采样器数据”选项卡上的“ 查看结果树”侦听器。

Blind shot: you have missing or improperly working correlation , see request parameters highlighted below: 盲注:您缺少相关性或工作相关性不正确,请参阅下面突出显示的请求参数:

tt.abc.com/mp/getCommunicationProofStatus.form?cacheStamp= 1485542553907 &rerun_on_error=true&proofId=12345&communicationId= 13959 &tk= 4c3a6859 tt.abc.com/mp/getCommunicationProofStatus.form?cacheStamp= 1485542553907 &rerun_on_error = true&proofId = 12345&communicationId = 13959 &tk = 4c3a6859

  • 1485542553907 - looks like a Unix timestamp (evening of Friday, 27th of Jan 2017) 1485542553907看起来像是Unix时间戳 (2017年1月27日星期五晚上)
  • 13959 - most probably Id of the form, you're trying to submit 13959最有可能是表格的ID,您正在尝试提交
  • 4c3a6859 - maybe a CSRF token 4c3a6859可能是CSRF令牌

If you properly handle these parameters I believe the issue will go away 如果您正确处理了这些参数,我相信问题将会消失

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM