Hi, 

Just noticed a missing slash in your XPath between "memory" and "@free", it 
should be: 
/status/jvm/memory/@free 

This extracts the correct value for me 

Regards, 
Noel 

----- "kukukuku" <[email protected]> wrote: 
> 
> Hi, 
> 
> here the relevant part: 
> <?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" 
> href="/manager/xform.xsl" ?> 
> <status> 
> <jvm> 
> <memory free='5028256' total='23900160' max='66650112' /> 
> </jvm> 
> <!-- here comes the rest.......... --> 
> </status> 
> 
> i don't think it has something to do with the expression cause if i use /* i 
> also get nothing. 
> 
> 
> 
> 
> kukukuku wrote: 
> > 
> > Hi, 
> > 
> > I'm monitoring my tomcat according to the monitor tutorial on the 
> > reference documentation. I have an Simple Data Writer where i save the 
> > response and right behind it i have an XPath Extractor post processor with 
> > the following expression "/status/jvm/mem...@free". To test if it works 
> > i've set up an beanshell post processor to validate the variable which was 
> > set. However it is not working, i think i'm missing something. Please 
> > help. 
> > 
> > kuku 
> > 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Question-about-XPath-Extractor-tp27716815p27716994.html 
> Sent from the JMeter - User mailing list archive at Nabble.com. 
> 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: [email protected] 
> For additional commands, e-mail: [email protected] 
> 
> 

Reply via email to