How can I unsubscribe myself ?

2016-10-21 Thread Sheetal Jharia Baru
Hi Team,
I no longer work in JMeter hence do not wish to receive these emails.
Can I please be unsubscribed ?

Thanks,
Sheetal


Re: How can I make different threads use different values?

2016-03-07 Thread Sheetal Jharia Baru
Hi Prakash ,

Using getThreadNum , I could get the thread number. I am running my threads
in loop. Is there a way I can get the loop number also ?
Thanks.

On Thu, Mar 3, 2016 at 6:30 AM, Prakash Palnati  wrote:

> You can use ctx.getThreadNum which will return the current thread number
> and use that variable to differentiate which image to point/download.
>
> -Prakash
> On 03-Mar-2016 1:40 am, "Sheetal Jharia Baru"  wrote:
>
> > I am using OS Sampler to execute a shell script on my local ubuntu
> system.
> > This script in turn downloads a image from remote repository. As
> expected ,
> > when the script is run multiple times, same image is downloaded. Is
> there a
> > way that each thread can download a different image (can image become
> some
> > sort of variable and I can give different image name via this variable to
> > each thread ?
> > Any help is appreciated.
> > Thanks !
> >
>


Re: How can I make different threads use different values?

2016-03-03 Thread Sheetal Jharia Baru
Deepak ,
You have a valid point. Running multiple OS processes may not simulate it
accurately. In ideal case, we will have different users running the
same *command
line *requesting images from our single server (this server is load
balanced obviously).
I believe JMeter has feature to simulate such scenario by invoking multiple
threads on different machines ?

On Thu, Mar 3, 2016 at 3:14 AM, Deepak Shetty  wrote:

> >Even though it is http protocol , I have to use product specific commands
> to download and upload the image to the URL.
> And when real users are uploading/downloading images , they will all do so
> from the same physical server - if not then you might not be able to
> simulate this accurately - as running multiple OS processes on the same
> server can be quite different than running the same process on different
> servers (HTTP fares better in that respect)
>
> On Wed, Mar 2, 2016 at 1:15 PM, Sheetal Jharia Baru 
> wrote:
>
> > Thanks for the links, I will go through them.
> > Even though it is http protocol , I have to use product specific commands
> > to download and upload the image to the URL.
> >
> > On Thu, Mar 3, 2016 at 2:36 AM, Deepak Shetty  wrote:
> >
> > > hi
> > > yes this is pretty much standard for Jmeter. You can use variables
> > > ${variableName} and you only need to setup how this variable gets
> > > populated. The most common element used is CSV data set config - but
> > there
> > > are others too (read the component reference)
> > >
> > > See -
> > >
> > >
> >
> http://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config
> > > And you can google for tutorials
> > >
> > >
> >
> https://www.google.com/search?q=CSV+data+set+config+jmeter+tutorial&ie=utf-8&oe=utf-8
> > >
> > >
> > > Im curious why you are using an OS Sampler for the purpose of
> downloading
> > > an image ? is the protocol not HTTP ?
> > > regards
> > > deepak
> > >
> > > On Wed, Mar 2, 2016 at 12:10 PM, Sheetal Jharia Baru <
> > sheeta...@gmail.com>
> > > wrote:
> > >
> > > > I am using OS Sampler to execute a shell script on my local ubuntu
> > > system.
> > > > This script in turn downloads a image from remote repository. As
> > > expected ,
> > > > when the script is run multiple times, same image is downloaded. Is
> > > there a
> > > > way that each thread can download a different image (can image become
> > > some
> > > > sort of variable and I can give different image name via this
> variable
> > to
> > > > each thread ?
> > > > Any help is appreciated.
> > > > Thanks !
> > > >
> > >
> >
>


Re: How can I make different threads use different values?

2016-03-03 Thread Sheetal Jharia Baru
Hi Deepak, Prakash,

Thanks a lot for your help. Both CSV Data Set config and ctx.getThreadNum
solved my problem. I am new to JMeter and finding this small piece of info
in vast documentation was difficult.

Thanks!

On Thu, Mar 3, 2016 at 6:30 AM, Prakash Palnati  wrote:

> You can use ctx.getThreadNum which will return the current thread number
> and use that variable to differentiate which image to point/download.
>
> -Prakash
> On 03-Mar-2016 1:40 am, "Sheetal Jharia Baru"  wrote:
>
> > I am using OS Sampler to execute a shell script on my local ubuntu
> system.
> > This script in turn downloads a image from remote repository. As
> expected ,
> > when the script is run multiple times, same image is downloaded. Is
> there a
> > way that each thread can download a different image (can image become
> some
> > sort of variable and I can give different image name via this variable to
> > each thread ?
> > Any help is appreciated.
> > Thanks !
> >
>


Re: How can I make different threads use different values?

2016-03-02 Thread Sheetal Jharia Baru
Thanks for the links, I will go through them.
Even though it is http protocol , I have to use product specific commands
to download and upload the image to the URL.

On Thu, Mar 3, 2016 at 2:36 AM, Deepak Shetty  wrote:

> hi
> yes this is pretty much standard for Jmeter. You can use variables
> ${variableName} and you only need to setup how this variable gets
> populated. The most common element used is CSV data set config - but there
> are others too (read the component reference)
>
> See -
>
> http://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config
> And you can google for tutorials
>
> https://www.google.com/search?q=CSV+data+set+config+jmeter+tutorial&ie=utf-8&oe=utf-8
>
>
> Im curious why you are using an OS Sampler for the purpose of downloading
> an image ? is the protocol not HTTP ?
> regards
> deepak
>
> On Wed, Mar 2, 2016 at 12:10 PM, Sheetal Jharia Baru 
> wrote:
>
> > I am using OS Sampler to execute a shell script on my local ubuntu
> system.
> > This script in turn downloads a image from remote repository. As
> expected ,
> > when the script is run multiple times, same image is downloaded. Is
> there a
> > way that each thread can download a different image (can image become
> some
> > sort of variable and I can give different image name via this variable to
> > each thread ?
> > Any help is appreciated.
> > Thanks !
> >
>


How can I make different threads use different values?

2016-03-02 Thread Sheetal Jharia Baru
I am using OS Sampler to execute a shell script on my local ubuntu system.
This script in turn downloads a image from remote repository. As expected ,
when the script is run multiple times, same image is downloaded. Is there a
way that each thread can download a different image (can image become some
sort of variable and I can give different image name via this variable to
each thread ?
Any help is appreciated.
Thanks !


Re: How can we create .jmx file without using GUI ?

2016-03-02 Thread Sheetal Jharia Baru
Hi ,
I finally got UI enabled on ubuntu, created the test plan using UI and
executed it using CLI. This worked !

I am using OS Sampler to execute a shell script on my local system. This
script in turn downloads a image from remote repository. As expected , when
the script is run multiple times, same image is downloaded. Is there a way
that each thread can download a different image (can image become some sort
of variable and I can give different names to this variable for each
thread) ?
Any help is appreciated. Thanks !

On Mon, Feb 22, 2016 at 5:34 AM, Mark Miller 
wrote:

> I move test plans between OSX and Windows regularly without issue. That is
> a significant version difference. Come up to latest on Ubuntu. Check you
> JRE versions are reasonable too. Should work assuming nothing platform
> special in your test plan.
>
> m
>
> On Sun, Feb 21, 2016, 12:00 Sheetal Jharia Baru 
> wrote:
>
> > Hi Mark,
> > I did the same. On my windows installed jmeter and created the test plan
> > using OS Sampler.
> > I then transferred the .jmx file to my ubuntu system and ran the command
> > "jmeter -n -t /root/testDock.jmx -l testresult.jtl" and get this error:
> >
> > *Error in NonGUIDriver java.lang.NullPointerException*
> >
> > Could it be because I have slightly different versions on Win and
> Ubunbtu?
> > Win : 2.13 r1665067
> > Ubuntu : Version 2.8.20130705
> >
> > Thanks for your help.
> >
> > On Sun, Feb 21, 2016 at 3:44 AM, Mark Miller 
> > wrote:
> >
> > > It seems more practical, to me, to develop your test plan in an
> > environment
> > > where you have the support of the UI. Then move your test plan (.jmx)
> to
> > > the ubuntu machine and invoke that test with -n (headless) and the
> other
> > > logging params etc. so that you can review your results from that
> > context.
> > >
> > > I'm sure it's possible to initiate a jmx file without the benefit of
> the
> > > UI, but you'd only approach doing so from a place of general mastery
> with
> > > JMeter (my opinion).
> > >
> > > Hope that helps.
> > >
> > > Mark
> > >
> > > On Sat, Feb 20, 2016 at 11:25 AM Richard Friedman 
> > > wrote:
> > >
> > > > Why not use the OS Sampler?
> > > >
> > > >
> > >
> >
> http://jmeter.apache.org/usermanual/component_reference.html#OS_Process_Sampler
> > > >
> > > > Here is a quick one I just created.
> > > >
> > > >
> > > >
> > > > On Sat, Feb 20, 2016 at 12:57 PM, Sheetal Jharia Baru <
> > > sheeta...@gmail.com
> > > > > wrote:
> > > >
> > > >> Hi,
> > > >> I have installed Jmeter on my ubuntu machine which doesnt have UI
> > > enabled.
> > > >> I know I can run jmeter on CLI but I would need to create the .jmx
> > file
> > > >> for
> > > >> running the shell script/command which I want to test.
> > > >> Any sample .jmx fle which can run a command on shell will be
> helpful.
> > I
> > > >> can
> > > >> make appropriate changes to it as per my environment.
> > > >>
> > > >> Thanks for the help !
> > > >>
> > > >
> > > >
> > > > -
> > > > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> > > > For additional commands, e-mail: user-h...@jmeter.apache.org
> > >
> >
>


Re: How can we create .jmx file without using GUI ?

2016-02-21 Thread Sheetal Jharia Baru
Hi Mark,
I did the same. On my windows installed jmeter and created the test plan
using OS Sampler.
I then transferred the .jmx file to my ubuntu system and ran the command
"jmeter -n -t /root/testDock.jmx -l testresult.jtl" and get this error:

*Error in NonGUIDriver java.lang.NullPointerException*

Could it be because I have slightly different versions on Win and Ubunbtu?
Win : 2.13 r1665067
Ubuntu : Version 2.8.20130705

Thanks for your help.

On Sun, Feb 21, 2016 at 3:44 AM, Mark Miller 
wrote:

> It seems more practical, to me, to develop your test plan in an environment
> where you have the support of the UI. Then move your test plan (.jmx) to
> the ubuntu machine and invoke that test with -n (headless) and the other
> logging params etc. so that you can review your results from that context.
>
> I'm sure it's possible to initiate a jmx file without the benefit of the
> UI, but you'd only approach doing so from a place of general mastery with
> JMeter (my opinion).
>
> Hope that helps.
>
> Mark
>
> On Sat, Feb 20, 2016 at 11:25 AM Richard Friedman 
> wrote:
>
> > Why not use the OS Sampler?
> >
> >
> http://jmeter.apache.org/usermanual/component_reference.html#OS_Process_Sampler
> >
> > Here is a quick one I just created.
> >
> >
> >
> > On Sat, Feb 20, 2016 at 12:57 PM, Sheetal Jharia Baru <
> sheeta...@gmail.com
> > > wrote:
> >
> >> Hi,
> >> I have installed Jmeter on my ubuntu machine which doesnt have UI
> enabled.
> >> I know I can run jmeter on CLI but I would need to create the .jmx file
> >> for
> >> running the shell script/command which I want to test.
> >> Any sample .jmx fle which can run a command on shell will be helpful. I
> >> can
> >> make appropriate changes to it as per my environment.
> >>
> >> Thanks for the help !
> >>
> >
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> > For additional commands, e-mail: user-h...@jmeter.apache.org
>


How can we create .jmx file without using GUI ?

2016-02-20 Thread Sheetal Jharia Baru
Hi,
I have installed Jmeter on my ubuntu machine which doesnt have UI enabled.
I know I can run jmeter on CLI but I would need to create the .jmx file for
running the shell script/command which I want to test.
Any sample .jmx fle which can run a command on shell will be helpful. I can
make appropriate changes to it as per my environment.

Thanks for the help !