Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[bug] 长度过长的查询请求会使得无法收到返回值
10-12-2020, 12:33 AM
Post: #2
RE: [bug] 长度过长的查询请求会使得无法收到返回值
(10-12-2020 12:08 AM)lingu Wrote:  
(10-12-2020 12:04 AM)zhihao Wrote:  测试查询后发现几个问题:
1. 案例数若为70个,查询很慢,会生成res.res结果文件且里面有内容,但是不会返回结果。修改为2个案例后,测试查询一下子就有了返回值。
2. 案例若过长,就没有返回值,也没有更新res.res文件内容。

pls specify key details, such as the system (limbo30 maybe) and the query case. The standard is whether another engineer can repeat the procedure and reproduce the problem.

limbo30-1内使用tmux: zh进行测试。

1. window: 3用于修改bibo-ext.pcf案例数为2,改为70的情况没有列出,可以修改bibo-ext.pcf为70后在window: 2中使用“./inquireany.sh processed/query_shenmou_short.json“查询短案例请求,会发现有res.res内容,但没返回值
2. 在window: 2中测试了长案例没有返回值,
Code:
[sage@limbo30-1 test]$ ./inquireany.sh processed/query_shenmou.json
sending inquire request processed/query_shenmou.json
return code:
inquire failed
[sage@limbo30-1 test]$
对应日志为,显示解析不出"casetype is"应该为query,但是没解析出来
Code:
...
  talk2thinker reqno: 0
    ===============received new case in /thinker/globe/soft/bibo/procuratorate/tests/newcase/newcase.txt [1011-23:12:25]
casetype is:
      triage() completes with 0
      work() toret 0
    talk2thinker toret 0
    session returns
  recycling at reqno 7
  simpleserve for reqno 0 [1011-23:12:26]
  initializing thinker state
      listen on port 62818 with /thinker/local/soft/bibo/plug/talk2thinker.sh [1011-23:12:29]

而短案例有返回值
Code:
[sage@limbo30-1 test]$ ./inquireany.sh processed/query_shenmou_short.json  
sending inquire request processed/query_shenmou_short.json
{
"code": 200,
"msg": "ok",
"children": [
  {
   "keys": [
     {
       "type": "key3",
       "value": "计算机信息系统",
       "detailid": "087b2085e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "破坏计算机信息系统",
       "detailid": "087b2085e4a911ea987a005056c00001"
...
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [bug] 长度过长的查询请求会使得无法收到返回值 - zhihao - 10-12-2020 12:33 AM

Forum Jump: