Oliver Erlewein (DSLWN | 1 May 2008 04:01
Picon
Favicon

Converting JTL 2.0 output to JTL 2.2 output

Hi all,

Just thought I'd share. I needed to do a Q&D convert from JTL format 2.0
to JTL format 2.2 and I used the following command in Linux (all one
line and replace --In File-- with your filename):

sed -e "s/timeStamp/ts/g" -e "s/threadName/tn/g" -e "s/label/lb/g" -e
"s/dataType/dt/g" -e "s/time/t/g" -e "s/success/s/g" -e
"s/responseMessage/rm/g" -e "s/responseCode/rc/g" -e "s/></>\n</g" --In
File--

Cheers Oliver
Steve Kapinos | 1 May 2008 04:23

Running two test plans simultaneously

Currently I have two separate test plan files..  They are setup to be
ran manually or via nant scripts for automation.  Each of these test
plans consists of a loop of samplers, currently setup to be controlled
by feeding in how many 'users' the threadgroup creates and how many
times the loop of samples repeats.  This all works fine individually.

But now I want to run these plans simultaneously.  Can I essentially
make a new test plan with just two threadgroups.. Where one contains the
contents of the first plan, and the second contains the contents of the
second plan?

If you have a single jmx file with two separate threadgroups, do they
run sequentially or in paralell?

Thx

-Steve
john wu | 1 May 2008 06:03
Picon
Favicon

jmeter proxy

Hi,

I set up jMeter to use own built-in HTTP Proxy Server, when I tested file upload in my web application, I got
the following error message:

java.io.FileNotFoundException: security.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:384)
at org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:108)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:111)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:462)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:863)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:191)

What am I missing?

Thanks 

      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Sonam Chauhan | 1 May 2008 09:46
Picon
Picon

RE: Running two test plans simultaneously

Hi - 

Did you want to include (at runtime) the two external JMX test plan
files into the new test plan? There is a JMeter 'Include Controller',
that adds all the test elements of an external file to the test plan. 

JMeter is meant to run threadgroups in parallel. There is a setting at
the top-level test element where you can specify whether to run
threadgroups in serial or parallel. 

Regards,
Sonam Chauhan

-----Original Message-----
From: Steve Kapinos [mailto:Steve.Kapinos <at> tandberg.com] 
Sent: Thursday, 1 May 2008 12:23 PM
To: JMeter Users List
Subject: Running two test plans simultaneously

Currently I have two separate test plan files..  They are setup to be
ran manually or via nant scripts for automation.  Each of these test
plans consists of a loop of samplers, currently setup to be controlled
by feeding in how many 'users' the threadgroup creates and how many
times the loop of samples repeats.  This all works fine individually.

But now I want to run these plans simultaneously.  Can I essentially
make a new test plan with just two threadgroups.. Where one contains the
contents of the first plan, and the second contains the contents of the
second plan?

(Continue reading)

sebb | 1 May 2008 10:58
Picon

Re: jmeter proxy

2008/5/1 john wu <j_wu_76 <at> yahoo.com>:
> Hi,
>
>  I set up jMeter to use own built-in HTTP Proxy Server, when I tested file upload in my web application, I got
the following error message:
>
>  java.io.FileNotFoundException: security.properties (No such file or directory)

Does that file exist in the current working directory?

>  at java.io.FileInputStream.open(Native Method)
>  at java.io.FileInputStream.<init>(FileInputStream.java:106)
>  at java.io.FileInputStream.<init>(FileInputStream.java:66)
>  at org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:384)
>  at org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:108)
>  at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:111)
>  at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:462)
>  at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:863)
>  at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:191)
>
>  What am I missing?
>

Some browsers don't save the full path name when doing file uploads;
there's nothing JMeter can do about that.

>  Thanks
>
>
>
(Continue reading)

Jitendra Kumar Mohanty | 1 May 2008 14:01
Favicon

Getting error in distribted testing

Hi All,

I am trying to run the Jmeter script in distributeded mode,It is giving following error -----

2008/05/01 04:57:09 ERROR - jmeter.gui.action.RemoteStart:  java.rmi.ConnectException: Connection
refused to host: 10.13.3.95; nested exception is: 
	java.net.ConnectException: Connection refused: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.newCall(Unknown Source)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at java.rmi.Naming.lookup(Unknown Source)
	at org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
	at org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:55)
	at org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:169)
	at org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:76)
	at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:75)
	at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:43)
	at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:60)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
(Continue reading)

Steve Kapinos | 1 May 2008 14:51

RE: Running two test plans simultaneously

Will the include controller work with the threadgroup setup being
nested?  I don't think it will work for my jmx files because mine are
setup this way

Testplan
 - threadgroupA (with variables controlling users)
    - definitions
    - loopcontroller 
       - samplers

The threadgroup is critical for controlling the # of simultaneous
sessions.  The Threadgroup and loop controller are managed by passing in
properties.

If I build a new parent test plan as

Testplan
 - threadgroup1
   - include controller jmxfile1
 - threadgroup2
   - include controller jmxfile2

And just leave threadgroup1 and 2 to be single user - will the
threadgroup stuff defined in my included jmx files be used and pulled
up?  This nesting is not clear to me.  

-----Original Message-----
From: Sonam Chauhan [mailto:sonam.chauhan <at> ce.com.au] 
Sent: Thursday, May 01, 2008 3:46 AM
To: JMeter Users List
(Continue reading)

sebb | 1 May 2008 20:44
Picon

Re: jmeter proxy

2008/5/1 john wu <j_wu_76 <at> yahoo.com>:
>
> Yes, that file exists in the same machine but different directory. I tried
> it on Safari, Firefox and Opera on my iMac, they both give me the same
> error.
>
> Can I use "Send a File With the Request" to simulate the fiel upload
> request? How to set it up?

I suggest you try uploading a file in the JMeter directory using the Proxy.

You can then edit the HTTP Sampler as needed to change the file details.

>
> Thanks,
> John
>
> 2008/5/1 john wu <j_wu_76 <at> yahoo.com>:
> > Hi,
> >
> > I set up jMeter to use own built-in HTTP Proxy Server, when I tested file
> upload in my web application, I got the following error message:
> >
> > java.io.FileNotFoundException: security.properties (No such file or
> directory)
>
> Does that file exist in the current working directory?
>
> > at java.io.FileInputStream.open(Native Method)
> > at java.io.FileInputStream.<init>(FileInputStream.java:106)
(Continue reading)

afmustac | 1 May 2008 23:04
Picon
Favicon

scalability test

Dear all,

I am trying to measure the scalability of my web service implementation by testing one of its methods. I am
trying to send increasing # of messages per second in each test to measure round trip times coming from my
service. 
When I use JMeter for this test, I have created a test plan with a Thread Group and a WebService (SOAP) Request
(Beta Code), and a Graph Result. In thread group, I set the "users" field to the # of messages that I want to
send per second(change this in each run) and set ramp-up period to 0, and loop count to 1. I am expecting to
get like 300-400 messages/sec but I am getting like 3600/min.. So, I am wondering what I am doing wrong? 

I really do appreciate any help or suggestions. 

thank you in advance.

afm

      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
sebb | 2 May 2008 01:07
Picon

Re: scalability test

2008/5/1 afmustac <afmustac <at> yahoo.com>:
> Dear all,
>
>  I am trying to measure the scalability of my web service implementation by testing one of its methods. I am
trying to send increasing # of messages per second in each test to measure round trip times coming from my service.
>  When I use JMeter for this test, I have created a test plan with a Thread Group and a WebService (SOAP)
Request (Beta Code), and a Graph Result. In thread group, I set the "users" field to the # of messages that I
want to send per second(change this in each run) and set ramp-up period to 0, and loop count to 1. I am
expecting to get like 300-400 messages/sec but I am getting like 3600/min.. So, I am wondering what I am
doing wrong?
>

Graph Result is expensive to run; use Summary Report instead whilst
conducting the actual test, and reload the data for analysis later.

A loop count of 1 does not really give JMeter time to get going; there
is some startup overhead the first time elements are used.

Much better would be to use a larger loop count and use the Constant
Throughput Timer to control the rate.

Try creating a dummy test using the Java Request Sampler so you can
test things out without stressing the server or the network.

Then replace it with the SOAP sampler.  BTW, the XML-RPC sampler uses
fewer resources, so use that it it works for you.

>  I really do appreciate any help or suggestions.
>
>  thank you in advance.
(Continue reading)


Gmane