LoadRunner 中事务就是一组函数,事务本身没有一个特定的意义,这一组函数是:lr_start_transaction("test");和lr_end_transaction("test", LR_AUTO);这一组函数必须同时出现,如果出现其中一个,比如只有开始函数lr_start_transaction("test");没有lr_end_transaction("test", LR_AUTO);函数系统运行后会报错:Error: Vuser started transaction "test", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'.同样的如果只有结束事务没有开始的事务函数报.