Find Jobs
Hire Freelancers

Implement a patch to get HtmlUnit to work on Google AppEngine

$15-20 USD

Closed
Posted almost 13 years ago

$15-20 USD

Paid on delivery
I installed Groovy Web Console onto google AppEngine. The application can be found here: <[login to view URL]> I now need to be able to use HtmlUnit on GAE but there are several restrictions, as described in the link below. The link below provides a patch that solves these problems. The task is to implement this patch so that that Html Unit can be run in a groovy script on GAE. Here is the thread: <[login to view URL]> If you are accepted for this job I'll send you the full sources and a Google Account to upload the application onto AppEngine under these credentials. Continued below... ## Deliverables I installed Groovy Web Console onto google AppEngine. The application can be found here: <[login to view URL]> I now need to be able to use HtmlUnit on GAE but there are several restrictions, as described in the link below. The link below provides a patch that solves these problems. The task is to implement this patch so that that Html Unit can be run in a groovy script on GAE. Here is the thread: <[login to view URL]> If you are accepted for this job I'll send you the full sources and a Google Account to upload the application onto AppEngine under these credentials. To test this, paste the below script in above Web Console and see if it runs. Currently, it returns the following error: [login to view URL]$CallNotFoundException: The API package 'urlfetch' or call 'Fetch()' was not found. at [login to view URL]([login to view URL]) at [login to view URL]([login to view URL]) at [login to view URL]([login to view URL]) at [login to view URL]([login to view URL]) at [login to view URL]([login to view URL]) at [login to view URL]([login to view URL]) The Script (paste it into the Groovy web console above to see what result you currently get): import [login to view URL]; import [login to view URL]; import [login to view URL]; import [login to view URL]; import [login to view URL]; final WebClient webClient = new WebClient(); URL url = new URL("[login to view URL]"); WebRequest webRequest = new WebRequest(url); final HtmlPage page = [login to view URL](webRequest); println("HtmlUnit - Welcome to HtmlUnit"+ [login to view URL]()); final String pageAsXml = [login to view URL](); println("contains body class composite: "+[login to view URL]("<body class=\"composite\">")); final String pageAsText = [login to view URL](); println("Support for the HTTP and HTTPS protocols: "+[login to view URL]("Support for the HTTP and HTTPS protocols")); [login to view URL]();
Project ID: 3421971

About the project

2 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $17 USD for this job
User Avatar
See private message.
$17 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 3 days
0.0 (1 review)
0.0
0.0

About the client

Flag of CANADA
Canada
5.0
4
Member since Feb 28, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.