Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C54CA10683 for ; Fri, 24 Jan 2014 19:33:07 +0000 (UTC) Received: (qmail 29538 invoked by uid 500); 24 Jan 2014 19:33:07 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 29469 invoked by uid 500); 24 Jan 2014 19:33:06 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 29460 invoked by uid 99); 24 Jan 2014 19:33:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jan 2014 19:33:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shettyd@gmail.com designates 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ea0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jan 2014 19:33:02 +0000 Received: by mail-ea0-f180.google.com with SMTP id o10so618083eaj.11 for ; Fri, 24 Jan 2014 11:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OK9VPV2sc3krxLqgk9FZKyMNUgP/ww5dxibSbVd9kOg=; b=a4pskMkg5VcA+n+X1W6otLl6XAWMlIthAn2Vu58s/wOcxpn4biWf3Hp/unrYRU8bTK ST9q/4cCdxbIq6ELIfC4fhHC12ix/4b0j6WM2vJrcRnfY/FBiZ+Gz8wxyCjhnsmjRexL zZr8Siqa3JLyMxouX8BnoDFlJSnkRKBrRtfOEG6Rvgz+U3bCAyFkT4bSWbWsB6MspE00 WuO8phsk96GoIPjaEGbAhYSyQ+pSVuxmIwnigj3Ykf2o21YrDDbdFIFiEh6wWetguNb3 m2X/mKYpxL+MBmrMtRUkO/F4PFSdrqlrGJSEsPwfWIwVs2cr5IQd2BgGMcZ0M2xDoQwj 25gg== MIME-Version: 1.0 X-Received: by 10.15.91.3 with SMTP id r3mr14323716eez.18.1390591961103; Fri, 24 Jan 2014 11:32:41 -0800 (PST) Received: by 10.194.242.105 with HTTP; Fri, 24 Jan 2014 11:32:41 -0800 (PST) In-Reply-To: References: Date: Fri, 24 Jan 2014 11:32:41 -0800 Message-ID: Subject: Re: JMeter and Richfaces FileUpload on Flash mode From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=089e016354b6de804104f0bc6b1f X-Virus-Checked: Checked by ClamAV on apache.org --089e016354b6de804104f0bc6b1f Content-Type: text/plain; charset=ISO-8859-1 Hi I dont notice anything that wont work though there is a lot of dynamic stuff and the Content-Type: multipart/form-data which you sometimes need to be careful with (if you have taken care of that) - i'll try and see if I can get the demo to work On Fri, Jan 24, 2014 at 3:53 AM, Flavio Cysne wrote: > Hi Deepak, > > the link you provided uses the frame version of Richfaces fileupload > and is a newer version. > > The page I'm testing is using Richfaces 3.3.3. > > This link > http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf is a > good example of how it is working, just have to enable checkbox for Flash > mode. > > Thanks for helping > > > 2014/1/23 Deepak Shetty > > > Do you have a demo that is open to the public? > > or is it the same as > > > > > http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=fileUpload > > > > regards > > deepak > > > > > > On Thu, Jan 23, 2014 at 5:25 AM, Flavio Cysne > > wrote: > > > > > Dear users, > > > > > > did you have any test case that used a Richfaces FileUpload > component > > > with Flash mode enabled (component default behavior) in a form ? > > > > > > I, recently, had a bad experience with this scenario. Doing the > > > scenario manually, the file is uploaded an 'attached' to the entity > > > correctly. But when I do it using JMeter the file is uploaded > > > (Content-Length request's header is present and show the file length > plus > > > extras) but at the end is not 'attached' to the entity. > > > > > > I verified that the file upload component is using the Flash mode, > > then > > > I thought that because of it I could not simulate correctly this > > scenario. > > > Development team can't deploy another version with Flash mode off > (using > > > frames instead). > > > > > > At first, I thought that the HTTP POST request parameter > > > _richfaces_upload_uid had something to do with this issue, but it is > > only a > > > random number (as seen in FileUpload.js code). > > > > > > Is there any way I could overcome this issue? > > > > > > Thanks in advance. > > > > > > --089e016354b6de804104f0bc6b1f--