Bug 44301 - Enable "ignore failed" for embedded resources
Enable "ignore failed" for embedded resources
Product: JMeter
Classification: Unclassified
Component: HTTP
All All
: P2 enhancement with 2 votes (vote)
: ---
Assigned To: JMeter issues mailing list
Depends on: 52409
  Show dependency tree
Reported: 2008-01-26 23:58 UTC by Eyal Lupu
Modified: 2012-01-08 22:11 UTC (History)
1 user (show)

Test Plan using tomcat (13.02 KB, application/xml)
2012-01-08 22:08 UTC, Philippe Mouawad
Test page to put in tomcat/webapps/ROOT (7.60 KB, text/html)
2012-01-08 22:09 UTC, Philippe Mouawad

Note You need to log in before you can comment on or make changes to this bug.
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