apache / apache/jmeter

embedded_resources_use_md5 and css parser

Open
#4,852 0 comments 0 reactions 0 assignees View on GitHub
os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**lukasz.morawski** ([Bug 62671](https://bz.apache.org/bugzilla//show_bug.cgi?id=62671&redirect=false)):
When we set "httpsampler.embedded_resources_use_md5=true" when parsing embedded CSS we get an error:

"Response message: Embedded resource download error:http://www.cognifide.com/-/media/Feature/Experience-Accelerator/Grid960/Grid960/styles/optimized-min.css?t=20180704T130321Z code:Non HTTP response code: org.apache.jmeter.protocol.http.parser.LinkExtractorParseException message:Non HTTP response message: java.lang.IllegalArgumentException: Unrecoverable error met during parsing, you can ignore such errors by setting property:'httpsampler.ignore_failed_embedded_resource' to true, message:Failed to parse CSS"

I assume that this is because Response Data looks like this: "8f96f2dd1fee6725a3c8e843229815b4"
what is not a valid CSS but ignoring ALL embedded resources is not a good idea since me might miss some bugs.
Is it possible to have CSS parsed before saving MD5?

Severity: normal
OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.