Summary: | SOAP/XML-RPC should not send a POST request when file to send is not found | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Yaroslav <slavko_h> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | CLOSED FIXED | ||
Severity: | enhancement | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 2.5.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | TP for the issue |
Description
Yaroslav
2011-10-31 18:31:55 UTC
Created attachment 27878 [details]
TP for the issue
Similar issue exist for "HTTP request" with "GET" method when "File Path" is being used that points to non-existing file. Fill free to open new issue for "HTTP" if it not related to this one. Hello, You reported bug in version 2.4 of JMeter, this version had a retry count of 3 with HTTPHC3Impl, this explain why you have 4 requests. Since 2.5.1, this is now 1 (which will make 2 requests). You can customize this by setting: httpclient3.retrycount=0 I close issue as invalid. Sorry, My initial description is not quit correct. If the file does not exist (not found) then the sample is displaying corresponding error about it and is sending empty content few times? My ER is - if file does not exist then the sample should not send anything. reopened Not sure this counts as bug, but it would be a useful enhancement. Date: Tue Nov 1 13:32:10 2011 New Revision: 1195990 URL: http://svn.apache.org/viewvc?rev=1195990&view=rev Log: Bug 52115 - SOAP/XML-RPC should not send a POST request when file to send is not found Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java jakarta/jmeter/trunk/xdocs/changes.xml r1196526 Verified - when the file does not exists then an error is displayed: Response code: Non HTTP response code: java.lang.IllegalArgumentException Response message: Non HTTP response message: Filename references a missing or unreadable file:C:\Projects\LA\AJIS_JIMS\unit_messages\unit_all\data_may14_2011\unit__294695 Works as expected. Passed Can be closed. For HTTP request - new issue will be opened. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2629 |