Skip to content

Huge number of responses when WebConnectionWrapper.getResponse is overridden and webClient.getPage() is called #269

Description

@sowjanyaboddeti

Created a WebConnectionWrapper and overridden getResponse() to see the count of responses and to ignore any 404 issues for .js or .img files.

When webClient.getPage(url) is called it is invoking getResponse more than 1000+ times for the below URL:
http://www.profuturo.mx/content/wps/portal/Grupo-Profuturo/Informacion-financiera

But on seeing the number of requests on chrome or any browser, it should be around 119. Is this expected because HtmlUnit is using Rhino Engine? Would we miss the webpage content if we try to parse it in parallel to getPage()

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions