Does anyone know how to get a list of all the errors that occured during a test? We are running a test and getting 503 errors, but without examing every virtual user I am unable to determine how many we are getting, exactly when we are getting them and which are 503's versus other 5xx errors (i.e. error 500).
Performance explorer only gives a high level summary. Thx.
No it doesn't.... It all depends on how your Profile is set up and exactly what you want/need to monitor. I would strongly suggest using the help that comes with SilkPeroformer..... In the overview report it will also tell you exactly how many errors have been generated during your test.
Look in SP help at "event handler". I would suggest creating an events.bdh file and customizing the actions you want to take when a 503 (or any other unique error) occurs. You could write out the time, specific error code, vuser ID and any other specific information to a file whenever the error occurs. Here's a sample of what I have in my event handler. You'll notice in some instances I just perform a return. In other words, end the current iteration but continue further iterations. But in others, I perform a halt by specifying "SEVERITY_PROCESS_EXIT" because I know in those situations the site is hard down anyway.
<font class="small">Code:</font><hr /><pre>
elseif GetErrorCode(GetLastError()) = 1062 then
print("caught HTTP: 1062 - HTML from not found");
RaiseError(0, "HTTP: 1062.", SEVERITY_ERROR);
elseif GetErrorCode(GetLastError()) = 502 then
print("caught HTTP: 502 - Error Code 10061 Connection refused");
RaiseError(0, "HTTP: 502 - Error Code 10061 Connection refused", SEVERITY_PROCESS_EXIT);
elseif GetErrorCode(GetLastError()) = 504 then
print("caught HTTP: 504 - timed out waiting for gateway");
RaiseError(0, "HTTP: 504 - timed out waiting for gateway", SEVERITY_PROCESS_EXIT);