Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
251 views
in Technique[技术] by (71.8m points)

Jmeter 5.3: Parent HTTP request fails due to child request favicon.svg failed which has same domain

We recorded UI script using Blazemeter and all HTTP requests having advanced settings 'Retrieve Embedded resources' checked as expected. When re-play the same script by importing in Jmeter, the parent HTTP request is downloading all embedded resources along with favicon.svg, however this .svg request always fails (both requests having same domain).

Is there any way to make parent node PASS though child request failed in Jmeter. URLs must match option of Advanced tab of HTTP request's can be used if different domain.

Please suggest.

Jmeter v: 5.3

question from:https://stackoverflow.com/questions/65883896/jmeter-5-3-parent-http-request-fails-due-to-child-request-favicon-svg-failed-wh

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The options are in:

  1. Remove this favicon.svg from the "embedded resources" scope:

    enter image description here

    this option is available since JMeter 5.4 so you will have to upgrade

  2. There is a setting to ignore eventual failures of embedded resources retrieval, you can add the next line to user.properties file:

    httpsampler.ignore_failed_embedded_resources=true
    

    JMeter restart will be required to pick the property up


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.9k users

...