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 <sheeta...@gmail.com> 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 <mark.o.mil...@gmail.com>
> 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 <r...@redline13.com>
> > 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
> >
>

Reply via email to