Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameters do not work in the "Send Files with the Request" Field #2367

Closed
asfimport opened this issue Apr 29, 2010 · 1 comment
Closed

Parameters do not work in the "Send Files with the Request" Field #2367

asfimport opened this issue Apr 29, 2010 · 1 comment

Comments

@asfimport
Copy link
Collaborator

Gerald Steiner (Bug 49223):
In the HTTP Request Sampler it is not possible to use paramters in the "Send Files with the Request" field.

For the configuration details see the attached screen shot.

The content of the error file is as follows:

java.io.FileNotFoundException: ${requestFile_}${i} (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:406)
at org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:115)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:159)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:514)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)

Created attachment jmeter.JPG: Screen shot configuration

Screen shot configuration

Severity: major
OS: Windows XP

Duplicated by:

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
This bug has been marked as a duplicate of #2212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant