期刊文献+
共找到2篇文章
< 1 >
每页显示 20 50 100
基于依赖模型的REST接口测试用例生成方法研究 被引量:1
1
作者 刘盈盈 杨秋辉 +1 位作者 姚邦国 刘巧韵 《计算机科学》 CSCD 北大核心 2023年第9期101-107,共7页
REST接口中普遍存在依赖关系,导致生成合理的接口调用序列与输入参数变得十分困难。现有的大多数方法只考虑了其中一种依赖关系,并需要人工执行繁杂的前置操作,生成的测试用例有效性仍然较低。针对以上问题,文中提出了一种基于依赖模型... REST接口中普遍存在依赖关系,导致生成合理的接口调用序列与输入参数变得十分困难。现有的大多数方法只考虑了其中一种依赖关系,并需要人工执行繁杂的前置操作,生成的测试用例有效性仍然较低。针对以上问题,文中提出了一种基于依赖模型的测试用例生成方法。通过解析OpenAPI文档,该方法提取了接口内的操作间依赖关系与参数间依赖关系,并据此建立了两种依赖模型,从模型生成测试用例,最后从3方面确定测试预言。实验结果表明,该方法的输入度量覆盖率达到了100%,状态码类别、状态码、响应资源类型的覆盖率分别达到了100%,91.67%,83.33%,并能在限定时间内检出接口内部缺陷;与RESTler和RESTest相比,该方法的输出度量覆盖率最大提高了36%,触发了最多次的异常响应状态码,检测到接口异常响应的比例最大提高了10%。该方法为REST接口的测试用例生成问题提供了有价值的参考。 展开更多
关键词 REST接口 测试用例生成 操作间依赖 参数间依赖 BERT模型
下载PDF
Operation safety risk analysis method of hydropower project considering time-dependent effect
2
作者 Zhang Sherong Yan Lei 《Engineering Sciences》 EI 2012年第5期45-50,共6页
In order to consider the time-dependent characteristic of risk factors of hydropower project,the method of stochastic process simulating structure resistance and load effect is adopted.On the basis of analyzing the st... In order to consider the time-dependent characteristic of risk factors of hydropower project,the method of stochastic process simulating structure resistance and load effect is adopted.On the basis of analyzing the structure characteristics and mode of operation,the operation safety risk rate assessment model of hydropower project is established on the comprehensive application of the improved analytic hierarchy process,the time-dependent reliability theory and the risk rate threshold.A scheme to demonstrate the time-dependent risk rate assessment method for an example of the earth-rock dam is particularly implemented by the proposed approach.The example shows that operation safety risk rate is closely related to both the service period and design standard;considering the effect of time-dependent,the risk rate increases with time and the intersection of them reflects the technical service life of structures.It could provide scientific basis for the operation safety and risk decision of the hydropower project by predicting the trend of risk rate via this model. 展开更多
关键词 operation safety of hydropower project risk analysis risk rate assessment time-dependent reliability improved analytic hierarchy process
下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部