d6y / jchav

JChav is a way to see the change in performance of your web application over time, by running a benchmark test for each build you produce.
http://jchav.blogspot.com/
3 stars 0 forks source link

JUnitSampler reports shows an empty graphic #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run JChav against a report generated with JUnitSampler

What is the expected output? What do you see instead?
I see an empty graphic, with the following fields:
min time (ms) = 9223372036854775807
max time (ms) = -9223372036854775807
Average time (ms) = 0

What version of the product are you using? On what operating system?
JChav 1.1.0 on Ubuntu 7.04

Please provide any additional information below.

Reports from HttpUnit works fine, but not with JUnitSampler

Original issue reported on code.google.com by mateama...@gmail.com on 29 Aug 2007 at 6:22

Attachments:

GoogleCodeExporter commented 9 years ago
I found out that if I change the name of "sample" to "httpSample" the graphics 
are 
generated ok.

I think that JChav should consider not only the httpSampler of JMeter.

Original comment by mateama...@gmail.com on 29 Aug 2007 at 6:31

GoogleCodeExporter commented 9 years ago
Just to clarify my previous comment, when I said "sample" I mean the tag 
"<sample>".

Original comment by mateama...@gmail.com on 29 Aug 2007 at 6:42

GoogleCodeExporter commented 9 years ago
We implemented a workaround for this by splitting the JMeter & JChav calls into 
two 
build XMLs. These are called sequentially in a BAT with the following SSR 
replace 
call between the Jmeter & JChav tasks:

The JMeter task creates <source JTL XML>
CALL ssr.exe 0 sample httpSample <source JTL XML> <dest JTL XML>
Then the JChav task runs against the <dest JTL XML>

An enhancement or fix inside JChav for this would be very helpful. We are using 
JMeter Transaction Controllers wrapped around our AJAX loops to obtain 
rolled-up 
response times. These are written to JTL MXL as <sample> so they don't show up 
in 
the graphs.

Original comment by scott.ke...@choicepoint.com on 7 Dec 2007 at 2:20

GoogleCodeExporter commented 9 years ago
I will take a look at this, it should be pretty easy to implement as long as 
the XML
fields are all compatible.

However mixing the test types will change the meaning of the summary report in 
that
the summary results will still contain max/mins for all the types of tests run.

Original comment by paul.goulbourn on 22 Dec 2007 at 11:30

GoogleCodeExporter commented 9 years ago

Original comment by paul.goulbourn on 22 Dec 2007 at 11:31

GoogleCodeExporter commented 9 years ago
I have checked in changes to allow the sample and httpSample to be shown. I've 
run
some preliminary tests and the results look OK.

Could one of you guys who has this issue check out the source and confirm if 
this
solves your problem. If it does I will get it promoted into a full release.

Original comment by paul.goulbourn on 23 Dec 2007 at 1:48

GoogleCodeExporter commented 9 years ago
Fix released in version 1.1.2

Original comment by dalla...@gmail.com on 10 Jul 2009 at 2:59