jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <wool...@gmail.com>
Subject Re: Problem - JMeter uses \ in file pathnamel as special characte r
Date Thu, 19 Aug 2004 15:29:05 GMT
I don't see a file attachment, can you post it to bugzilla, so the
other developers can assist also. thanks

peter


On Thu, 19 Aug 2004 20:52:56 +0530, Dhiman, Gaurav <gaurav.dhiman@ca.com> wrote:
> 
> Attached is the JMeter test case file.
> I am using JMeter 1.9.1 for this.
> 
> In this I am using _StringFromFile() function to fetch the few of the
> values from file.
> In create and Modify test, see the Entry DN field, which contains the
> file name, that filename is creating a problem. I give that file name
> without '\' character, it works file, but it does not work with '\'
> character in filename path. I even tried using \\ thinking it to be a
> escape character, but still does not work. This limits me to not to
> mention the filename there.
> 
> I hope this will make you understand the problem in better way.
> 
> Regards,
> Gaurav
> 
> 
> 
> 
> -----Original Message-----
> From: Peter Lin [mailto:woolfel@gmail.com]
> Sent: Thursday, August 19, 2004 8:37 PM
> To: JMeter Users List
> Subject: Re: Problem - JMeter uses \ in file pathnamel as special
> characte r
> 
> please post your test plan, minus anything sensitive. that's going to
> be the easiest way for us to help you. if you can't post the test
> plan, than there's very little we can do.
> 
> I understand your frustration, but these are not trivial things to
> debug without all the details. good luck
> 
> peter
> 
> On Thu, 19 Aug 2004 20:02:50 +0530, Dhiman, Gaurav
> <gaurav.dhiman@ca.com> wrote:
> >
> > I am once again explaining my problem.
> > I am using the LDAPExt Request Sampler, through that I am using the
> Add
> > Test option and passing the filename path (c:\gd.txt), when I run that
> > JMeter test. It throws an error (I have already sent the request
> string
> > as well as the response string from JMeter in my last of the few
> mails).
> >
> > Somebody on this mailing list suggested me to use "/gd.txt" in place
> of
> > "C:\gd.txt", I did that also, but that also gives an error.
> >
> > Now what I need is, I need to send the pathname of a file (C:\gd.txt)
> to
> > LDAP server, how can I do that using JMeter. JMeter gives an error
> with
> > '\' character as it considers it to be a special character and I don't
> > know how to handle it.
> >
> > If anybody has answer, please respond.
> >
> > Thanks & Regards,
> > Gaurav Dhiman
> >
> >
> >
> >
> > -----Original Message-----
> > From: Peter Lin [mailto:woolfel@gmail.com]
> > Sent: Thursday, August 19, 2004 6:28 PM
> > To: JMeter Users List
> > Subject: Re: Problem - JMeter uses \ in file pathnamel as special
> > characte r
> >
> > I'm still confused as to which character is being used with jmeter. if
> > it is something like C:\myfile.txt
> >
> > then it would be special character. if it's /myfile.txt, then the path
> > is probably wrong. some clarification on exactly what is happening
> > would help diagnose the problem.
> >
> > peter
> >
> > On Thu, 19 Aug 2004 13:50:05 +0100, BAZLEY, Sebastian
> > <sebastian.bazley@atosorigin.com> wrote:
> > > Useful - but it does not mention "/", so I wonder why that failed?
> > >
> > > S.
> > > -----Original Message-----
> > > From: Peter Lin [mailto:woolfel@gmail.com]
> > > Sent: 19 August 2004 13:48
> > > To: JMeter Users List
> > > Subject: Re: Problem - JMeter uses \ in file pathnamel as special
> > > characte r
> > >
> > > http://java.sun.com/products/jndi/tutorial/beyond/names/syntax.html
> > >
> > > here's a page on ldap and handling special characters.
> > >
> > > peter
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message