jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62990] Thread group Loop count cant be set by variable generated by Beanshell preprocessor, Jmeter no execute any iteration..
Date Sun, 09 Dec 2018 11:01:17 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62990

Philippe Mouawad <p.mouawad@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
                 OS|                            |All
             Status|NEW                         |RESOLVED

--- Comment #1 from Philippe Mouawad <p.mouawad@ubik-ingenierie.com> ---
This is not possible by design.

But you could put your Beanshell (better use groovy) code to initialize the var
in User Defined Variables, see:

- http://jmeter.apache.org/usermanual/properties_reference.html#groovy

An alternative if using CSV Data Set, just set :

- Recycle on EOF to false
- Stop Thread on EOF to true

so that once CSV file has been consumed, the threads using it are stopped.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message