jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fuzzbuster <david.mo...@gmail.com>
Subject For Each Controller doesn't always work
Date Fri, 08 Feb 2008 12:17:41 GMT

I am running JMeter 2.3, and have the following setup:

- HTTP Reqest Sampler
    - Regular Expression Extractor (extracts all items using Match No: -1)
- ForEach Controller (using variable extracted in above RegEx)
    - HTTP Request Sampler

The process actually loads a page and extracts all the items of a specific
type on it, then uses the For Each controller to repeatedly send a request
to remove each one.

Most of the time this works fine, however, occasionally, the ForEach
controller just doesn't process one of the items in the array, and sometimes
it processes, but the output variable name isn't processed, and simply comes
out as "${returnVar}" rather than the extracted value itself.

I've verified this behaviour using log messages to determine exactly what
the RegEx Extractor has extracted.

My alternative solution is to repeatedly load the page, and each time pick
the 1st item until they've all been deleted, but this is additional overhead
and affects my volume test too much.

Many thanks in advance.

-- 
View this message in context: http://www.nabble.com/For-Each-Controller-doesn%27t-always-work-tp15354225p15354225.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message