Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD5CFC171 for ; Thu, 7 Aug 2014 13:39:49 +0000 (UTC) Received: (qmail 20338 invoked by uid 500); 7 Aug 2014 13:39:49 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 20299 invoked by uid 500); 7 Aug 2014 13:39:49 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 20288 invoked by uid 99); 7 Aug 2014 13:39:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 13:39:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 13:39:45 +0000 Received: by mail-wg0-f48.google.com with SMTP id x13so4165735wgg.31 for ; Thu, 07 Aug 2014 06:39:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=gHFfJmMZszszXXtRASvhZoJmWY3XrTot4ZF7NCjUPxo=; b=BXYhUhFv1NFIYApD+3WuzUZIONeHt8dlg2Cq5ETwEUfoZgu1meNQjkPMD6q3qah7PJ hhCUWzJkRuSQUnYtHMezOcl0koTyybOjW4PuYz2gETXQPALw+1OZt/9lRhZbDJqArjI4 E+bTPPDPLbOWJnPIIDWyhrZDuUVuYQ7gnM16HC+/nnUxQxfFMzR/zW7IqglOSjLx4Ooz i9GC7Ig/ZLNTL7PdMbZeWuzu5vOSdVtUZIAHgwUXfhjkHVLHvuE48IXFj0D/ahFCxorp GxyCi6MHzR6AVvetMzKm7Q03vXD0wWOZYDSxr4sFQAWMlbRdU5x60uEIW4HqrlvMwS6X 9GSQ== MIME-Version: 1.0 X-Received: by 10.180.11.135 with SMTP id q7mr24636132wib.67.1407418763760; Thu, 07 Aug 2014 06:39:23 -0700 (PDT) Received: by 10.194.162.231 with HTTP; Thu, 7 Aug 2014 06:39:23 -0700 (PDT) In-Reply-To: <8C6AA6DA66A60A4ABDB59E1BBEE7AA0654F5F0@MBX01-TPM.mimos.local> References: <8C6AA6DA66A60A4ABDB59E1BBEE7AA0654F430@MBX01-TPM.mimos.local> <8C6AA6DA66A60A4ABDB59E1BBEE7AA0654F4E7@MBX01-TPM.mimos.local> <8C6AA6DA66A60A4ABDB59E1BBEE7AA0654F5F0@MBX01-TPM.mimos.local> Date: Thu, 7 Aug 2014 14:39:23 +0100 Message-ID: Subject: Re: Issue in Distributed Testing From: sebb To: JMeter Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 7 August 2014 09:32, Sandhya Kiran wrote: > Hi Jeff, > > Thanks for the information. > > I had missed to place the CSV data file (parameterized users) in Slaves a= nd provide the file path in Jmeter Master. When placed the file and execute= d the script, the script is executed and provides the expected output. > However, the error message still continues to log in Jmeter.log file. > > I have changed the settings in Jmeter.properties file as below. Re-execut= ed the test, but still faced same error. I did find the same 3 lines in the= log. > > Have copied the complete logs for this test in pastebin.com - Jmeter-Dist= ributed Testing. The logs don't look complete to me. I suggest you create a Bugzilla issue and attach the logs to that. (Remember to overwrite any sensitive info first) There should be logs for the master and the slaves. > Please let me know if have to change anything else. > > Thanks, > Sandhya > > -----Original Message----- > From: Jeff Ohrstrom [mailto:johrstrom@hotmail.com] > Sent: Thursday, 7 August, 2014 2:51 PM > To: user@jmeter.apache.org > Subject: Re: Issue in Distributed Testing > > Sandhya, > > Can I have the full logs from one of the JMeter servers and the controlle= r (maybe through pastebin.com) after you've made the changes described belo= w. I'm struggling to think as to why it would matter what test plan you're= running. Maybe someone else on the list will have insight into why you can= run one jmx and not another. I wouldn't think it matters. Are you perhaps = running in a way that seems out of the ordinary? Not the test script, but = the way in which you've started up the servers? > > I've been all over the source code, and even tried this myself and for me= , the 'main' thread is the only thread to interact with this. > > Can you try setting these property in jmeter.properties: > log_format_type=3Dthread_prefix #uncomment this line log_level.jmeter.en= gine=3DDEBUG #uncomment these and set to DEBUG log_level.jmeter.threads=3D= DEBUG #although we'll only see INFO anyhow. > > I'm interested to see if these 3 lines differ. You can see from mine, the= 'main' thread did all 3 of them. It seems in your case that the 1st and 2n= d are happening from two seperate threads. > > 2014/08/06 23:40:52 INFO main > jmeter.engine.ClientJMeterEngine: sent test to 127.0.0.1 basedir=3D'../Te= stPlans' > 2014/08/06 23:40:52 INFO main > jmeter.engine.ClientJMeterEngine: Sending properties {} > 2014/08/06 23:40:52 INFO main > jmeter.engine.ClientJMeterEngine: sent run command to 127.0.0.1 > > > > On Wed, 2014-08-06 at 06:58 +0000, Sandhya Kiran wrote: >> Hi Jeff, >> >> I have set up Load Generator and Controllers(2slaves), all started with = New Instances. I tried with simple Web service call to both Slaves and rece= ived correct response and output. >> >> However, when there is Http call, I get the error when started the test.= I tried, initiating only on slave (Run->Slave1). >> Still facing the same error "Failed to reset remote engine java.lang.Ill= egalStateException: The engine is not owned by this thread - cannot call re= set" >> >> Facing this error in Http script used for Login and Logout using Shibbol= eth mechanism. >> >> Not sure, if there is any setting which I am missing to update. >> >> >> Thanks, >> Sandhya >> >> -----Original Message----- >> From: Jeff Ohrstrom [mailto:johrstrom@hotmail.com] >> Sent: Wednesday, 6 August, 2014 1:52 PM >> To: user@jmeter.apache.org >> Subject: Re: Issue in Distributed Testing >> >> It seems you're trying to reset an load generator's Engine that you did = not create. I would try a simple bounce of the slaves if they aren't exiti= ng properly. >> >> Are you able to execute 1 test with fresh instances of both load generat= ors and the controller or does this error occur before you are ever able to= run any tests? When I say 'you did not create' I mean this; are you restar= ting the controller while the load generators are either still executing a = test or not exiting properly? I mean, the controller is a brand new instan= ce while the load generators are still the same instance from before. >> >> On Tue, 2014-08-05 at 08:29 +0000, Sandhya Kiran wrote: >> > Hi All, >> > >> > I have create a simple Login and Log out script with parameterized use= rs list. This application uses Shibboleth for authentication of the user. >> > >> > The script executes successfully for single instance of jmeter to SUT.= However, when used distributed setup (1Master - 2Slaves - SUT) . The slave= s are not initiated with the test run. >> > >> > Faced with the below error: >> > >> > ERROR - jmeter.engine.ClientJMeterEngine: Failed to reset remote engin= e java.lang.IllegalStateException: The engine is not owned by this thread -= cannot call reset >> > at >> > org.apache.jmeter.engine.RemoteJMeterEngineImpl.checkOwner(RemoteJMete >> > rEngineImpl.java:235) >> > >> > Note: I have ensured both the Slaves are Up and Running, and executed = simple script from Master to verify the connection to slaves. All set up co= rrectly. >> > As per one of the solutions available, I have increased the memory in = slaves to 1024, however it did not resolve this issue. >> > >> > >> > Assistance will be of great help! >> > >> > >> > Thanks. >> > >> > ________________________________ >> > DISCLAIMER: >> > >> > >> > This e-mail (including any attachments) is for the addressee(s) only a= nd may be confidential, especially as regards personal data. If you are not= the intended recipient, please note that any dealing, review, distribution= , printing, copying or use of this e-mail is strictly prohibited. If you ha= ve received this email in error, please notify the sender immediately and d= elete the original message (including any attachments). >> > >> > >> > MIMOS Berhad is a research and development institution under the purvi= ew of the Malaysian Ministry of Science, Technology and Innovation. Opinion= s, conclusions and other information in this e-mail that do not relate to t= he official business of MIMOS Berhad and/or its subsidiaries shall be under= stood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries= and neither MIMOS Berhad nor its subsidiaries accepts responsibility for t= he same. All liability arising from or in connection with computer viruses = and/or corrupted e-mails is excluded to the fullest extent permitted by law= . >> > >> > >> > ------------------------------------------------------------------ >> > - >> > - >> > DISCLAIMER: >> > >> > This e-mail (including any attachments) is for the addressee(s) only >> > and may contain confidential information. If you are not the intended >> > recipient, please note that any dealing, review, distribution, >> > printing, copying or use of this e-mail is strictly prohibited. If you >> > have received this email in error, please notify the sender >> > immediately and delete the original message. >> > MIMOS Berhad is a research and development institution under the >> > purview of the Malaysian Ministry of Science, Technology and >> > Innovation. Opinions, conclusions and other information in this e- >> > mail that do not relate to the official business of MIMOS Berhad >> > and/or its subsidiaries shall be understood as neither given nor >> > endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS >> > Berhad nor its subsidiaries accepts responsibility for the same. All >> > liability arising from or in connection with computer viruses and/or >> > corrupted e-mails is excluded to the fullest extent permitted by law. >> > >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >> For additional commands, e-mail: user-help@jmeter.apache.org >> >> >> ________________________________ >> DISCLAIMER: >> >> >> This e-mail (including any attachments) is for the addressee(s) only and= may be confidential, especially as regards personal data. If you are not t= he intended recipient, please note that any dealing, review, distribution, = printing, copying or use of this e-mail is strictly prohibited. If you have= received this email in error, please notify the sender immediately and del= ete the original message (including any attachments). >> >> >> MIMOS Berhad is a research and development institution under the purview= of the Malaysian Ministry of Science, Technology and Innovation. Opinions,= conclusions and other information in this e-mail that do not relate to the= official business of MIMOS Berhad and/or its subsidiaries shall be underst= ood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries a= nd neither MIMOS Berhad nor its subsidiaries accepts responsibility for the= same. All liability arising from or in connection with computer viruses an= d/or corrupted e-mails is excluded to the fullest extent permitted by law. >> ------------------------------------------------------------------ >> - >> - >> DISCLAIMER: >> >> This e-mail (including any attachments) is for the addressee(s) >> only and may contain confidential information. If you are not the >> intended recipient, please note that any dealing, review, >> distribution, printing, copying or use of this e-mail is strictly >> prohibited. If you have received this email in error, please notify >> the sender immediately and delete the original message. >> MIMOS Berhad is a research and development institution under >> the purview of the Malaysian Ministry of Science, Technology and >> Innovation. Opinions, conclusions and other information in this e- >> mail that do not relate to the official business of MIMOS Berhad >> and/or its subsidiaries shall be understood as neither given nor >> endorsed by MIMOS Berhad and/or its subsidiaries and neither >> MIMOS Berhad nor its subsidiaries accepts responsibility for the >> same. All liability arising from or in connection with computer >> viruses and/or corrupted e-mails is excluded to the fullest extent >> permitted by law. >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >> For additional commands, e-mail: user-help@jmeter.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > > > ________________________________ > DISCLAIMER: > > > This e-mail (including any attachments) is for the addressee(s) only and = may be confidential, especially as regards personal data. If you are not th= e intended recipient, please note that any dealing, review, distribution, p= rinting, copying or use of this e-mail is strictly prohibited. If you have = received this email in error, please notify the sender immediately and dele= te the original message (including any attachments). > > > MIMOS Berhad is a research and development institution under the purview = of the Malaysian Ministry of Science, Technology and Innovation. Opinions, = conclusions and other information in this e-mail that do not relate to the = official business of MIMOS Berhad and/or its subsidiaries shall be understo= od as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries an= d neither MIMOS Berhad nor its subsidiaries accepts responsibility for the = same. All liability arising from or in connection with computer viruses and= /or corrupted e-mails is excluded to the fullest extent permitted by law. > ------------------------------------------------------------------ > - > - > DISCLAIMER: > > This e-mail (including any attachments) is for the addressee(s) > only and may contain confidential information. If you are not the > intended recipient, please note that any dealing, review, > distribution, printing, copying or use of this e-mail is strictly > prohibited. If you have received this email in error, please notify > the sender immediately and delete the original message. > MIMOS Berhad is a research and development institution under > the purview of the Malaysian Ministry of Science, Technology and > Innovation. Opinions, conclusions and other information in this e- > mail that do not relate to the official business of MIMOS Berhad > and/or its subsidiaries shall be understood as neither given nor > endorsed by MIMOS Berhad and/or its subsidiaries and neither > MIMOS Berhad nor its subsidiaries accepts responsibility for the > same. All liability arising from or in connection with computer > viruses and/or corrupted e-mails is excluded to the fullest extent > permitted by law. > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org