Bug 44301

Summary: Enable "ignore failed" for embedded resources
Product: JMeter Reporter: Eyal Lupu <eyal.lupu>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 2.3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Bug Depends on: 52409    
Bug Blocks:    
Attachments: Test Plan using tomcat
Test page to put in tomcat/webapps/ROOT

Description Eyal Lupu 2008-01-26 23:58:13 UTC
When asking the HTTP samplers to download embedded resources it will fail the 
entire request if any of the embedded resources fetching has failed (for 
example a CSS which doesn't exists). 

I would like to have an option to ignore such errors. For example, I would like 
to use JMeter to generate a load which tests a switch I wrote - but if it fails 
for embedded resources I can't tell if the reason to the error was my switch or 
something else (a 404 errors on embedded resources are very common). I would 
like to be able to run a full success scenario using JMeter w/o my switch, then 
to plug-in the switch and see the difference.
Comment 1 Philippe Mouawad 2012-01-01 22:21:10 UTC
Note that this issue generates StackOverflowException when displaying built Results in Tree  (because children node and parent nodes are the same):
2012/01/01 23:16:27 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.StackOverflowError
	at javax.swing.tree.TreePath.<init>(TreePath.java:98)
	at javax.swing.tree.TreePath.<init>(TreePath.java:98)
	at javax.swing.tree.TreePath.<init>(TreePath.java:98)
Comment 2 Philippe Mouawad 2012-01-08 22:08:38 UTC
Created attachment 28125 [details]
Test Plan using tomcat
Comment 3 Philippe Mouawad 2012-01-08 22:09:11 UTC
Created attachment 28126 [details]
Test page to put in tomcat/webapps/ROOT
Comment 4 Philippe Mouawad 2012-01-08 22:09:28 UTC
Date: Sun Jan  8 22:08:01 2012
New Revision: 1228972

URL: http://svn.apache.org/viewvc?rev=1228972&view=rev
Bug 44301 - Enable "ignore failed" for embedded resources

Comment 5 Philippe Mouawad 2012-01-08 22:11:24 UTC
New jmeter property added:
# If embedded resources download fails due to missing resources or other reasons, if this property is true
# Parent sample will not be marked as failed 

Set to true to ignore failing embedded resources