hi
if all you want to do is select an id then use the XPATH extractor.

If you want to ask this in the general case , then I believe you will have
to use a scripting language that can run an XSL transform and which can also
interact with the JMeter variables instead of using xsl as the BSF language.

It might also be possible to use XSLT enhancements (which can call java
code), but Im not sure

regards
deepak

On Fri, Feb 11, 2011 at 8:38 AM, papa nagy <[email protected]> wrote:

> hi,
>
> I am trying to use the BSF PostProcessor with a basic XSLT Script! it runs
> without errors but I dont know how to read sample data nor to ouput
> something in a variable.
>
> I found one exaple using this postprocessor with javascript
>
> http://www.havecomputerwillcode.com/blog/?p=500
>
> but cannot find code using xslt, maybee somebody used it before...
>
> this is my xslt, extracting id-attributes:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0" xmlns:xsl="
> http://www.w3.org/1999/XSL/Transform";  >
>
> <xsl:output method="text" version="1.0" encoding="UTF-8" indent="yes"/>
>
> <xsl:template match="/">
> <xsl:value-of select="//*/@id"/>
> </xsl:template>
>
> </xsl:stylesheet>
>

Reply via email to