[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-use
Subject:    Re: [Grinder-use] Generating graphs of grinder results - update..
From:       Hitesh Bagchi <hbagchi () yahoo ! com>
Date:       2007-06-13 13:08:06
Message-ID: 409737.36413.qm () web53205 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks, Marc. 
I have changed it to 1000 and it's displaying all the test numbers but I get the same \
error with a different error code,

............Truncated output............................................
Test number: 5009, test name: GET file_obj.gif
Test number: 5010, test name: GET treeItemLast.gif
Test number: 5101, test name: GET treeview.do
Test number: 5102, test name: GET treeNodeCloseLast.gif
Test number: 5103, test name: GET new_folder_icon4.gif
Test number: 5104, test name: GET icon_folder_precondition1.gif
Bucket time: 385, txSecTot = 0.0, respTime: 0.0
Bucket time: 770, txSecTot = 0.0, respTime: 0.0
Traceback (most recent call last):
  File "analyze.py", line 292, in <module>
    currentBucket.addLine( data )
  File "analyze.py", line 61, in addLine
    self.addTestData( key, columns )
  File "analyze.py", line 47, in addTestData
    self.transactions[testKey].totalPass += agents
KeyError: '100'



Marc Van Giel <marc.vangiel@xplore.be> wrote: had the same problem.. 
if you have, for instance 20 tests, then you should read at least the last 25 lines \
of the data file.

you have to specify the correct number of last lines to read from the data file.. it \
is hardcoded for '100' lines.. as you can see in your output, your test id's go from \
1000 to 5000.. 

try to find the line where the number of "last lines" is specified (it's commented \
somewhere) and increase this number until all test names are being found.. these test \
names will then be stored in a map object for later reference.

this particular error occurs when the test map does not include the testname that is \
encountered. 


goodluck,
Marc.


----- Original Message -----
From: "Hitesh Bagchi" 
To: "grinder-use" 
Sent: woensdag 13 juni 2007 13.13 u. (GMT+0100) Europe/Berlin
Subject: Re: [Grinder-use] Generating graphs of grinder results - update..

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


       
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 


[Attachment #5 (text/html)]

Thanks, Marc. <br>I have changed it to 1000 and it's displaying all the test numbers \
but I get the same error with a different error code,<br><br>............Truncated \
output............................................<br>Test number: 5009, test name: \
GET file_obj.gif<br>Test number: 5010, test name: GET treeItemLast.gif<br>Test \
number: 5101, test name: GET treeview.do<br>Test number: 5102, test name: GET \
treeNodeCloseLast.gif<br>Test number: 5103, test name: GET \
new_folder_icon4.gif<br>Test number: 5104, test name: GET \
icon_folder_precondition1.gif<br>Bucket time: 385, txSecTot = 0.0, respTime: \
0.0<br>Bucket time: 770, txSecTot = 0.0, respTime: 0.0<br>Traceback (most recent call \
last):<br>&nbsp; File "analyze.py", line 292, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; \
currentBucket.addLine( data )<br>&nbsp; File "analyze.py", line 61, in \
addLine<br>&nbsp;&nbsp;&nbsp; self.addTestData( key, columns )<br>&nbsp; File \
"analyze.py", line 47, in addTestData<br>&nbsp;&nbsp;&nbsp;  \
self.transactions[testKey].totalPass += agents<br>KeyError: \
'100'<br><br><br><br><b><i>Marc Van Giel &lt;marc.vangiel@xplore.be&gt;</i></b> \
wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); \
margin-left: 5px; padding-left: 5px;"> had the same problem.. <br>if you have, for \
instance 20 tests, then you should read at least the last 25 lines of the data \
file.<br><br>you have to specify the correct number of last lines to read from the \
data file.. it is hardcoded for '100' lines.. as you can see in your output, your \
test id's go from 1000 to 5000.. <br><br>try to find the line where the number of \
"last lines" is specified (it's commented somewhere) and increase this number until \
all test names are being found.. these test names will then be stored in a map object \
for later reference.<br><br>this particular error occurs when the test map does not \
include the testname that is encountered. \
<br><br><br>goodluck,<br>Marc.<br><br><br>----- Original  Message -----<br>From: \
"Hitesh Bagchi" <hbagchi@yahoo.com><br>To: "grinder-use" \
<grinder-use@lists.sourceforge.net><br>Sent: woensdag 13 juni 2007 13.13 u. \
(GMT+0100) Europe/Berlin<br>Subject: Re: [Grinder-use] Generating graphs of grinder \
results - update..<br><br>-------------------------------------------------------------------------<br>This \
SF.net email is sponsored by DB2 Express<br>Download DB2 Express C - the FREE version \
of DB2 express and take<br>control of your XML. No limits. Just data. Click to get it \
now.<br>http://sourceforge.net/powerbar/db2/<br><br>-------------------------------------------------------------------------<br>This \
SF.net email is sponsored by DB2 Express<br>Download DB2 Express C - the FREE version \
of DB2 express and take<br>control of your XML. No limits. Just data. Click to get it \
now.<br>http://sourceforge.net/powerbar/db2/<br>_______________________________________________<br>grinder-use \
mailing  list<br>grinder-use@lists.sourceforge.net<br>https://lists.sourceforge.net/li \
sts/listinfo/grinder-use<br></grinder-use@lists.sourceforge.net></hbagchi@yahoo.com></blockquote><br><p>&#32;
  <hr size=1>Ready for the edge of your seat? 
<a href="http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/">Check out tonight's \
top picks</a> on Yahoo! TV. 



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic