Bug 62671 - embedded_resources_use_md5 and css parser
Summary: embedded_resources_use_md5 and css parser
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 4.0
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-03 12:59 UTC by lukasz.morawski
Modified: 2018-09-03 13:12 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lukasz.morawski 2018-09-03 12:59:23 UTC
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?