LoadRunner的 lr.start_transaction( String transaction_name )方法
lr.start_transaction( String transaction_name ); 的介绍:
The lr_start_transaction function marks the beginning of a transaction. To indicate a transaction to be analyzed, use the lr_start_transaction and lr_end_transaction functions. These functions are inserted immediately before and after the transaction.
lr_start_transaction 方法声明一个事务的开始. 通过使用 lr_start_transaction和 lr_end_transaction来标明一个可以被分析的事务.它们成对的出现在一个事务的开头和结尾.
Transactions can be nested, but each lr_start_transaction statement must be associated with an lr_end_transaction statement or it will be interpreted as an illegal command.
虽然事务可以被嵌套,但是lr_start_transaction 和lr_end_transaction 声明必须一一对应,否则将被标记为非法命令.
Note: Do not use the period character (.) in a transaction or sub-transaction name. The period character delimits transactions and sub-transactions. In analysis, a transaction name with a period will be interpreted as two transactions.
注意: 事务及其子事务的名字中不允许用句号(.), 句号将会分隔事务或者子事务,如果事务名字有句号的话,将会解读为两个事务
浙公网安备 33010602011771号