Bug 62671

Summary: embedded_resources_use_md5 and css parser
Product: JMeter - Now in Github Reporter: lukasz.morawski
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: normal CC: lukasz.morawski
Priority: P2    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: All   

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?
Comment 1 The ASF infrastructure team 2022-09-24 20:38:14 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4852