TY - JOUR
T1 - A workload generation method for TTCN-3 performance testing
AU - Xu, Luo
AU - Wu, Ji
AU - Liu, Chao
PY - 2011/6
Y1 - 2011/6
N2 - 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.
AB - 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.
KW - Model-driven testing
KW - Performance testing
KW - TTCN-3
KW - Workload generation
KW - Workload modeling
UR - https://www.scopus.com/pages/publications/79960057326
U2 - 10.3724/SP.J.1016.2011.00985
DO - 10.3724/SP.J.1016.2011.00985
M3 - 文章
AN - SCOPUS:79960057326
SN - 0254-4164
VL - 34
SP - 985
EP - 1000
JO - Jisuanji Xuebao/Chinese Journal of Computers
JF - Jisuanji Xuebao/Chinese Journal of Computers
IS - 6
ER -