计算机科学 ›› 2013, Vol. 40 ›› Issue (8): 157-160.

• 软件与数据库技术 • 上一篇    下一篇

Web应用测试的通用编解码器研究

柳永坡,吴际,刘霜梅   

  1. 北京航空航天大学计算机学院 北京100191;北京航空航天大学计算机学院 北京100191;青岛农业大学理学与信息科学学院 青岛266109
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家高技术研究发展计划(863计划)项目(2009AA01Z145)资助

Research of Generic Codec for Web Application Testing

LIU Yong-po,WU Ji and LIU Shuang-mei   

  • Online:2018-11-16 Published:2018-11-16

摘要: 编解码器是TTCN-3测试系统的重要组成部分,用来对TTCN-3测试数据和被测软件的输入/输出数据进行双向转换。面向Web应用测试系统的通用编解码器的研究,就是要把TTCN-3测试数据转化成URL请求,并对网页进行分析,抽取测试关心的信息,将其转化成TTCN-3测试数据。针对Web应用页面数据量大、干扰信息多的特点,提出了多层解析组装的实现方案。实践表明,该方案可行,可大大减少编解码开发工作量。

关键词: TTCN-3,测试系统,Web应用测试,编解码器,多层解析

Abstract: Codec is a necessary part of TTCN-3test system which transfers TTCN-3template data to SUT input data,and SUT output data to TTCN-3template data.This paper presented the design of generic codec for testing Web application.The generic codec needs to transform TTCN-3template into URL request string,and extract Web page content to transform into TTCN-3template.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.

Key words: TTCN-3,Test system,Web application testing,Codec,Multi-level parsing

[1] ETSI.European Standard(ES)201873-6V3.1.1(2005-06):Methods for Testing and Specification(MTS);The Testing and Test Control Notation version 3;Part 6:TTCN-3Control Interface(TCI).European Telecommunications Standards Institute(ETSI),Sophia-Antipolis,France,also published as ITU-T.Recommendation Z.140,2005
[2] ETSI.European Standard(ES)201 873-5 V3.1.1(2005-06):Methods for Testing and Specification(MTS);The Testing and Test Control Notation version 3;Part 5:TTCN-3Runtime Interface(TRI).European Telecommunications Standards Institute(ETSI),Sophia-Antipolis,France,also published as ITU-T.Recommendation Z.140,2005
[3] Probert R L,Stepien B,Xiong P.Formal Testing of Web Content using TTCN-3[C]∥TTCN-3User Conference 2005.Sophia-Antipolis,France,2005
[4] 路晓丽.Web应用软件的测试技术研究[D].西安:西北大学,2006
[5] Schieferdecker I,Pietsch S,Vassiliou-Gioles T.Systematic Testing of Internet Protocols- First Experiences in Using TTCN-3for SIP[C]∥5th Africom Conference on Communication Systems.Cape Town,South Africa,May 2001
[6] 高翔,蒋凡.TTCN-3研究综述[J].计算机工程与科学,2004,126(16)
[7] 刘小勇,蒋凡.面向对象的TTCN-3测试系统的实现[J].计算机工程,2006,32(10)

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!