Xml Test Node-----如何检测一个报文长度是否变化

前言:报文的长度在测试中是比较关心的。在开发侧也会对报文长度进行检测,并置出相应的错误。同时在测试报告中在上报错误时将错误帧数统计上来也可以方便验证错误上报策略的正确性。

Xml中代码如下:

<testcase title="Message  0x141 dlc check" ident="Message  0x141 dlc check">

<conditions>

<dlc_ok title="dlc monitor">

<canmsg id="0x141"/>

</dlc_ok>

</conditions>

<wait title="Wait" time="5s"/>

</testcase>

测试结果如下:

猜你喜欢

转载自blog.csdn.net/WlzSnail/article/details/129448052