I am using Loadrunner 11.5 evaluation copy on Windows 7-64 bit.
I am trying to test Android based mobile application (built on Android 2.2) using the Protocol option 'Mobile Application – HTTP/HTML' which is provided by Loadrunner 11.5.
I have created a AVD, named 'Test_1' with Target Name: Android 2.2, Platform: 2.2, API Level 8 and CPU/ABI: ARM(armeabi).
I am performing the following steps:
- Open VuGen.
- File --> New script and solution --> Protocol: Mobile Application – HTTP/HTML
- Recording Options: Port Mapping --> Capture Level --> Socket Level Data (By default only one option and non-editable)
- Record --> Recording Type --> Record Emulator – Record Script using a mobile device emulator
- Emulator to record: F:\android-sdk-windows-1.5_r2\android-sdk-windows-1.5_r2\AVD_Manager.exe
- Command Line:
-avd Test_1 -netspeed full -netdelay none
where Test_1 is the 'AVD name' which is displayed when the AVD Manager is opened. - Working Directory: F:\android-sdk-windows-1.5_r2\android-sdk-windows-1.5_r2
- Record into action: Action
- Finish
I am getting 3 different results at different times:
RESULT 1:
The recording starts and I am getting pop-up named Critical Error
displaying Unable to determine AUT's bit capacity
(As per my knowledge, AUT means 'Application Under Test'.) alongwith a command window with title as 'F:\android-sdk-windows-1.5_r2\android-sdk-windows-1.5_r2\AVD_Manager.exe'
Later on I have to close both the Pop-ups.
RESULT 2:
The recording starts and I am getting pop-up named Critical Error
displaying Unable to determine AUT's bit capacity
(As per my knowledge, AUT means 'Application Under Test'.) alongwith a command window with title as 'F:\android-sdk-windows-1.5_r2\android-sdk-windows-1.5_r2\AVD_Manager.exe'
Then when I press OK on the pop-up, the AVD Manager opens. Then I select the device name i.e. Test_1 and click on start.
The Emulator starts and then I can record.
But this happened only ONCE.
RESULT 3: The recording starts and I am getting pop-up named emulator-arm.exe has stopped working.
Please let me know where am I going wrong or do I need to put some more inputs?
Do I need to provide \tools\emulator.exe in the 5th step above?
A quick reply would be nice as my evaluation copy will expire on 26th Aug'12.