On 19/01/2010, Memmesheimer, Christoph <[email protected]> wrote: > Hi, > > i am new to JMeter.. is it possible to pass Java Objects between Java > Samplers ? > > (thought about sharing a Connection Object)
Do you really mean Java Sampler as in: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Java_Request The provided Java samplers don't use Connection Objects. I suggest you have a look at all the other samplers, and read the manual a few times to get a better feel for what JMeter is about. The standard way to pass items between samplers in the same thread is to use a JMeter variable. These are normally Strings, but you can store anything you like in them if you write the appropriate Java code. > > Thanks & Regards > > Christoph > > > > CENIT AG, Industriestrasse 52-54, 70565 Stuttgart, Tel.: +49 711 7825-30, > Fax: +49 711 7825-4000, Internet: www.cenit.de > Geschaeftsstellen: Berlin, Duesseldorf, Frankfurt, Hamburg, Hannover, > Muenchen, Oelsnitz, Saarbruecken > Vorstandsmitglieder: Kurt Bengel, Christian Pusch > Aufsichtsratsmitglieder: Andreas Schmidt (Vorsitzender des Aufsichtsrats), > Hubert Leypoldt, Andreas Karrer > Bankverbindungen: > Deutsche Bank (BLZ 600 700 70) Kto. 1661 040 IBAN : DE85 6007 0070 0166 1040 > 00 SWIFT-CODE : DEUTDESS, > Commerzbank (BLZ 600 400 71) Kto. 532 015 500 IBAN : DE83 6004 0071 0532 > 0155 00 SWIFT-Code : COBADEFF600, > BW-Bank (BLZ 600 501 01) Kto. 2 403 313 IBAN : DE17 6005 0101 0002 4033 13 > SWIFT-Code : SOLADEST > Registergericht: Amtsgericht Stuttgart > Handelsregister: HRB Nr. 19117 > Umsatzsteuer: ID-Nr. DE 147 862 777 > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

