在使用Loadrunner的Control 產生壓力後,生成的Analysis中提示如下:
The following graph(s) were not created:
1. Hit per second
2. Throughput
3. Transaction Summary
4. Average Transaction Response Time
Possible reason:
The graph, as defined, results in no data.
同時,還生成了一個錯誤日誌analysislog.log,裏面顯示的內容摘要如下:
Analysis Error log: <2010-1-25 15:04:43>
75003 Transaction : <vuser_init_Transaction> InstanceID: 8589934593. Vuser not found
Data Point : <HTTP_302>. Vuser:10 Group: 05 not found
Data Point : <HTTP_404>. Vuser:10 Group: 05 not found
75003 Transaction : <vuser_init_Transaction> InstanceID: 4294967297. Vuser not found
Data Point : <HTTP_404>. Vuser:10 Group: 05 not found
Data Point : <HTTP_404>. Vuser:10 Group: 05 not found
75003 Transaction : <Action_Transaction> InstanceID: 8589934594. Vuser not found
Data Point : <HTTP_200>. Vuser:10 Group: 05 not found
Data Point : <tcp_connection_count>. Vuser:10 Group: 05 not found
Data Point : <tcp_connect>. Vuser:10 Group: 05 not found
Data Point : <tcp_shutdown>. Vuser:10 Group: 05 not found
Data Point : <HTTP_302>. Vuser:10 Group: 05 not found
Data Point : <HTTP_404>. Vuser:10 Group: 05 not found
Data Point : <HTTP_302>. Vuser:2 Group: 05 not found
75003 Transaction : <http://10.8.101.106:8682/lndm/login.do?method=login> InstanceID: 4294967300. Vuser not found
75003 Transaction : <http://10.8.101.106:8682/lndm/portal.jsp;jsessionid=ED7D8F9136CD837B3DDD3B6E0B9AB6FB> InstanceID: 4294967302. Vuser not found
75003 Transaction : <http://10.8.101.106:8682/lndm/ui/css/widgets.css> InstanceID: 4294967304. Vuser not found
75003 Transaction : <http://10.8.101.106:8682/lndm/ui/css/layout.css> InstanceID: 4294967303. Vuser not found
75003 Transaction : <http://10.8.101.106:8682/lndm/ui/css/theme.css> InstanceID: 4294967305. Vuser not found
Data Point : <HTTP_404>. Vuser:2 Group: 05 not found
.......
經由多次試驗,此原因爲腳本名稱爲0(零)開頭,將腳本名稱修改爲其他數字或是字母開頭,就可以正常顯示Analysis的所有graph了。
另外,如果不是腳本名稱導致的,推薦其他解決方案:首先將結果保存,讓其他人打開看看是否存在同樣問題;如沒有差異,可將腳本讓其他人運行一下,看看是否存在同樣問題;如果均不能解決,可以考慮重裝一遍Loadrunner。
--肖楠