A
Anvesh Reddy
Guest
Hi every one, I'm doing performance testing for mobile application which is developed in java language and coming to loadrunner scripting i'm using java over http as protocol. Actually i'm not aware of this protocol,i can able to record the application but i don't know whether all the requests got captured or not. Here i'm attaching the sample loadrunner script using java over http protocol. _webresult = lrapi.web.set_user("", // lr.decrypt("54098d07e"), "", "icms.indiocaonrail.gov.in:80"); _webresult = lrapi.web.custom_request("MTNRAKE", "URL=http://icms.indianrail.gov.in/maximomobile/mobileservice/MTNRAKE", new String[]{ "Method=POST", "Resource=0", "RecContentType=application/octet-stream", "Referer=", "Snapshot=t1.inf", "Mode=HTML", "EncType=application/octet-stream", "BodyBinary=\\x00\rRequestPacket\\x00\\x07MTNRAKE\\x00\\x07REQUEST\\x86\\x00\\x07MTNRAKE\\x00\\x18getDataTransactionResult\\x00\\x00\\x00(\\x00\\x08Object[]\\x00\\x00\\x00\\x02\\x00\\x07Integer\\x00\\x00\\x00\\x00\\x00\\x07Integer\\x00\\x00\\x00\n\\x00\\x00\\x00\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\r" + "\\x00\\x16maximo.mobile.hostname\\x00\\x16icms.indianrail.gov.in\\x00\\x08LANGUAGE\\x00\\x02en\\x00\\x07COUNTRY\\x00\\x02US\\x00\\x07APPNAME\\x00\\x07MTNRAKE\\x00\\x08TIMEZONE\\x00\rAsia/Calcutta\\x00\\x11maximo.mobile.ssl\\x00\\x05false\\x00\\x07VARIANT\\x00\\x00\\x00\\x19maximo.mobile.contextname\\x00\\x1B/maximomobile/mobileservice\\x00\\x08MOBILEID\\x00\r" + "1409210548862\\x00\\x08USERNAME\\x00\\x08\\x00\\x08PASSWORD\\x00\\x08\\x00\\x07VERSION\\x00\\x011\\x00\\x12maximo.mobile.port\\x00\\x0280", LAST}) Note:In java over http protocol no generation log and no runtime viewer to validate the requests .So how can we validate? Please share your experience on this protocol and get me out of this issue.