Re: Android SDK emulator - recording is ok, replaying issiue (385 Views)
Reply
Occasional Advisor
radekq
Posts: 13
Registered: ‎11-19-2013
Message 1 of 5 (394 Views)

Android SDK emulator - recording is ok, replaying issiue

Hello,

 

I've got a problem with Mobile application - HTTP/HTML protocol. I use Android emulator and during the recording proccess it starts, everything is fine I get result steps, but I don't know how to replay it!

 

I get error Action.c(4): Error -26628: HTTP Status-Code=403 (Forbidden) for "https://(address of application)"

 

Is that a question of https protocol?

 

When I am replaying, the emulator should be started and mobile apps should be opened or VuGen shoud start them automatically.

 

Please help me :)

Please use plain text.
HP Expert
_Buzzy
Posts: 105
Registered: ‎08-10-2011
Message 2 of 5 (385 Views)

Re: Android SDK emulator - recording is ok, replaying issiue

Of the top of my head I would say you have a correlation issue. Probably some sort of authentication that fails before this step. Check for timestamps, randomly generated session ids, etc.
Please use plain text.
Occasional Advisor
radekq
Posts: 13
Registered: ‎11-19-2013
Message 3 of 5 (378 Views)

Re: Android SDK emulator - recording is ok, replaying issiue

[ Edited ]

but in my case it is difficult to obtain what should be correlated because every single recorded step is like this:

web_custom_request("name_of_app",
"URL=https://url_to_app",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"BodyBinary=\\x17\\xD9N\\x1Eb\\x17\\x8A\\xAB=5I\\xDECFk\\xF7&\\xCF\\xFC\\x19\\\\\\xAB>\\x9B1f\\x06Slnga\\xE8\\x01!\\xFF\\xC6\\xAA\\x83p\\xCD\\xB7\\x9A\\x9F\\x8FM[K\r\\x1E\\x9F.\\x19\\xAA\\xA6\\xF25;\\xB5>}hO\\x02\\xFEVh\\x0E\\x982g\\x06\\xFB\\x8F<\\xB8/t\\xD0\\xB7\\xB1\\xC6\\xA4\\x0E\\xD3Q\\xB7\\xAC\\xE9\\x9D{\\xCEv\\x188\\x06\\\\\\xE2R\\xFC\\xBB\\x1E}\\xB0\\xB2\\xFFI@7\\x11\\x1A\\x9A\\xFD-\\xA2\\x8D\\xC5\\xCF<c9&"
"\\xD5\\xCD\\x8E\\xEE\\xE4l9A\\xB0D\\xA1\\xED\\x19\\x8EU\\xA3\\x9BnOOT\\xEB\\xF6z\\xB1\\xCCj\\xA2\\x0F\\xE6r\\xB6E j\\x0Bu\\x0ED*\\xBA[b\\xECz(\\x14\\xD0lq\\x96\r2\\xC9`8\\xF9a,\\x9F\\xF2cY\\xBD\\xEB\\x04'\\xD8\\xB0\\xAF\\x93l\\xE5\\x97\\xA5;]!\\xB8\\x85\\xDC6\\xA3\\x97A\\x8AX\\x9D\\xCC\\xB1^\\xF4\\x1Cmc\\x10>\\xEAu!\\xA6d\\x1D\\x19\\xB4n\\xA8\\xB4\\xE1j\\xD2;0\\x98)\\x91\\xA9\\xE1\\xB7;6Hv\\xD7\\x14\\xD9\\xE6\\x98\\xC1\\xA4\\xA1\\xCC\\xD6\\x81\\xF9\\xEE\\xD2\\xD4\\x01\\xFB\\xE2\\xE7+"
"A\\x0F\\xC5RHL\r\\xEF\\xE7\\x1D@\\xD6\\xB0\\xD5\\x0F5\r\\x93\\xC9}Y?\\xF26\\xF2'd\\x17\\x92l\\xAB{\\x81'(\\xD0N\\xBC\\x14\\x9B\\xE7\\xBCY\\x88\\x05-\\xB1\\xFE\\x1F\\x9A=;\\xF2\\xC5a\t\\xA7p\\x9F\\x19\\xCD\\xD4\\x19\\xCF\\xE9\\x05\\xFD\\x15kJ\\xB7\\xA2\\xD0\\xEC\\xB2\\x8B<\\xEBqp\\xD0z\\x10\\x99\\xEF\\xCC\\xCB\\x9BXS@\\xA4\\x0C\\x19k\\xBBl`\\xAA\\xE4+\\x1F\\xDD",
LAST);

Please use plain text.
Frequent Advisor
Dan_J_Corey
Posts: 58
Registered: ‎04-16-2013
Message 4 of 5 (365 Views)

Re: Android SDK emulator - recording is ok, replaying issiue

How are you recording your mobile app?  If you're seeing binary data (as it seems you are judging by your client request above) you're probably having certificate issues.  

 

If you're recording via proxy (or via .pcap file), you're going to have certificate issues until you install a root certificate.  In fact, you're very likely going to have cert issues no matter what when doing mobile testing.  

 

Check here for more info: http://h30499.www3.hp.com/t5/HP-LoadRunner-and-Performance/Use-Proxy-Recording-in-LoadRunner-11-52-f...

Please use plain text.
Occasional Advisor
radekq
Posts: 13
Registered: ‎11-19-2013
Message 5 of 5 (359 Views)

Re: Android SDK emulator - recording is ok, replaying issiue

I use "record emulator" option. In Android SDK emulator proxy is not defined. Any suggestion?
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation