Hello,
I have a Java over HTTP recorded script. The script was recorded using Java Web Start. Everything seemed to record and compile. When I replay, no scipt errors are thrown but in the output log I see the text "System.err: error captured".
This java application recorded in the script prompts the user to login with a user name and password. After this login, a dashboard is displayed. The script replays but it does not seem this login process was successful.
Anyone have any insight as to what might be causing the "System.err: error captured" text in the output?
Here is the script excerpt that is throwing that error text:
RemoteInvocation RemoteInvocation_login31 = (RemoteInvocation) JavaHTTP.readObject(RemoteInvocationBA0);
JavaHTTP.sendSerialized(RemoteInvocation_login31, 31,
"ObjectsDeserializerDefaultImpl",
"LoginService-httpinvoker",
"URL=http://XYZ",
new String[]{
"Method=POST",
"Resource=0",
"RecContentType=application/x-java-serialized-object",
"Referer=",
"Mode=HTML",
"EncType=application/x-java-serialized-object",
LAST});// 31 is the number of the header file, couldn't decode response from body