I'm using Vulcan to build a PHP project using Ant script, which also
calls Jmeter testing. I wrote a nice XSL transformation to produce XML
files with custom metrics such as described here:
http://code.google.com/p/vulcan/wiki/XmlMetrics (<metric key="A label"
value="12" type="number|percent|string"/>; file attached). The build and
test process works well, the only problem is that they don't show up no
matter what possible include and exclude patterns I set up for the
XmlMetrics plugin. :( I tried "results/xml/*.xml" (that's where the file
originally was), "**/*.xml", or even moved the file to the root of the
project's directory and typed simply "*.xml", or typed the exact
filename: "results/xml/jmetermetrics.xml".
I don't get what I'm doing wrong. AFAIK, the path should be relative to
the project's root directory, where the "build.xml" file is. Funnily
enough, the build.xml is the only file I see in listing, even though I
don't want to (screenshot attached). Could it be that XmlMetrics plugin
has only one set of patterns for the entire Vulcan? Shouldn't it have a
per-project setup? Apart from that, I don't know what can be wrong. Be
very thankful for any help.
Regards
Mahy
--
You received this message because you are subscribed to the Google Groups "Vulcan Users" group.
To post to this group, send email to vulcan...@googlegroups.com.
To unsubscribe from this group, send email to vulcan-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vulcan-users?hl=en.
java.io.FileNotFoundException: /usr/share/tomcat6/logs/vulcan.log (No
such file or directory)
(strack trace follows).
Now this is really puzzling. Ideas, anyone?
Mahy
2010/11/30 20:38:49 INFO net.sourceforge.vulcan.core.BuildManager:
Project Zabinec completed build 3 with status PASS.
2010/11/30 20:38:49 DEBUG net.sourceforge.vulcan.metrics.dom.DomBuilder:
Merging file /root/vulcan/work/Zabinec/results/xml/ZabinecMetrics.xml
into metrics document.
2010/11/30 20:38:49 DEBUG
net.sourceforge.vulcan.metrics.XmlMetricsPlugin: Transform identity.xsl
did not produce any metrics.
2010/11/30 20:38:49 DEBUG
net.sourceforge.vulcan.metrics.XmlMetricsPlugin: Transform unit-test.xsl
did not produce any metrics.
2010/11/30 20:38:49 DEBUG
net.sourceforge.vulcan.metrics.XmlMetricsPlugin: Transform
static-analysis.xsl did not produce any metrics.
2010/11/30 20:38:49 DEBUG
net.sourceforge.vulcan.metrics.XmlMetricsPlugin: Transform
code-coverage.xsl did not produce any metrics.
What should I try next?
TIA
Mahy
On 11/24/2010 07:56 PM, Chris Eldredge wrote:
> <mailto:vulcan...@googlegroups.com>.
> To unsubscribe from this group, send email to
> vulcan-users...@googlegroups.com
> <mailto:vulcan-users%2Bunsu...@googlegroups.com>.
Mahy
On 11/24/2010 07:56 PM, Chris Eldredge wrote:
> <mailto:vulcan...@googlegroups.com>.
> To unsubscribe from this group, send email to
> vulcan-users...@googlegroups.com
> <mailto:vulcan-users%2Bunsu...@googlegroups.com>.
TIA
Jan
On 12/03/2010 11:08 PM, Chris Eldredge wrote:
> Looking at your sample XML, you are specifying a label attribute.
> Vulcan is expecting the attribute to be named key. If you change this,
> your metrics should be picked up by the identity transform.
>
> On Tue, Nov 30, 2010 at 3:41 PM, Jan Kotuc <jko...@gmail.com
> <mailto:jko...@gmail.com>> wrote:
>
> It seems that the file is not being processed by the XSL transformation
> responsible for *custom* metrics. What I have are metrics from JMeter
> transformed to the format required for custom metrics in Vulcan...
>
> Mahy
>
> On 11/24/2010 07:56 PM, Chris Eldredge wrote:
> > Mahy,
> >
> > Try adding a line to WEB-INF/classes/log4j.properties like this:
> >
> > log4j.logger.net.sourceforge.vulcan.metrics=DEBUG
> >
> > Then restart the application.
> >
> > On the next build, $TOMCAT_HOME/logs/vulcan.log should print some
> debug
> > statements about which files the metrics plugin is processing, and any
> > errors that occur while parsing them.
> >
> > Hope that helps,
> >
> > Chris
> >
> > On Wed, Nov 24, 2010 at 5:08 AM, Jan Kotuc <jko...@gmail.com
> <mailto:jko...@gmail.com>
> > <mailto:vulcan...@googlegroups.com
> <mailto:vulcan...@googlegroups.com>>.
> > To unsubscribe from this group, send email to
> > vulcan-users...@googlegroups.com
> <mailto:vulcan-users%2Bunsu...@googlegroups.com>
> > <mailto:vulcan-users%2Bunsu...@googlegroups.com
> <mailto:vulcan-users%252Buns...@googlegroups.com>>.