-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sebb,

sebb schrieb:
> The Exception is
> 
> JMeterStopThreadException

yeah thanks. Works fine and is what I was searching for.


André


> 
> On 30/04/07, sebb <[EMAIL PROTECTED]> wrote:
>> Have a look at StringFromFile - if I recall correctly, that can stop
>> the current thread at the end of the file.
>>
>> I think there is also a Thread Stop Exception/Error - cannot remember
>> the name offhand, but it is probably caught in the JMeterThread class.
>>
>> On 30/04/07, Andre van Hoorn
>> <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> 
> I developed a (markov-)controller which basically reads a configuration
> file and builds an internal model within its overridden method
> 'initialize'. The next sample to be returned by the method 'next'
> depends on the model generated on initialization time.
> 
> I'm wondering how to report errors to the JMeter engine when
> 'initialize' or 'next' are executed. For example the file to be read
> does not exist or it contains an inconsistent model. The JMeter engine
> shall react according to a sampler error, i.e. depending on the thread
> group configuration
> 
> - the test continuous,
> - the thread stops or
> - the entire test stops.
> 
> Existing controllers and config elements seem to simply continue on
> errors as far as I could see in the JMeter source code (e.g. invalid
> conditions are evaluated as false, IO exceptions when reading a CSV
>>> file
> are only catched but no error is reported to the engine.
> 
> Best regards,
> 
> André
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGN1OsLKwmE5jzZmkRAoXBAJ4o/CdJhcqnGEBt7xPmL1Hmp//sPwCfbQtv
Y/5fQUwzmg8VWVdlaYbbQRQ=
=j7BX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to