?????. This Vuser already started a transaction with the same name?? and has not yet processed the corresponding lr_end_transaction statement.
?????????????????????????????????????This Vuser already started a transaction with the same name?? and has not yet processed the corresponding lr_end_transaction statement.
??????????????????????????????????н??????????loadrunner????????????????????????????????????????????????
??????????:
???????д????У???????????????(Throw Exception)??????????if?ж?????????У??????????catch???????????????????"searchItemList_man"??б?????????????ο????????????~
1 public int action() throws Throwable {
2
3         misc = generateManItemSearchCondition();
4                 lr.start_transaction("searchItemList_man");
5         try {
6             //?????
7             items = searchService.searchItemList(misc);
8             if (items.isSuccess()) {
9                 lr.end_transaction("searchItemList_man"??lr.PASS);
10
11             } else {
12                 lr.end_transaction("searchItemList_man"??lr.FAIL);
13             }
14             orderMap.clear();
15             productIdSet.clear();
16             productStatusList.clear();
17         } catch (Exception e) {
18
19
20             e.printStackTrace();
21         }
22
23
24         misc = null;
25         items = null;
26         return 0;
27     }//end of action
?????????:  ??catch??????????? ????????????????catch?δ???????:
catch (Exception e) {
// TODO Auto-generated catch block
lr.end_transaction("searchItemList_man"??lr.FAIL);
e.printStackTrace();
}