轉帖|使用教程|編輯:蔣永|2016-12-26 13:55:05.000|閱讀 1042 次
概述:本文收集了一些LoadRunner常見錯誤收集及解決方案,供大家參考學習,需要的小伙伴趕緊收藏啦!
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關鏈接:
一. This Vuser already started a transaction with the same name, and has not yet processed the corresponding lr_end_transaction statement.
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 (Exception e) {
// TODO Auto-generated catch block
lr.end_transaction("searchItemList_man",lr.FAIL);
e.printStackTrace();
}
|
1 Action()
2 {
3
4 //返回的字符串
5 char resp_txt[200] = {0};
6 //寫入流的數據
7 long myfile;
8 //當前日期時間
9 long now;
10 .....
11 ......
12
13 return 0;
14 }
|
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn