jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Not able to record Swing JDialog Box with JMeter
Date Fri, 20 Feb 2009 17:06:40 GMT
On 19/02/2009, Chhavi Sharma <chhavi.12@gmail.com> wrote:
> Thanks Sebb and David for the prompt reply.
>  Some more clarifications for my question (in response to sebb):
>
>  Dialog Box is launched by a jar file, downloaded earlier at client side.
>  Then the login information is transferred to the server through TCP.
>  I tried adding TCP sampler manually but the problem is that I am not able to
>  figure out how to make dialog box recognizable by JMeter.
>  JMeter is not recording the DialogBox, and I could not find any other option
>  to do it manually.

JMeter does not support interactive input.
It is intended for automatic testing.

However, it can send TCP data, provided that you supply the info in
the test plan (or in a file).

>  I will try Badboy too and see how it goes.
>
>  Swing support feature is mentioned at this page:
>  http://jakarta.apache.org/jmeter/
>
>  What does it do?
>
>  Apache JMeter features include:
>
>    - Can load and performance test many different server types:
>       - Web - HTTP, HTTPS
>       - SOAP
>       - Database via JDBC
>       - LDAP
>       - JMS
>       - Mail - POP3
>    - Complete portability and * 100% Java purity * .
>    - Full * Swing * and lightweight component support (precompiled JAR uses
>    packages javax.swing.* ).
>
>  Thanks once again guys.
>
>  Thanks,
>  -csn
>
>
>
>  On Wed, Feb 18, 2009 at 8:55 PM, sebb <sebbaz@gmail.com> wrote:
>
>  > On 18/02/2009, Chhavi Sharma <chhavi.12@gmail.com> wrote:
>  > > Hi,
>  > >
>  > >  I am recording a java webstart based application using JMeter Proxy. The
>  > >  steps involved are as follows:
>  > >
>  > >  1. Connect to webserver and download a .jnlp file
>  > >  2. Download all the jars required to launch the application.
>  > >  3. Then a swing dialog box is raised asking for the login information to
>  > the
>  > >  same server but at different port.
>  > >  4. Once login is successful, download some more jars and launch the
>  > >  application.
>  > >
>  > >  The problem is that JMeter is not recording the dialog box and no
>  > connection
>  > >  is displayed at the server side.
>  >
>  > JMeter can only record HTTP requests.
>  >
>  > >  However, it is recording all the downloading information, even the one
>  > >  started after the login.
>  >
>  > However, the communication with the server is presumably all HTTP(S),
>  > so it should be able do what ever the application does.
>  >
>  > If the playback does not work, then probably the login used HTTPS,
>  > which is not recorded.
>  >
>  > >  Can someone please help me figuring out how to do it.
>  >
>  > You'll need to find out how the login works, e.g. using a protocol
>  > analyser such as Wireshark or a browser add-on which shows the HTTP
>  > requests. You can then add the missing sampler(s) to the test plan.
>  >
>  > Or you might be successful using Badboy - compare the exported samples
>  > with the one generated by JMeter (e.g. open them in two instances of
>  > JMeter).
>  >
>  > >  As I read on the
>  > >  website, Swing based are supported by JMeter.
>  >
>  > Where does it say that JMeter supports Swing?
>  >
>  > >  Thanks in advance,
>  > >  -csn
>  > >
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message