You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/11/05 01:47:55 UTC

[Bug 54097] New: CSV Data Set Config not working in distributed mode

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

          Priority: P2
            Bug ID: 54097
          Assignee: issues@jmeter.apache.org
           Summary: CSV Data Set Config not working in distributed mode
          Severity: regression
    Classification: Unclassified
                OS: Linux
          Reporter: jmeter@erlewein.org
          Hardware: PC
            Status: NEW
           Version: 2.8
         Component: Main
           Product: JMeter

Created attachment 29547
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29547&action=edit
JMeter script

I have a distributed JMeter environment based on Ubuntu 12.04 (runs virtualized
on vSphere), that executes JMeter tests  that I write & upload on a Windows 7
machine.

All has been working fine on JMeter 2.6 & 2.7 but after I switched to 2.8 my
CSV Data Set Config elements just return "<EOF>". The scripts work fine if I
run them locally on Windows 7 & JMeter 2.8 but as soon as I upload and execute
them they fail with that issue.

I have checked all access rights and that the files are in the right
directories on client and server (I run everything out of the JMeter/bin dir).

I have attached an example script but this happens to ALL my scripts! I have
not been able to get one CSV to load correctly.

Cheers Oliver

P.S. CSV file is:

oliver,oliver
test,test
test2,test2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

Sebb <se...@apache.org> changed:

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

--- Comment #2 from Sebb <se...@apache.org> ---
What happens if you run a test _without_ the JMeter plug-ins?

I just tried, and the provided test case will not load in JMeter.
Can you provide a test case that fails when using standard JMeter?

If so, please also provide the server log from a run of the test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #16 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Note regarding this that recenty we started
to have lot of Test failures on one integration
Machine, and remember sebb we thought it might be
Related to machine installation and you disabled it.

Also note I put my csv in the folder you mention , but I will recheck.
I wonder if it could not be related to fix to expose BufferedReader.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #1 from olivernz <jm...@erlewein.org> ---
Oh and also using JMeter plug-ins version 0.5.5 too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #3 from Sebb <se...@apache.org> ---
The attached JMeter script also does not appear to have a CSV Data Set Config
element in it. Wrong test plan?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

olivernz <jm...@erlewein.org> changed:

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 29558
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29558&action=edit
jmeter-server.log

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #6 from olivernz <jm...@erlewein.org> ---
Created attachment 29552
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29552&action=edit
Updated JMeter file

This is the right script. The input CSV is just username,password list. Nothing
fancy.

I'm suspecting something here is my fault but for the life of me I can't find
anything wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

olivernz <jm...@erlewein.org> changed:

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

--- Comment #13 from olivernz <jm...@erlewein.org> ---
Yes, always use relative paths. Duh, haven't tried absolute. Will do so now.
Where does it actually read the file form in a distributed environment? I've
always copied CSV files wherever I could think it got them from (bin
directories & where the scripts were started from).

But absolute definitely worked in the past without a hitch. 

Thanks for the excellent turnaround on this! Sorry for me lagging but i have
deadlines and this is biting me in the back so doing manual workarounds which
are adding to the work load. You probably know the prob ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29547|0                           |1
        is obsolete|                            |

--- Comment #10 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 29556
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29556&action=edit
Simple Test Plan

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #4 from olivernz <jm...@erlewein.org> ---
Sorry, indeed I copied the wrong script :-(

Sebb, I'm first trying the other things you suggested to see if it's JMeter or
the plug-ins (updated both at the same time....add to lessons learned ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #8 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Another questions:
You talk about server and client so issue happens with remote testing.
Are the client and server jmeter installation directories in the same folders
or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Can you attach your test case meanwhile or give more details on csv dataset
configuration ( using vars, properties...)
Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #14 from olivernz <jm...@erlewein.org> ---
Yes, both installations (client and server) of JMeter have the same path
structure. But I tried it with absolute paths and couldn't get it working
either. I need to experiment some more but it seems you can reproduce at least
part of the issue.

I'm away the rest of the week and won't be able to help until next week again
though. Thanks for the excellent help so far!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #17 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Could be related to 52847

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #15 from Sebb <se...@apache.org> ---
Note that the BatchTestLocal.jmx script which is part of the unit tests
includes a CSV Dataset element using a relative path name and that works fine.

The CSV file must be stored on the server host system in the correct relative
directory to where the jmeter server is started. In the case of the log
attachment 29558 that is the directory:

/Volumes/HD2/data/jmeter/jmeters/apache-jmeter-2.8/bin

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #9 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
I made a test.
Can you confirm that you are using relative paths and not absolue ones.

If you use absolute paths it works.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

--- Comment #11 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 29557
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29557&action=edit
CSV file

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pavankch@gmail.com

--- Comment #19 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 52847 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

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

--- Comment #7 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks, can you also attach jmeter.log ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54097] CSV Data Set Config not working in distributed mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54097

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #18 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Mon Nov 12 21:11:24 2012
New Revision: 1408461

URL: http://svn.apache.org/viewvc?rev=1408461&view=rev
Log:
Bug 54097 - CSV Data Set Config not working in distributed mode
Clarified documentation for distributed tests.
Bugzilla Id: 54097

Modified:
    jmeter/trunk/xdocs/usermanual/component_reference.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.