Unable to Generate VuGen Code for Java Over HTTP Protocol for IBM(ACE) Pelican OFAC application using a browser thin-client using Java Applet/AWT . The protocol was pointed out by Protocol Advisor. I have added all the application jar files to the classpath in the Recording Options. Selected the option Prpend CLASSPATH to -Xboothclasspath parameter Additional VM PArameters: -DdumpServerRequests=true -DdumpServerResponses=true -DvalidateServerResponse=false I am just getting the following code generated: Any solutions or help to resolve the issue will be much appreciated. Recording log attached. import com.thoughtworks.xstream.*; import java.io.*; import javaHttpJ.*; import javaHttpJ.parsers.*; import javaHttpJ.replay.*; import lrapi.*; public class Actions { public int init(){ return 0; } public int end(){return 0;} public int action() throws Throwable{ String ENDFORM = "ENDFORM"; String LAST = "LAST"; String ENDITEM = "ENDITEM"; String ITEMDATA = "ITEMDATA"; String STARTHIDDENS = "STARTHIDDENS"; String ENDHIDDENS = "ENDHIDDENS"; String CONNECT = "CONNECT"; String RECEIVE = "RECEIVE"; String RESOLVE = "RESOLVE"; String REQUEST = "REQUEST"; String RESPONSE = "RESPONSE"; String EXTRARES = "EXTRARES"; int _webresult; try{ lr.think_time(0); _webresult = lrapi.web.reg_find("Text=Pelican OFAC\r\n ", new String[]{ LAST}); _webresult = lrapi.web.url("PelicanOfac.html", "URL=https://49.9.134.80:/ace/PelicanOfac.html?ABCD", new String[]{ "Resource=0", "RecContentType=text/html", "Referer=", "Snapshot=t4.inf", "Mode=HTML", EXTRARES, "Url=../favicon.ico", "Referer=", ENDITEM, LAST}) // couldn't decode request from body, couldn't decode response from body ; }catch(Exception e){ e.printStackTrace(); return -1; } return 0; } }
↧