Mobile HTTP vs Truclient What is the difference?
we are doing POC(proof of concents) on Mobile testing. The Question is
When using Mobile HTTP/HTML Protocol web requests are recorded, and for TruClient it is recorded in the emulator.
For HTTP/HTML Protocol : is it device specific or in general and we can record in any device and play back?
For TruClient Protocol : will it emulate the device load when we run a load test?
How can we simulate the load of mobile devices
The difference between HTTP/HTML and TruClient is how how the load is generated.
With HTTP, all HTTP-calls are recorded and can then be sent out again. Different parts as userid, passwords, and session variables needs to be correlated in the script. How much a server can send will be limited by the cpu used by the script, the number of ports being free and network bandwith.
With TruClient, the events in the browser is recorded, and when applying load a new browser is started and the recorded events is replayed.
This means that for HTTP, high load can be applied with a few machines way over 100 for a normal script, but for TruClient there must be 1 browser started for each user. A server will maybe be able to run 4-10 users or so, depending on spec and how the application is done.
Mobile HTTP (Browser opnened in mobile device)
1. Ligh weight browser and light HTML content
2. URL and paramtes will be different when compared to normal web browser.( server recognises browser type by few parameters like agent or device origin bla..bla...)
1. It simulates the PC browser (Heavy component)
2. It can't be used to test Mobile HTML because browser agent is different and few other parameters.
3. TruClient consumes heavy memory and CPU.
A few comments
Mobile HTTP does not involve any browser. It is a custom http engine which simulates traffic level only, no browser running at all.
TruClient Web Mobile runs a real browser on regular Load Generator with user agent set as a mobile device
TruClient Ntive Mobile runs the Vuser on a real mobile device