摘要
编解码器是TTCN-3测试系统的重要组成部分,用来对TTCN-3测试数据和被测软件的输入/输出数据进行双向转换。面向Web应用测试系统的通用编解码器的研究,就是要把TTCN-3测试数据转化成URL请求,并对网页进行分析,抽取测试关心的信息,将其转化成TTCN-3测试数据。针对Web应用页面数据量大、干扰信息多的特点,提出了多层解析组装的实现方案。实践表明,该方案可行,可大大减少编解码开发工作量。
Codec is a necessary part of TTCN-3 test system which transfers TTCN-3 template data to SUT input data, and SUT output data to TTCN-3 template data. This paper presented the design of generic codee for testing Web appli- cation. The generic codec needs to transform TTCN-3 template into URL request string, and extract Web page content to transform into TTCN-3 template. Conscious of the Web pages with large volume of data and noise data, this paper presented the multi-level parsing and composition strategy. Experiments show that the strategy works well, and could save much codec development effort.
出处
《计算机科学》
CSCD
北大核心
2013年第8期157-160,共4页
Computer Science
基金
国家高技术研究发展计划(863计划)项目(2009AA01Z145)资助