I have a problem accessing a site contents using HttpUnit package. While am using the WebConversion to get the response as follows:
WebConversation wc = new WebConversation();
// Obtain the page
WebRequest request = new GetMethodWebRequest("<site url>");
WebResponse response = wc.getResponse(request);
Am getting an exception thrown as:
SyntaxError: unterminated regular expression literal (httpunit#16(eval); line 1)
Do anyone have any idea about this?
Thank you for your time.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.