Recording HTTPS mobile calls using Jmeter - mobile

I am working on a native mobile application. I am trying to record the mobile events using Jmeter and android device.The calls are HTTPS not HTTP. I read in article that android device doesn't support HTTPS. Is there any other way to record these HTTPS mobile calls using JMeter ?
PS: I imported and installed the ApacheJMeterTemporaryRootCA.crt on the android device
Regards,
Niroop

I faced similar issue for iOS devices. You should be able to record HTTP/HTTPS requests. I assume you have updated the proxy server details.
Detailed steps can be found here.
http://www.testautomationguru.com/jmeter-record-ios-application-http-requests/

Related

Synchronise a mobile light database with ASP.NET Web API 2

I am building a mobile application targeting iOS, Android and WP with Ionic/Cordova. And using ASP.NET Web API 2 REST APIs backend.
I have the requirement that the mobile application can collect data and synchronise it with the APIs and if the mobile is offline, the sync will happen when it is online. The data size is small and any light DB would do including the localStorage one. The required sync is only needed one way, mobile to APIs. Also, once a record is synchronised, it can be deleted from the mobile.
I was looking at Couchbase mobile, but I found it is a Mobile DB to DB sort of a solution.
Can you recommend a mobile DB to REST/Web API sync solution?
With the native Couchbase Mobile solution for Android/iOS coupled with the REST APIs you are able to get data from Mobile device to your backend. Then delete any documents off your device once you get back a 200 status.
For Windows Phone, you can explore using PouchDB or going with the javascript browser based solution across all platforms since WP is not currently supported.
For the replication or sync to occur when your device is online again, you would require your backend to use Couchbase Server and implement the replication class methods in your native mobile app to have the push feature. Or you can use the REST API with logic detection when you are online again to POST to your backend.

what browsers version support GAE Channel Java API

I want to use GAE Channel Java API with angular
I would like to know which version of the PC browsers, mobile browsers support Channel Java API
on the official website about this is nothing written
if you have a working examples angular with Channel API would be grateful
thanks for the help

Recommended development environment for Cordova / AngularJS / Ionic

I am getting started with building "hybrid" mobile apps using Cordova and AngularJS with Ionic. I am able to build out a sample app by creating the html, js and css files locally and running these in a browser using file:// url's. This works fine, and when ready I can run the cordova build process and run the app in the android emulator or deploy the apk to my device. This all works fine for my simple demo apps. But now as I start to build out an app which will use an Angular service to either load JSON from local storage (if offline), or load the JSON from a remote REST API, I am running into problems. As I am developing, opening the app from a file url (file://myapp/index.html) will result in the browser not being able to make an http call to the REST service (different origins, etc).
This seems to be a very basic issue - so my question is, how do others develop and test Cordova apps in general? Do you always develop with the "www" files on a web server, like Node? If so, does the issue of http:// requests from file:// url's become a problem when you use those files in the Cordova app?
CORRECTION: I am able to access remote REST services from a page on the local file system, as long as the remote service includes "Access-Control-Allow-Origin" header. So, I think that answers my question. I can develop with all of my html and js on local file system, have the JS make remote calls, and test by running in a browser using file:// url's. But is this generally the development environment in which you would develop a Cordova/PhoneGap app?
I can recommed Intel XDK ( fromer app mobi)
http://xdk-software.intel.com/
It has a good emulator(s) on desktop and can
It works fine with ionic framework and angular extensions ( just comment out the cordova.js
script and add intelxdk.js
<!--<script src="cordova.js"></script>-->
<script src='intelxdk.js'></script>
It can also cloud test with a wrapper app and cloud build for appstores
Works fine so far so I can recommend this
I like AppGyvers ( sterois) platform too but it does not work so good on android yet
For Cordova apps, I start development locally on my machine with Chrome. I have to run Chrome with disabled security (allowing cross origin).
On OSX, you can run Chrome with security disabled by running the following terminal command (make sure Chrome is fully closed first).
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security --allow-file-access-from-files
Once I get to a point where I need to start integrating Cordova Plugins, I then build out the Cordova project and test with an Android tablet (the Android emulator is horrible). For remote web debugging on Android, I use weinre.
I never personally build out or test my code on a web server, it's always local on my desktop or mobile device. I make all web service calls via jQuery's Ajax.
There are many hybrid app development tools out there. However, if you are looking for developing a hybrid app (phonegap + angularJS + backend), I would like to recommend Monaca. I've just recently discover it. It is very cool since it has phonegap inside its framework and its own backend. Moreover, it also has a UI framework called OnsenUI which is based on Topcoat and AngularJS.
It also provides native components to use in your hybrid apps. What is impressive about it, you don't even need to build and install your app to your device everytime during development. That's what I love the most about this.
I hope it helps since I think it is just like what you are asking for. I'm just a novice developer and I find it is very easy to use.
take a look to visual studio tools for cordova cordova-vs, it include ripple emulator and a lot of good stuf
update:
i recently found this ide neodym , it looks promising

How to build a native mobile app for a joomla site

I am about to build a mobile app using html5 with phonegap. So that i can easily install it on any platform. Android, Blackberry or ios.
I want this app to be able to perform CRUD - in close connection with my joomla site.
The Joomla site is already completed, its a social network. I need this app to be able to retrieve information such as profile pictures, messages e.t.c and then be able to upload pictures, send messages and use the geolocation api.
My question is i dont know how to make the app connect or communicate with my Joomla db.
Well i found the answer, just in case anyone needs it.
To build a mobile using Joomla as the server, what you need is
1. Jquery
2. Build an extension on your Joomla site
3. Using the jquery ajax methods + Joomla's native method to provide data in Json format, you can build an api to send and receive data from your mobile app to your joomla website.

P2P payments with PayPal on mobile devices

I'm looking into supporting P2P payments for a mobile app, iOS as well as Android. I do not think the PayPal API has support for this, what would be the best way to achieve this?
I need a verification preferably of a payment made to another user.
PayPal absolutely supports this. You have a number of options. You can use their actual mobile SDK's or you can just build standard HTTP requests to the API end-point like usual.
When using Express Checkout or Adaptive Payments their system will automatically switch to using the mobile checkout experience when a mobile device is used. This way you can build your apps to run on mobile devices or regular computers (with jQuery Mobile, for example) and it would give the user the experience they expect.

Resources