A workload generation method for TTCN-3 performance testing

被引:0
|
作者
Xu L. [1 ,2 ]
Wu J. [1 ]
Liu C. [1 ]
机构
[1] School of Computer Science and Engineering, Beihang University
[2] North China Institute of Computer Technology
来源
关键词
Model-driven testing; Performance testing; TTCN-3; Workload generation; Workload modeling;
D O I
10.3724/SP.J.1016.2011.00985
中图分类号
学科分类号
摘要
TTCN-3 (Testing and Test Control Notation version 3) is a test specification and implementation language to define test procedures for black-box testing. As TTCN-3 has been widely accepted and applied in many fields of testing, the demand of using TTCN-3 in performance testing is emerged and increased rapidly. In performance testing, how to define and generate workload is an important issue. However, because of TTCN-3 language's insufficient support, testers usually need to make a great effort to manually write workload generation code in TTCN-3. This paper proposes a model-driven method to facilitate workload generation in TTCN-3 performance test. According to the method, the LQM (Load Quantity Model) is used to character the workload quantities and the constraints between the quantities, while the LPM (Load Profile Model) could define the value of each quantity and its changes with respect to time. This paper also presents a series of algorithm to automate the transformation from the model to the TTCN-3 test system. Finally, together with a set of control points the authors designed in this paper, the TTCN-3 test system could be executed in order to generate the expected workload. A case is used to demonstrate the capability of the method and validate the accuracy of the generated workload.
引用
收藏
页码:985 / 1000
页数:15
相关论文
共 17 条
  • [1] Deng X.-P., Xing C.-X., Cai L.-H., Progress in testing for Web applications, Journal of Computer Research and Development, 44, 8, pp. 1273-1283, (2007)
  • [2] Lou H., Zeng H.-X., Some recommendations for performance testing using TTCN-3, Proceedings of the 2009 International Conference on Electronic Computer Technology (ICECT2009), pp. 249-253, (2009)
  • [3] Dai Z.R., Grabowski J., Neukirchen H., Timed TTCN-3-A real-time extension for TTCN-3, Proceedings of the 14th IF-IP International Conference on Testing of Communicating Systems (TestCom 2002), pp. 407-424, (2002)
  • [4] Song B., Li X.-F., Jiang C.-Z., Extension to TTCN-3 synchronization, Journal of Southwest Jiaotong University, 40, 1, pp. 39-43, (2005)
  • [5] Din G., Tolea S., Schieferdecker I., Distributed load tests with TTCN-3, Proceedings of the 18th IFIP International Conference on Testing of Communicating Systems (TestCom 2006), pp. 177-196, (2006)
  • [6] Bozoki F., Csondes T., Scheduling in performance test environment, Proceedings of the 16th International Conference on Software, Telecommunications and Computer Networks (SoftCOM 2008), pp. 404-408, (2008)
  • [7] Jiang F., Wan X.-F., End to end performance testing system using TTCN-3, Computer Science, 33, 11, pp. 29-31, (2006)
  • [8] Din G., An IMS performance benchmark implementation based on the TTCN-3 language, International Journal on Software Tools for Technology Transfer (STTT), 10, 4, pp. 359-370, (2008)
  • [9] Schieferdecker I., Din G., Apostolidis D., Distributed functional and load tests for Web services, International Journal on Software Tools for Technology Transfer (STTT), 7, 4, pp. 351-360, (2005)
  • [10] Shan M., Wang X.-R., Zhao L.-J., Guo L.-L., Using TTCN-3 in performance test for service application, Proceedings of the 7th ACIS International Conference on Software Engineering Research, Management and Applications (SERA'09), pp. 253-258, (2009)