I want to test the reaction of app when 1000 user hit on my app. So is load testing is possible on iPhone app?
Hi #Vaibhav let me summarize the load testing, for applications I always load test their Api, you can't load test a mobile application.
But if you still want to check mobile application with certain number of clicks, I automate the mobile application and mark a locator to be clicked multiple times for a single request, you can manage rampup time with "click and wait" but not exactly like the api testing, you can also maually give time after each click. This is the closest I have go to test a mobile application for load.
If you need further help hit me up in the comments and I will share my method wih screenshots.
Related
We are currently building an iOS app and we need to get it submitted asap, however, one of the features are not quite ready so I am thinking as a temporary measure to put in a button which when clicked opens an external page with a html 5 web page within the app and the user can fill in their data and continue within the app as if they never left.
Obviously there will be some minor difference between the web page and the actual app but the key is we don't want people leaving the app, I just need the html 5 page to load inside the app so the user gets a good experience.
Is this possible and what is the best way to execute this?
i have a web app on html5 and running on a single page, lots of Ajax and javascript, so everything takes place on a single page.
Payment takes place with paypal digital good express which on desktop opens on the same tab without opening a separate page. It all works great on desktop, running all on 1 single html5 page.
On iPAD the problem is that paypal digital goods express opens on a separate tab. And i need to find a way to communicate after payment with the previous tab where the app is running.
Because after successful payment the single page web app immediately runs a new key process.
On iPAD i cannot start that process because paypal opens on a separate tab and once payment completes successfully there , i dont know how to send a signal to the javascript code of the previous tab.
I guess the main tab of the web app could be polling the server for news, but that seems rather inefficient considering how easy it is on desktop
i appreciate very much any help :)
i need to build a system where our customers can sign a contract on the ipad or galaxy-tab of our employees.
i am a ruby-on-rails webdeveloper so it would be easist thing for me to do it as an onlineapplication.
big big questions is:
my guy says, his ipad has such a great function with the pen, that he can write/sign things.
is it possible to grab this input with a browser? like im making a drawing-canvas, and when the submits the form, the ipad generates it as an image and send it to the server?
otherwise i need to build up a native app. my guy wants to keep his ipad, so i get in trouble while every app needs to be downloaded by the appstore - means i cant develop him a app and only he can get it. right?
ok,
build my own formtastic input
**canvas to image** – An input plugin to use a canvas for drawings (mostly autographs). the
drawing will be submitted to the server
Link to Gist: https://gist.github.com/4678219
We are using GA for Flash in our iOS app ported over with Adobe Air and are seeing some funky numbers being collected in Google Analytics. We ran some tests and saw that every time the app was opened it would count both a new visit and a new unique visit, even if it was just a minimize and re-open.
We would assume that the 30 minute time out would be in effect here and that even on a quick minimize and re-open that GA would count that as one visit. This doesn't seem to be the case.
Does anyone know how we could set-up the GA implementation to record unique visits based off of a user ID given on first launch of the app, and/or have it accurately count visits?
Has anyone seen something similar to this before?
Google Analytics allows you to set up Custom Events to track user interactions so this could be dispatched depending on a flag stored in a config file (to determine if it is the first time the application is run).
Depending on your implementation of Air, i.e AS3 / Javascript, if you are using AS3 you may have to utilise the ExternalInterface api to call a javscript method from the application.
This would then allow you to track these custom events and ignore the erroneous default visits?
I will soon be writing a native iPhone app for my web site. The web site is already mobile optimised so could potentially just sit in a UIWebView. How does the Facebook app work? Does it do something similar?
If I did use a UIWebView then how would I store user credentials so they don't have to log in every time and how would they upload photos? These are my two main requirements.
The facebook app is going to be a native app. It is different from the mobile website.
There are two things you can do here. If you're going to make your native app just a UIWebView then don't bother! You can have an apple icon embedded in your website which will show if a user bookmarks your website on their home screen. To use this use the <link rel="apple-itouch-icon" href="/apple-touch-icon.png" /> code to do it.
The second is make a fully native app. I know the benefits of a UIWebView app, but the negatives are plain to see. UIWebView apps are tacky, nonfunctional and terrible to use. A mobile website is not an app (unless done very well). You will have links to click, pinch and zoom, awful bounce effects on the web view, links that may possibly allow users to navigate away from your mobile website but within your app. Again, unless done cleverly, you will have to provide browser controls on your app which will make it look like a tacky web browser.
My suggestion would be either stick with your website, optimise it for touch based input, make it a really good mobile website, or create a fully functional native application. Remember not all websites need to have an app to go with it. If your app isn't necessary then its merely counter productive to make an app for it. I don't know about anyone else, but I spend more time in my web browser than I do in apps.
With regards to uploading and auth then a) auth should be done already in your website. A UIWebView is just an instance of safari working within your app, so it will be able to get and store cookies and all sorts. I believe these degrade at the end of the app session, however its easy to pass to the objective c and store in an stored preference. b) uploads not going to work even if you put your site in a web view. You will have to (at some point) hand off to an upload screen in your app which is running natively.
I would suggest that you start off with a simple native app. Let the users log in, upload stuff and do other basic stuff - whatever they can't currently do on your mobile website. Then move on to other things as people ask for them, or as you have the time to make them. You don't have to launch your app with a fully functioning version of you website (in fact this would be silly because the only thing they cannot do on your mobile website on their phone is upload stuff). I'm sure people will request features as your product evolves.
I would take a look at PhoneGap, you can get access to native device features through javascript http://phonegap.com/