JavaObject Stream Recorded as Hexdecimal

View: New views
1 Messages — Rating Filter:   Alert me  

JavaObject Stream Recorded as Hexdecimal

by KrishnaMCA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Script.JPG Hi, I am doing perfromance test for java swing application with grinder. Our client and server are communicating the data via http by java stream objects. We have successfully recorded the script, but the problem is some part of the response body contents are in hexa decimal and some are in java object data. Herewith i have given my recorded scripts def page28(self): """POST ACUtilities.do (request 2801).""" result = request2801.POST('/accesscare//ACUtilities.do', "\xAC\xED\x00\x05\x73\x72\x00\x10\x6A\x61\x76\x61\x2E\x75\x74\x69" "\x6C\x2E\x56\x65\x63\x74\x6F\x72\xD9\x97\x7D\x5B\x80\x3B\xAF\x01" "\x03\x00\x03\x49\x00\x11\x63\x61\x70\x61\x63\x69\x74\x79\x49\x6E" "\x63\x72\x65\x6D\x65\x6E\x74\x49\x00\x0C\x65\x6C\x65\x6D\x65\x6E" "\x74\x43\x6F\x75\x6E\x74\x5B\x00\x0B\x65\x6C\x65\x6D\x65\x6E\x74" "\x44\x61\x74\x61\x74\x00\x13\x5B\x4C\x6A\x61\x76\x61\x2F\x6C\x61" "\x6E\x67\x2F\x4F\x62\x6A\x65\x63\x74\x3B\x78\x70\x00\x00\x00\x00" "\x00\x00\x00\x03\x75\x72\x00\x13\x5B\x4C\x6A\x61\x76\x61\x2E\x6C" "\x61\x6E\x67\x2E\x4F\x62\x6A\x65\x63\x74\x3B\x90\xCE\x58\x9F\x10" "\x73\x29\x6C\x02\x00\x00\x78\x70\x00\x00\x00\x0A\x74\x00\x0C\x2F" "\x41\x43\x55\x74\x69\x6C\x69\x74\x69\x65\x73\x74\x00\x1B\x73\x65" "\x6C\x65\x63\x74\x20\x64\x62\x5F\x6F\x6E\x6C\x69\x6E\x65\x20\x66" "\x72\x6F\x6D\x20\x76\x5F\x65\x6E\x76\x74\x00\x0C\x67\x65\x74\x43" "\x6F\x75\x6E\x74\x48\x69\x74\x73\x70\x70\x70\x70\x70\x70\x70\x78", ( NVPair('Content-type', 'application/x-www-form-urlencoded'), )) return result def page29(self): """POST ACUtilities.do (request 2901).""" result = request2901.POST('/accesscare//ACUtilities.do', ( NVPair('''¬íjava.util.VectorÙ?}[?;¯capacityIncrementIelementCount[elementDatat[Ljava/lang/Object;xp/ACUtilitiestESELECT COUNT(*) FROM V_EMP WHERE EFF_DATE <''', ' SYSDATE AND EMPID = USERtgetCountHitspppppppx'), ), ( NVPair('Content-type', 'application/x-www-form-urlencoded'), )) return result