You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/07/18 16:50:39 UTC

DO NOT REPLY [Bug 45435] New: One space is added to the last column during csvread

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

           Summary: One space is added to the last column during csvread
           Product: JMeter
           Version: 2.3.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: okycastro@gmail.com


scenario
User Parameters
  parm1 - ${__CSVRead(d:\subdata.txt,0)
  parm2 - ${__CSVRead(d:\subdata.txt,1)}${__CSVRead(d:\subdata.txt,next())}

subdata.txt
7877870166,D
7877870153,D
7877870119,D
7877870199,D
7877870096,H


parm2 will have D[SPACE]

TEMPORARY SOLUTION
Add a 3rd dummy parameter so that the space is added in that dummy 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@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45435] One space is added to the last column during csvread

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





--- Comment #3 from Sebb <se...@apache.org>  2008-07-18 08:34:11 PST ---
Please attach a simple test case that shows the SOAP problem.

Also include jmeter.log from a test run.

Replace any sensitive information before uploading any attachments!


-- 
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@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45435] One space is added to the last column during csvread

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


yacahuma <ok...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID




--- Comment #4 from yacahuma <ok...@gmail.com>  2008-07-18 08:40:47 PST ---
I am changing this bug to invalid.  I just ran the program again, and I cannot
reproduce it.  I wish I saved the request yesterday(sound like a visit to the
mechanic). Now is not there.  I am sorry to waste your time. 


-- 
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@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45435] One space is added to the last column during csvread

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





--- Comment #2 from yacahuma <ok...@gmail.com>  2008-07-18 08:20:36 PST ---
I use logn to print the variable(something i did not do yesterday) and the
space is not there. 

What I am doing with the data is creating a soap request. When I look  at the
request being sent, the space is there. The space is NOT in the request I
created in the test plan but it is in the request being sent. So I assumed the
problem was in the reading because as soon I added the third dummy parameter,
the space was gone. Now that the logn does not show the space, I have no more
ideas how to help.  I know the problem is there.  This is the part of the
request

<SimpleChar xsi:type="awsi:SimpleChar">${ptype}</SimpleChar>

as you can see , there is no space. 


I


-- 
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@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 45435] One space is added to the last column during csvread

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


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

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




--- Comment #1 from Sebb <se...@apache.org>  2008-07-18 08:01:21 PST ---
Works fine for me.

Are you sure that the data file does not have a space after the second
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@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org