DO NOT REPLY [Bug 46901] New: Unable to upload iterate through files to be uploaded

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

DO NOT REPLY [Bug 46901] New: Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901

           Summary: Unable to upload iterate through files to be uploaded
           Product: JMeter
           Version: 2.3.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Main
        AssignedTo: jmeter-dev@...
        ReportedBy: mandarkn@...


Hi,

I have a script to upload a file. I have modified the file path to pick it from
the csv file instead. Though the csv file have multiple rows the script is not
proceeding to the second row i.e the same file is being sent in the request for
each iteration/loop.  

This was working fine with version 2.3.1. Please let me know the changes to be
made in case I need to fix this one.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #1 from Sebb <sebb@...>  2009-03-24 04:25:18 PST ---
How are you reading the CSV file?

Please attach a simple test plan that works under 2.3.1 and fails under 2.3.2.
Remove any sensitive data first.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #2 from Mandar K Nadgouda <mandarkn@...>  2009-03-24 04:36:53 PST ---
Created an attachment (id=23406)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23406)
Script to upload location

The "Submit File for Upload" HTTP Request uses send files with the request to
upload files. The ${importFile} is being picked up from the "CSV Data Set
Config"

The first file name is passed to all the "Import Location" iterations in JMeter
2.3.2 r665936 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=665936 ) The second iteration should move on to the next row within "CSV
Data Set Config"

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #3 from Mandar K Nadgouda <mandarkn@...>  2009-03-24 04:39:46 PST ---
Added a script as attachment. I am using JMeter 2.3.2 r665936 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=665936 ) The attached
script fails on this release since the same file name mentioned in row 1 of the
CSV Data Config is picked up by all iterations.

The same file works on 2.3.1. I cannot use 2.3.1 for other scripts developed
due to some other issues.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #4 from Sebb <sebb@...>  2009-03-24 04:45:53 PST ---
The test plan is not exactly "simple".

Which sampler is failing?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #5 from Mandar K Nadgouda <mandarkn@...>  2009-03-24 04:52:57 PST ---
To put it precisely any HTTP Request with at least one file in the "Send Files
With the Request" fails when I parameterize the File path as in ${importFile}
and then run it through iterations. The ${importFile} gets replaced for the
first iteration with appropriate file name but for next iteration picks the
same file path instead of proceeding further.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #6 from Sebb <sebb@...>  2009-03-24 05:01:37 PST ---
I think this has been fixed in SVN - could you try the nightly build and see if
that works for you?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #7 from Mandar K Nadgouda <mandarkn@...>  2009-03-24 05:41:11 PST ---
No its still giving me the same issue both the first iteration and second
iteration are picking the same file.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #8 from Mandar K Nadgouda <mandarkn@...>  2009-03-24 05:42:02 PST ---
I have tried with jakarta-jmeter-r753086 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=753086 )

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #9 from Mandar K Nadgouda <mandarkn@...>  2009-03-24 05:50:41 PST ---
Please note: I do have some other parameters along with the File to be sent
with the request as well

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #10 from Mandar K Nadgouda <mandarkn@...>  2009-03-27 04:20:06 PST ---
Any updates on this. When is the next release of Jmeter? Will this be fixed by
then? Is there any alternative I can go ahead with?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] Unable to upload iterate through files to be uploaded

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #11 from Sebb <sebb@...>  2009-03-27 06:33:48 PST ---
I have found that the problem does exist - I thought it was solved in the
current nightlies, but not so.

It's not yet clear how to fix this, so I can't say when a fix will be released.

However, I have found that the problem only affects the first file in the list,
which is treated differently for compatibility reasons.

If you can put up with sending a dummy file as well, then you can use JMeter
2.3.2 or a nightly. Otherwise you will have to use JMeter 2.3.1.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901


Sebb <sebb@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unable to upload iterate    |HTTP Sampler does not
                   |through files to be         |process var/func refs
                   |uploaded                    |correctly in first file
                   |                            |parameter




--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901


Sebb <sebb@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #12 from Sebb <sebb@...>  2009-05-01 11:28:21 PST ---
This seems to be working OK now.

Please test one of the nightlies and report back.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901


muru <mmuru98@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #13 from muru <mmuru98@...>  2009-05-31 10:18:24 PST ---
I tried to verify this issue against the release jmeter version 2.3.3
and it is still exist. It always pick up the first file name.

But, the same script works like charm in 2.3.1 version. I am not sure what got
fixed in 2.3.3 because the behavoir still the same as in 2.3.2

I need to do diff in source to see what changes were made between 2.3.1 to
2.3.3

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #14 from Sebb <sebb@...>  2009-06-16 16:25:57 PST ---
Created an attachment (id=23821)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23821)
Sample test plan

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #15 from Sebb <sebb@...>  2009-06-16 16:26:21 PST ---
Created an attachment (id=23822)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23822)
Sample test data

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901


Sebb <sebb@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #16 from Sebb <sebb@...>  2009-06-16 16:28:08 PST ---
It works fine for me with the attached test plan and CSV file.

Create 3 dummy files - f1.tmp, f2.tmp, f3.tmp and start the mirror-server.

You should see that the files are correctly uploaded.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901





--- Comment #17 from SteveH <steveh_adobe@...>  2009-07-16 16:33:35 PST ---
I'm seeing this bug on v2.3.3 and v2.3.4.

I'm using HTTP Request HTTPClient Sampler.  I'm using a variable name for "File
Path".  The variable is changed in a BeanShell preprocessor.  In a loop I'm
posting a file to a server.  The first file name generated in the beanshell
keeps getting posted over and over even though I verified that the variable is
getting changed.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...


DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=46901


SteveH <steveh_adobe@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steveh_adobe@...




--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@...
For additional commands, e-mail: jmeter-dev-help@...

< Prev | 1 - 2 | Next >