Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 49291 invoked from network); 16 Dec 2009 06:06:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Dec 2009 06:06:39 -0000 Received: (qmail 34543 invoked by uid 500); 16 Dec 2009 06:06:38 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 34451 invoked by uid 500); 16 Dec 2009 06:06:36 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 34434 invoked by uid 99); 16 Dec 2009 06:06:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 06:06:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shettyd@gmail.com designates 209.85.222.196 as permitted sender) Received: from [209.85.222.196] (HELO mail-pz0-f196.google.com) (209.85.222.196) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 06:06:26 +0000 Received: by pzk34 with SMTP id 34so464664pzk.11 for ; Tue, 15 Dec 2009 22:06:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Ils2PEYitNkcE9bZtJeyLRr3sgEdzydXvRsGzjzmhkg=; b=N+keRuVQDaa+L2NHzkBOMOKpiGcJh6HWuvoG1b0WJSzGWJuk9D+V+gSZUQPoBZ4jER 2DX9OR5a92hkAlfUePwv2vUyYznljT/ia66xAh+F77jYbDyMyXk5j2mdlz+WU9hgFNOK BXh0AIwtcumaHjf3qhjmwMbVIWIIRkSt52bI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ow8nK4lLTq2RQBuWQr/rZvEPSsaDqCP5zrjYYI4H/N+5yGf+uQ+8s0L4OVC/5+KzMR Y2UhtgyyupB4pk++7Zpap0Chs49PrCxFV3vpI8bRBhBfadxcjnr+LWSPJudpVY5CTXRy GyJ2b/+87w3eqzvulkc1IUEDrA9qXILDoG7Os= MIME-Version: 1.0 Received: by 10.141.100.3 with SMTP id c3mr429390rvm.132.1260943565280; Tue, 15 Dec 2009 22:06:05 -0800 (PST) In-Reply-To: <26806621.post@talk.nabble.com> References: <26794060.post@talk.nabble.com> <4483c26c0912150924v7090e907ga59792d8d2acbf25@mail.gmail.com> <26806027.post@talk.nabble.com> <4483c26c0912152127h16952080ue701d07b0d051e72@mail.gmail.com> <26806621.post@talk.nabble.com> Date: Tue, 15 Dec 2009 22:06:05 -0800 Message-ID: <4483c26c0912152206j454942e5x66e347d7f42018bb@mail.gmail.com> Subject: Re: How to Capture serialized java objects From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=000e0cd13b0c4a57c3047ad24dda X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd13b0c4a57c3047ad24dda Content-Type: text/plain; charset=ISO-8859-1 >So JMeter requires developer support to simulate the load. In your scenario , I believe that is the case. if you have existing JUnit's then you can run them via JMeter. >Also while creating JUnit test cases we may miss some sequence of request as >the same way real time application works. Perhaps. But you would be asserting some expected response. Im not aware of any tool that would satisfy your expectations http://java-source.net/open-source/testing-tools (closest seems to be something called jacareto and there are some swing automation tools that you might try) regards deepak On Tue, Dec 15, 2009 at 9:57 PM, Jskathirvel < kathirvelsubramanian@yahoo.co.in> wrote: > > Hi, > > I agree that we can not vary the data for multiple user test for same > scenario. > But in our case the data send to server is huge and we are trying to store > the object stream as file and posting to server using JUnit test cases. > If the data changes over time we have to dump again all the data to > simulate. > Also while creating JUnit test cases we may miss some sequence of request > as > the same way real time application works. > So JMeter requires developer support to simulate the load. > > Please give your valuable suggestion. > > Thanks in advance. > Kathirvel > > > Deepak Shetty wrote: > > > > Hi > > JMeter wasn't primarily built to handle scenarios like these, but it can > > test out anything that java can test using beanshell/junit/java samplers. > >>Creating JUnit test case for all the scenario is a costly process right? > > In what way? development time? You'd essentially have to dummy up > whatever > > your swing application is doing for the scenario you are testing. Because > > this communication is binary, and because you'd want to vary your data, I > > doubt any record playback tool will be of much use.(you cant easily vary > > the > > binary) > > > > > > On Tue, Dec 15, 2009 at 8:06 PM, Jskathirvel < > > kathirvelsubramanian@yahoo.co.in> wrote: > > > >> > >> Thanks for your reply, > >> > >> I would like to know, is it limitation of JMeter?. > >> The client is Swing application which sends serialized Java Objects to > >> server. > >> Creating JUnit test case for all the scenario is a costly process right? > >> Is there any other tool which will capture the communication and perform > >> the > >> load test? > >> > >> Your valuable suggestion are welcomed. > >> > >> Thanks in advance, > >> Kathirvel > >> > >> > >> Deepak Shetty wrote: > >> > > >> > I dont think you can use Jmeter's HTTP sampler directly for this, > >> though > >> > you > >> > could write java code in a Beanshell/Java/Junit and execute that > which > >> > sends the serialized objects.. > >> > regards > >> > deepak > >> > > >> > On Tue, Dec 15, 2009 at 4:34 AM, Jskathirvel < > >> > kathirvelsubramanian@yahoo.co.in> wrote: > >> > > >> >> > >> >> Hi, > >> >> > >> >> I am facing a problem in capturing serialized Java Objects which will > >> be > >> >> posted to server from client by creating HttpURLConnection. > >> >> Can you help me how to capture those request data and load the > server. > >> >> > >> >> Thanks in advance. > >> >> Kathirvel > >> >> -- > >> >> View this message in context: > >> >> > >> > http://old.nabble.com/How-to-Capture-serialized-java-objects-tp26794060p26794060.html > >> >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > >> >> > >> >> > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://old.nabble.com/How-to-Capture-serialized-java-objects-tp26794060p26806027.html > >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/How-to-Capture-serialized-java-objects-tp26794060p26806621.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --000e0cd13b0c4a57c3047ad24dda--