InferHTML resources

Hi,

I am using latest version of gatling. I have 2 clarifications

While using InferHTMLresources in httpprotocol, i am getting the following error in the console. What is this error, is there any way to suppress it?

  1. i.g.h.f.HtmlParser - Malformed HTML: tag without rel attribute
  2. i.n.h.c.c.DecompressionException: Input is not in the GZIP for mat
  3. Also i can see all the resources in console’s request details if i enable inferHTML resources

is there any way to configure pac URL in proxy settings? I am able to give direct proxy server and port, but checking any way to configure pac URL.

Thanks for your time and feedback

Sakthivel Raja V

  1. i.g.h.f.HtmlParser - Malformed HTML: tag without rel attribute

Looks like broken HTML => fix it

  1. i.n.h.c.c.DecompressionException: Input is not in the GZIP for mat

Looks like broken compression, can’t do anything on the Gatling side, your server is sending broken payloads.

  1. Also i can see all the resources in console’s request details if i enable inferHTML resources

So?

is there any way to configure pac URL in proxy settings? I am able to give direct proxy server and port, but checking any way to configure pac URL.

We don’t support pac and I doubt it would be helpful: even if we were to be able to execute the pac Javascript file (would hurt performance) to discover une correct proxy for the urls you’re hitting, authorization credentials would still be missing (those are stored encrypted in your computer and I don’t think we would have a way to fetch them).
I’m afraid you’ll have to download your pac file and analyze it. Or get your hand on a static proxy for server usage.

Thanks Stephane for your feedback.

Ok… i will check what can be done in case of pac in Proxy.

For,

  1. Also i can see all the resources in console’s request details if i enable inferHTML resources
    Console output shows details of resources for a page or transaction. what i thought if i need to see only the specific request name that been configured in the script [http(requestname)], any configuration for this?

Once again thanks for your time.

Check silentResources: https://gatling.io/docs/current/http/http_protocol/#silencing