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 76EC09110 for ; Tue, 24 Jul 2012 16:25:49 +0000 (UTC) Received: (qmail 23502 invoked by uid 500); 24 Jul 2012 16:25:48 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 23476 invoked by uid 500); 24 Jul 2012 16:25:48 -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 23465 invoked by uid 99); 24 Jul 2012 16:25:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 16:25:48 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FSL_RCVD_USER,HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sginsbourg@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 16:25:44 +0000 Received: by wgbdt14 with SMTP id dt14so6650265wgb.26 for ; Tue, 24 Jul 2012 09:25: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:from:date:message-id:subject:to :cc:content-type; bh=6JxEkIC7EzjQWK60bnR4eh9ZmttGYKo3nKiN7wMrIko=; b=umsvetrGImFPIyK/hTIFnuG0afTj2uGqSeQURF7VzoZSPtEPkSoMgM6JWin08CX1dJ fy5WdchEsF1rdPpf9LkCEgq5bZQfnfSPdERt6SRruMT0+8IoO3dyknHqRR5tSURV4cvB nLLtm472Z22nRmuKNdtrlI6ggP7RHO6jSOmKddQBiCpneU7i5UHO8nFK2HyTK7Omoax8 QDzXfoa1uHGo9537WQZYzCbNQ/2TkQBnR/y9EXMM7iE9XhRMbE/docBz79pNSEx08BGP 3P5zqtADbF4EbCdERfzgCjS2Wp6r/kkieAyV1J58hngguhp7uuKEVaYoJkOUif7Q/xII QR8g== Received: by 10.180.87.232 with SMTP id bb8mr8447557wib.0.1343147122839; Tue, 24 Jul 2012 09:25:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.35.164 with HTTP; Tue, 24 Jul 2012 09:24:42 -0700 (PDT) In-Reply-To: References: <1960820776-1343057632-cardhu_decombobulator_blackberry.rim.net-849316474-@b27.c1.bise3.blackberry> <1115100425-1343060067-cardhu_decombobulator_blackberry.rim.net-1052241066-@b27.c1.bise3.blackberry> From: Shay Ginsbourg Date: Tue, 24 Jul 2012 19:24:42 +0300 Message-ID: Subject: Re: OS process sampler - process parameters issue To: sebb Cc: JMeter Users List Content-Type: multipart/alternative; boundary=f46d0444e99123520a04c595cf34 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0444e99123520a04c595cf34 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable OK - thanks! On Tue, Jul 24, 2012 at 7:23 PM, sebb wrote: > This is getting off-topic for the JMeter mailing list. > > I would probably create a shell script to do the work, and then > execute that using whatever shell you have installed. > > But for simply deleting files, I would probably use one of the > built-in scripting languages, as that will be more portable. > For example, Beanshell as an rm() command. > > On 24 July 2012 17:13, Shay Ginsbourg wrote: > > Please provide as an example, the unix solution to: rm *.txt > > > > thanks, > > Shay > > > > > > > > > > On Tue, Jul 24, 2012 at 7:07 PM, sebb wrote: > >> > >> Wildcards are handled in different ways by different OSes. > >> > >> AFAIK for Windows, it is up to the application to handle the wildcard. > >> > >> Whereas for OSes like Unix, the shell is responsible for expanding > >> wildcards, not the application. > >> > >> If you want shell wildcard matching on Linux, you need to ensure that > >> you actually execute the shell, rather than executing the application > >> directly. > >> > >> On 23 July 2012 17:14, Shay Ginsbourg wrote: > >> > Any other ideas to try? > >> > > >> > > >> > Sent from my BlackBerry=C2=AE smartphone from orange > >> > > >> > -----Original Message----- > >> > From: Cyril SANTUNE > >> > Date: Mon, 23 Jul 2012 11:56:44 > >> > To: JMeter Users List > >> > Reply-To: "JMeter Users List" > >> > Subject: Re: OS process sampler - process parameters issue > >> > > >> > I try \ " ' all failed > >> > > >> > On Mon, Jul 23, 2012 at 11:54 AM, Shmuel Krakower > > >> > wrote: > >> >> Also try back slashing it ie. \* > >> >> =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 2012 7 23 18:48, =D7=9E=D7=90= =D7=AA : > >> >> > >> >>> Try quoting it. There may be something trying to expand the * > >> >>> prematurely. > >> >>> > >> >>> Lee Lowder > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> From: Cyril SANTUNE > >> >>> To: JMeter Users List , > >> >>> sginsbourg@gmail.com > >> >>> Date: 07/23/2012 10:46 AM > >> >>> Subject: Re: OS process sampler - process parameters issue > >> >>> > >> >>> > >> >>> > >> >>> After some tests, if I use * on Windows, it works. But no chance o= n > >> >>> Linux. > >> >>> > >> >>> Sorry, maybe it's bug. > >> >>> > >> >>> > >> >>> > >> >>> On Mon, Jul 23, 2012 at 11:33 AM, Shay Ginsbourg > >> >>> > >> >>> wrote: > >> >>> > Do you mean that this issue is specific to rm command? > >> >>> > > >> >>> > Sent from my BlackBerry=C2=AE smartphone from orange > >> >>> > > >> >>> > -----Original Message----- > >> >>> > From: Cyril SANTUNE > >> >>> > Date: Mon, 23 Jul 2012 11:31:42 > >> >>> > To: JMeter Users List > >> >>> > Reply-To: "JMeter Users List" > >> >>> > Subject: Re: OS process sampler - process parameters issue > >> >>> > > >> >>> > It's weird. I try too with no success. But in use * in another > >> >>> > script > >> >>> > and it works. > >> >>> > > >> >>> > > >> >>> > > >> >>> > On Mon, Jul 23, 2012 at 11:19 AM, Shay Ginsbourg > >> >>> > > >> >>> wrote: > >> >>> >> Hi, > >> >>> >> > >> >>> >> This is exactly what I was trying to do, but it failed. > >> >>> >> > >> >>> >> Any ideas ? > >> >>> >> > >> >>> >> thanks, > >> >>> >> Shay > >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> On Mon, Jul 23, 2012 at 6:16 PM, Cyril SANTUNE > >> >>> wrote: > >> >>> >> > >> >>> >>> Hi, > >> >>> >>> > >> >>> >>> How do you use the OS sampler ? > >> >>> >>> > >> >>> >>> Don't try to do all in the "command". > >> >>> >>> I think you need to split all parameters: > >> >>> >>> For example: > >> >>> >>> command: rm > >> >>> >>> After add value > >> >>> >>> *.txt > >> >>> >>> > >> >>> >>> > >> >>> >>> > >> >>> >>> > >> >>> >>> On Mon, Jul 23, 2012 at 10:27 AM, Shay Ginsbourg > >> >>> >>> >> >>> > > >> >>> >>> wrote: > >> >>> >>> > Hi, > >> >>> >>> > > >> >>> >>> > While working with the OS sampler on Linux, it failed > accepting > >> >>> >>> > * as > >> >>> a > >> >>> >>> > process parameter. > >> >>> >>> > > >> >>> >>> > For example: > >> >>> >>> > > >> >>> >>> > /home/path/example rm *.txt - failed > >> >>> >>> > > >> >>> >>> > /home/path/example rm a.txt - OK > >> >>> >>> > > >> >>> >>> > How can files with specific extensions be removed at once? > >> >>> >>> > > >> >>> >>> > thanks, > >> >>> >>> > Shay > >> >>> >>> > > >> >>> >>> > > >> >>> >>> > > --------------------------------------------------------------------- > >> >>> >>> > 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 > >> >>> >>> > >> >>> >>> > >> >>> >> > >> >>> >> > >> >>> >> -- > >> >>> >> > >> >>> >> Regards, > >> >>> >> > >> >>> >> > >> >>> >> Shay Ginsbourg > >> >>> >> > >> >>> >> Regulatory & Testing Affairs Consultant > >> >>> >> > >> >>> >> > >> >>> >> WWW.GINSBOURG.COM > >> >>> >> > >> >>> >> > >> >>> >> Providing Regulatory, Medical & Performance Testing services > since > >> >>> >> 2008: > >> >>> >> > >> >>> >> > >> >>> >> * IEC 62304 Medical Device Software Life Cycle > >> >>> >> > >> >>> >> * IEEE 829 Software Test Documentation > >> >>> >> > >> >>> >> * ISO 14971 Medical Device Risk Management > >> >>> >> > >> >>> >> * FDA 21 CFR Part 11 Software Validation > >> >>> >> > >> >>> >> * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment > >> >>> >> > >> >>> >> * End-to-end verification, validation, and testing (VV&T) > >> >>> >> > >> >>> >> * FDA and CE submissions > >> >>> >> > >> >>> >> * Open source free testing tools implementation > >> >>> >> > >> >>> >> * Functionality and regression testing > >> >>> >> > >> >>> >> * Software Performance & Load testing > >> >>> >> > >> >>> >> * Software Testing Advanced Automation > >> >>> >> > >> >>> >> * Medical Software Verification & Validation > >> >>> >> > >> >>> >> * Medical Device Verification & Validation > >> >>> >> > >> >>> >> * Medical Device Regulatory Submission > >> >>> >> > >> >>> >> * Organizational Regulatory Qualification > >> >>> >> > >> >>> >> > >> >>> >> Formerly QA Manager of LoadRunner at Mercury Interactive > >> >>> >> > >> >>> >> > >> >>> >> M.Sc. cum laude in Bio-Medical Engineering > >> >>> >> > >> >>> >> M.Sc. in Mechanical Engineering > >> >>> >> > >> >>> >> > >> >>> >> Work: +972(0)3-5185873 > >> >>> >> > >> >>> >> Mobile: +972(0)54-6690915 > >> >>> >> > >> >>> >> > >> >>> >> Email: sginsbourg@gmail.com > >> >>> >> > >> >>> >> > >> >>> >> Visit my personal page on LinkedIn at: > >> >>> >> http://www.linkedin.com/in/shayginsbourg > >> >>> >> > >> >>> >> > >> >>> >> Please consider your environmental responsibility before printi= ng > >> >>> >> this > >> >>> >> e-mail. > >> >>> > > >> >>> > > >> >>> > > --------------------------------------------------------------------- > >> >>> > 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 > >> >>> > >> >>> > >> >>> -- > >> >>> This message has been scanned for viruses and > >> >>> dangerous content by MailScanner, and is > >> >>> believed to be clean. > >> >>> > >> >>> > >> >>> > >> >>> This communication and any attachments are confidential, protected > by > >> >>> Communications Privacy Act 18 USCS =C2=A7 2510, solely for the use= of > the > >> >>> intended recipient, and may contain legally privileged material. I= f > >> >>> you are > >> >>> not the intended recipient, please return or destroy it immediatel= y. > >> >>> Thank > >> >>> you. > >> >>> > >> >>> > --------------------------------------------------------------------- > >> >>> 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 > >> > > >> > > >> > --------------------------------------------------------------------= - > >> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > >> > For additional commands, e-mail: user-help@jmeter.apache.org > > > > > > > > > > -- > > > > Regards, > > > > > > Shay Ginsbourg > > > > Regulatory & Testing Affairs Consultant > > > > > > WWW.GINSBOURG.COM > > > > > > Providing Regulatory, Medical & Performance Testing services since 2008= : > > > > > > * IEC 62304 Medical Device Software Life Cycle > > > > * IEEE 829 Software Test Documentation > > > > * ISO 14971 Medical Device Risk Management > > > > * FDA 21 CFR Part 11 Software Validation > > > > * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment > > > > * End-to-end verification, validation, and testing (VV&T) > > > > * FDA and CE submissions > > > > * Open source free testing tools implementation > > > > * Functionality and regression testing > > > > * Software Performance & Load testing > > > > * Software Testing Advanced Automation > > > > * Medical Software Verification & Validation > > > > * Medical Device Verification & Validation > > > > * Medical Device Regulatory Submission > > > > * Organizational Regulatory Qualification > > > > > > Formerly QA Manager of LoadRunner at Mercury Interactive > > > > > > M.Sc. cum laude in Bio-Medical Engineering > > > > M.Sc. in Mechanical Engineering > > > > > > Work: +972(0)3-5185873 > > > > Mobile: +972(0)54-6690915 > > > > > > Email: sginsbourg@gmail.com > > > > > > Visit my personal page on LinkedIn at: > > http://www.linkedin.com/in/shayginsbourg > > > > > > Please consider your environmental responsibility before printing this > > e-mail. > > > > > --=20 Regards, Shay Ginsbourg Regulatory & Testing Affairs Consultant WWW.GINSBOURG.COM Providing Regulatory, Medical & Performance Testing services since 2008: * IEC 62304 Medical Device Software Life Cycle * IEEE 829 Software Test Documentation * ISO 14971 Medical Device Risk Management * FDA 21 CFR Part 11 Software Validation * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment * End-to-end verification, validation, and testing (VV&T) * FDA and CE submissions * Open source free testing tools implementation * Functionality and regression testing * Software Performance & Load testing * Software Testing Advanced Automation * Medical Software Verification & Validation * Medical Device Verification & Validation * Medical Device Regulatory Submission * Organizational Regulatory Qualification Formerly QA Manager of LoadRunner at Mercury Interactive M.Sc. cum laude in Bio-Medical Engineering M.Sc. in Mechanical Engineering Work: +972(0)3-5185873 Mobile: +972(0)54-6690915 Email: sginsbourg@gmail.com Visit my personal page on LinkedIn at: http://www.linkedin.com/in/shayginsbourg Please consider your environmental responsibility before printing this e-mail. --f46d0444e99123520a04c595cf34--