BTW, the unix format works on Windows - assuming the file is on the
same disk - but not the other way round.

S.
On 28/11/05, Liu, Julia <[EMAIL PROTECTED]> wrote:
> Hi Bryn,
>
> You are right. Thanks a lot!
>
> -----Original Message-----
> From: Bryn Evans [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 10:38 AM
> To: JMeter Users List
> Subject: RE: function "StringFromFile" could not read data file in UNIX?
>
> is it because you've got the wrong "slash" at the end?  should it not be
> "bin/Account...." rather than "bin\Account" ?
>
> -----Original Message-----
> From: Liu, Julia [mailto:[EMAIL PROTECTED]
> Sent: 28 November 2005 15:35
> To: JMeter Users List
> Subject: function "StringFromFile" could not read data file in UNIX?
>
>
> Hi,
>
> I was trying to use function "StringFromFile" to read test data from an
> external data file. It works in Windows but not in Solaris. JMeter seems
> having problem finding data file in UNIX environment.
>
> This is how I used "StringFromFile"
>
> User Parameters
> Name                User_1
> ------------            -----------
> AcctNum
> ${_StringFromFile(/export/home/smp23/jakarta-jmeter-2.1/bin\Account_Num.dat,
> AcctNum,,)}
>
>
> And this is the error I got:
> ============================
> 2005/11/28 10:12:28 INFO - jmeter.functions.StringFromFile: Thread Group 1-1
> opening file /export/home/smp23/jakarta-jmeter-2.1/bin\Account_Num.dat
> 2005/11/28 10:12:28 ERROR - jmeter.functions.StringFromFile: openFile()
> error: java.io.FileNotFoundException:
> /export/home/smp23/jakarta-jmeter-2.1/bin\Account_Num.dat (No such file or
> directory)
>
> Could anyone let me know the solution?
>
> Thanks!
> Julia
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to