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 DAF3717CA1 for ; Sun, 17 May 2015 08:25:43 +0000 (UTC) Received: (qmail 25111 invoked by uid 500); 17 May 2015 08:25:38 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 25071 invoked by uid 500); 17 May 2015 08:25:38 -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 25060 invoked by uid 99); 17 May 2015 08:25:38 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2015 08:25:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 022B11A2D78 for ; Sun, 17 May 2015 08:25:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QmEQXJgurupE for ; Sun, 17 May 2015 08:25:31 +0000 (UTC) Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 4E0D320D7C for ; Sun, 17 May 2015 08:25:30 +0000 (UTC) Received: by obblk2 with SMTP id lk2so104273793obb.0 for ; Sun, 17 May 2015 01:25:23 -0700 (PDT) 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=wX2uSckHSM2MriCaUDhjQYrhu1yBLdXSG08UUWUS2OY=; b=yUoYTHfVJQ8Nm40f50Fun5wKyGFBkeOFizGDVX+d/nq4Zs+bdgwy0UGvFDQD9LlJ+u drZG6iIgw9URR1oQEBJkHqDgu574JhaRMG2kELKO2oNu1sF+SZAH9oRQ2gV5q37P4Gw5 Coa2nISPksEAmoFcVNSkQ/RIE36c6s2vmsP2jpoM+Qrb5/Yoc9d/UXkwt7X8fOpu6noi lmOeoaUHxUp1FuFCvb6Egd5oqsn1q4XYxZ0IP8SzgP0gJ71IocRhsAxs9iaHshU9eMIW SXLCZUflJTYXyB6O+1xqFdJ4kFJ3nnsvfv0qvNgbgxrOfLUDVwdd9gSTZ2A1+XBqZ8+b bPhA== MIME-Version: 1.0 X-Received: by 10.202.180.139 with SMTP id d133mr4861358oif.104.1431851123011; Sun, 17 May 2015 01:25:23 -0700 (PDT) Received: by 10.76.69.233 with HTTP; Sun, 17 May 2015 01:25:22 -0700 (PDT) In-Reply-To: <55583849.6020107@gmail.com> References: <491BA82C-87C9-44F0-9A6A-E87C39D2B9C7@csd.auth.gr> <13EA2688-9AD5-4553-B4FE-DEA89E2F813A@csd.auth.gr> <5556FC3D.8070207@gmail.com> <55575D05.4010404@apache.org> <55578DCC.3030604@apache.org> <55583849.6020107@gmail.com> Date: Sun, 17 May 2015 13:55:22 +0530 Message-ID: Subject: Re: Remote test execution From: Pravesh Prajapati To: JMeter Users List Content-Type: multipart/alternative; boundary=001a113ce2dc8ef615051642d118 --001a113ce2dc8ef615051642d118 Content-Type: text/plain; charset=UTF-8 Sir I want to capture the scripts then execute a load on the same But I am not able to capture the scripts only for native device application. On Sunday, May 17, 2015, Bob wrote: > Pravesh, hope JMeter is not used for man-in-the-middle attack. As I > replied before you can always ask developers to provide non-encrypted > version and API documentation. > > On 17/05/15 09:14, Pravesh Prajapati wrote: > >> Hi Sir, >> I tried the same thing but finding issues. >> Can you please for the app (Gather digital & esri events). >> You will find on the playstore. >> Just search the name as mentioned above. >> Sir, please reply. >> Thanks in advance. >> >> On Sun, May 17, 2015 at 12:04 AM, Milamber wrote: >> >> Works with the Linkedin Apps (for example) with HTTPS request. >>> >>> 1/ Start JMeter (fresh install) >>> 2/ Create a sample test plan with the template "Recording" >>> 3/ Under the WorkBench, choose the HTTP(S) Test Script Recorder element, >>> and click on the "Start" button (botton) >>> JMeter will create a new dynamic KeyStore (bin/proxyserver.jks) and >>> export >>> the Root CA public key (bin/ApacheJMeterTemporaryRootCA.crt file) >>> >>> 4/ Go to JMETER_HOME/bin, and copy the ApacheJMeterTemporaryRootCA.crt >>> file to a sdcard (or another way) >>> 5/ Put the sdcard on your tablet/phone >>> >>> 6/ on your tablet/phone, use a file manager (I use the CM File Manager >>> from Cheetah Mobile on Play Store), go to the sdcard, click on >>> ApacheJMeterTemporaryRootCA.crt file, to import this Root CA (name for >>> example : JMeter) >>> >>> (with this new Root CA in your phone as a 'true' CA, all fake ssl cert >>> generated dynamically by JMeter will be trusted on your phone.) >>> >>> 7/ Change your WLAN access to add the JMeter proxy (instructions below) >>> (stop/start wifi after) >>> >>> 8/ Start your app, and use it >>> >>> 9/ Follow all HTTP/HTTPS requests (from your app, but other background >>> task too) on JMeter, in the View Results Tree element (under HTTP(S) Test >>> Script Recorder). >>> >>> >>> Milamber >>> >>> >>> For reference (and manage the JMeter Root CA on your phone) : >>> http://wiki.cacert.org/FAQ/ImportRootCert#Android_Phones_.26_Tablets >>> >>> CAcert user trusted certificates >>> >>> Download the certificate files ('root.crt' and 'class3.crt') onto the >>> internal flash storage (the '/sdcard' or any subfolder). Browse to this >>> folder with the file manager and open 'root.crt'. Although there might >>> not >>> be an icon for certificates and the files will have a '?'-icon, files >>> will >>> be opened with the certificate manager, asking you for a name to describe >>> the to-be-imported certificate. If it is the first user certificate you >>> install, the Android Security Model forces you to use a lock-screen to >>> unlock your device (see "CAcert system trusted certificates" if you >>> really >>> need to avoid this) Repeat with the 'class3.crt' file. Check if both >>> certificate files are installed correctly, Settings -> Security -> >>> Certificates -> 'User'-section should now list the certificates you have >>> just installed. >>> >>> >>> >>> >>> >>> >>> On 16/05/2015 17:34, Pravesh Prajapati wrote: >>> >>> Yes sir, >>>> I am too able to capture traffic with the help of browser in devices. >>>> But I want to record the traffic of native hydride apps deployed on >>>> devices >>>> which uses https for its communication. >>>> >>>> Please hep stucked badly. >>>> Thanks in advance. >>>> >>>> >>>> On Sat, May 16, 2015 at 8:36 PM, Milamber wrote: >>>> >>>> >>>> On 16/05/2015 14:51, sebb wrote: >>>>> >>>>> The JMeter recorder (proxy) is intended for capturing local (i.e. same >>>>>> host) browser traffic in order to test a remote server. >>>>>> >>>>>> This requires that the browser can be configured to use a local proxy >>>>>> (i.e. JMeter's recorder). >>>>>> AFAIK, this cannot be done for most (any?) Android browsers or apps. >>>>>> >>>>>> It's possible to use a proxy with a WLAN connection on Android (for >>>>> browsers and some apps) >>>>> When your are connect on your wifi acces, return on Settings, Wifi, >>>>> long >>>>> press on your Wifi connection name, Modify, Display advanced settings, >>>>> add proxy settings (the jmeter machine on same network - ip and port of >>>>> jmeter recorder) >>>>> >>>>> Works on my android tablet (Android 4.2.2) with firefox (for https need >>>>> to accept an exception) and for some apps (only in http). >>>>> >>>>> Milamber >>>>> >>>>> >>>>> If you just want to record the traffic, you would be better off using >>>>> >>>>>> something like NoRoot Data Firewall which can record the traffic in a >>>>>> pcap file. >>>>>> >>>>>> You'll probably have to copy the pcap file(s) to another host in order >>>>>> to analyse them. >>>>>> >>>>>> >>>>>> >>>>>> On 16 May 2015 at 13:19, Pravesh Prajapati < >>>>>> prajapati.pravesh@gmail.com >>>>>> >>>>> wrote: >>>>> >>>>> Sir, >>>>>> >>>>>>> 1.I have installed jmeter root certificate into android device. >>>>>>> 2.Configure proxy. >>>>>>> 3.Downloaded gather digital app from the play store. >>>>>>> 4.Trying to capture the traffic but not able to capture it. >>>>>>> >>>>>>> Please help. >>>>>>> Thanks in advance. >>>>>>> >>>>>>> >>>>>>> On Sat, May 16, 2015 at 4:52 PM, Pravesh Prajapati < >>>>>>> prajapati.pravesh@gmail.com> wrote: >>>>>>> >>>>>>> Hi sir, >>>>>>> >>>>>>>> How can I install the jmeter ApacheJMeterTemporaryRootCA certificate >>>>>>>> >>>>>>>> into >>>>>>> >>>>>> iphone or android device. >>>>>> >>>>>>> Will this solve my problem. >>>>>>>> I am not able to capture the traffic of that app. >>>>>>>> OR is there is any mechanism of Any certificate required to be >>>>>>>> >>>>>>>> installed >>>>>>> >>>>>> for capturing the traffic. >>>>>> >>>>>>> Please help at the earliest. >>>>>>>> Thanks in advance. >>>>>>>> >>>>>>>> On Sat, May 16, 2015 at 1:43 PM, Bob wrote: >>>>>>>> >>>>>>>> Hi Pravesh, >>>>>>>> >>>>>>>>> Ask developers to provide App version which works with staging, >>>>>>>>> >>>>>>>>> usually >>>>>>>> >>>>>>> for staging environment used non-encrypted connection. >>>>>> >>>>>>> >>>>>>>>> On 16/05/15 10:25, Pravesh Prajapati wrote: >>>>>>>>> >>>>>>>>> Hi Sir, >>>>>>>>> >>>>>>>>>> I want help please help me. >>>>>>>>>> I want to record the script of native apps on Android & iphone >>>>>>>>>> >>>>>>>>>> devices. >>>>>>>>> >>>>>>>> But application is secure. >>>>>> >>>>>>> Can you please suggest me the mechanism so that I can record the >>>>>>>>>> >>>>>>>>>> scripts >>>>>>>>> >>>>>>>> of >>>>>> >>>>>>> there native apps. >>>>>>>>>> I have done all configuration setting in jmeter & mobile device, >>>>>>>>>> but >>>>>>>>>> still >>>>>>>>>> not able to record the scripts of the secure native app. >>>>>>>>>> Please help. >>>>>>>>>> Thanks in advance. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, May 16, 2015 at 4:17 AM, sebb wrote: >>>>>>>>>> >>>>>>>>>> On 15 May 2015 at 16:19, Flavio Cysne >>>>>>>>>> >>>>>>>>>> wrote: >>>>>>>>> >>>>>>>> The machines used at the work environment is using CentOS and had >>>>>> >>>>>>> no >>>>>>>>>>> >>>>>>>>>> problems like this. Maybe this could be related to a missing >>>>>> >>>>>>> openssl >>>>>>>>>>> >>>>>>>>>> package or similar native package that handles SSL connections. >>>>>> >>>>>>> I doubt it - look at the error message in the dialogue box. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>> --------------------------------------------------------------------- >>>>> >>>>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >>>>>> >>>>>>> For additional commands, e-mail: user-help@jmeter.apache.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>> --------------------------------------------------------------------- >>>>>>>>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >>>>>>>>> For additional commands, e-mail: user-help@jmeter.apache.org >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>> Regards, >>>>>>>> Pravesh prajapati. >>>>>>>> Mob:-9702600170 >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>> Regards, >>>>>>> Pravesh prajapati. >>>>>>> Mob:-9702600170 >>>>>>> >>>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >>>>>> For additional commands, e-mail: user-help@jmeter.apache.org >>>>>> >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >>>>> For additional commands, e-mail: user-help@jmeter.apache.org >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org >>> For additional commands, e-mail: user-help@jmeter.apache.org >>> >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > > -- Regards, Pravesh prajapati. Mob:-9702600170 --001a113ce2dc8ef615051642d118--