Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Automated tests Botium测试案例间歇性失败且不一致_Automated Tests_Chatbot - Fatal编程技术网

Automated tests Botium测试案例间歇性失败且不一致

Automated tests Botium测试案例间歇性失败且不一致,automated-tests,chatbot,Automated Tests,Chatbot,似乎我通过Botium运行的聊天机器人测试用例间歇性地、不一致地失败了。聊天机器人部分使用DialogFlow。调度器会询问用户是否要听音乐等。如果正在播放音乐,用户可能会要求聊天机器人停止/取消音乐 我已经试过增加超时时间了。在我的项目目录中的botium.json文件中,我添加了功能:“WAITFORBOTTIMEOUT”:50000 以下是我的testset目录中的前几个文件: Cancel.conva.txt: Cancel #me Cancel_input #bot Cancel_

似乎我通过Botium运行的聊天机器人测试用例间歇性地、不一致地失败了。聊天机器人部分使用DialogFlow。调度器会询问用户是否要听音乐等。如果正在播放音乐,用户可能会要求聊天机器人停止/取消音乐

我已经试过增加超时时间了。在我的项目目录中的botium.json文件中,我添加了功能:“WAITFORBOTTIMEOUT”:50000

以下是我的testset目录中的前几个文件: Cancel.conva.txt:

Cancel

#me
Cancel_input

#bot
Cancel_output_0
Cancel_input.outagents.txt:

Cancel_input
could you stop
enough music
music off
stop playing the music
can you stop the music
turn off music
enough
can you stop playing music please
stop the music
stop playing
stop
I give up
forget it
not now
stop it
cancel
never mind
go away
be quiet
shut up
i'm busy
Cancel_output_0
Cancelled
取消_输出_0.utternces.txt:

Cancel_input
could you stop
enough music
music off
stop playing the music
can you stop the music
turn off music
enough
can you stop playing music please
stop the music
stop playing
stop
I give up
forget it
not now
stop it
cancel
never mind
go away
be quiet
shut up
i'm busy
Cancel_output_0
Cancelled
日志输出:

Botium Test-Suite
    1) Cancel/Cancel_input-L1
    ✓ Cancel/Cancel_input-L10 (441ms)
    2) Cancel/Cancel_input-L11
    ✓ Cancel/Cancel_input-L12 (245ms)
    3) Cancel/Cancel_input-L13
    4) Cancel/Cancel_input-L14
    ✓ Cancel/Cancel_input-L15 (283ms)
    5) Cancel/Cancel_input-L16
    ✓ Cancel/Cancel_input-L17 (286ms)
    ✓ Cancel/Cancel_input-L18 (269ms)
    ✓ Cancel/Cancel_input-L19 (264ms)
    ✓ Cancel/Cancel_input-L2 (264ms)
    ✓ Cancel/Cancel_input-L20 (256ms)
    ✓ Cancel/Cancel_input-L21 (303ms)
    ✓ Cancel/Cancel_input-L3 (301ms)
    6) Cancel/Cancel_input-L4
    ✓ Cancel/Cancel_input-L5 (230ms)
    ✓ Cancel/Cancel_input-L6 (262ms)
    ✓ Cancel/Cancel_input-L7 (284ms)
...

更多信息请-什么样的聊天机器人?日志输出?我已经在上面发布了日志输出,但忽略了标记它。现在我给它添加了一个标签。(我假设复选标记表示测试通过,数字统计错误?)我还添加了一个关于聊天机器人类型的简短描述,但我不确定这是否回答了您的问题?目前,我只是使用Botium从Dialogflow导出的Dialogflow代理zip文件自动生成的测试集。所有这些测试都在Dialogflow模拟器中正确执行。是否可以(通过电子邮件)与我共享您的agent.zip?我昨天通过电子邮件发送给您。你收到了吗?请提供更多信息-什么样的聊天机器人?日志输出?我已经在上面发布了日志输出,但忽略了标记它。现在我给它添加了一个标签。(我假设复选标记表示测试通过,数字统计错误?)我还添加了一个关于聊天机器人类型的简短描述,但我不确定这是否回答了您的问题?目前,我只是使用Botium从Dialogflow导出的Dialogflow代理zip文件自动生成的测试集。所有这些测试都在Dialogflow模拟器中正确执行。是否可以(通过电子邮件)与我共享您的agent.zip?我昨天通过电子邮件发送给您。你收到了吗?