摘要
提出了一种基于扩展WSDL文档自动生成Web服务测试用例的方法,生成的测试用例包括测试数据和操作序列两部分:测试数据通过数据类型及刻面约束产生,并在产生过程中,通过子元素的权重调整生成策略,在保证有效性的同时减少了测试数据的数量;操作序列通过分析扩展WSDL的操作依赖关系产生,结合测试数据,能够有效地测试复杂的操作流程.
This paper generates test cases based on extended WSDL document of Web services, generated test cases include test data and operation sequences. Test data are generated by analyzing data types and constraining facets, after adjusting generation strategy by weight of complex datatype^s sub-elements, both validity of test data is guaranteed and amount is reduced. Operation sequences are generated by analyzing operation dependency of extended WSDL, can be used to test complex operation flows combining with test data.
出处
《西南师范大学学报(自然科学版)》
CAS
CSCD
北大核心
2009年第2期140-144,共5页
Journal of Southwest China Normal University(Natural Science Edition)