On 5/26/05, Manjunath N.S. <[EMAIL PROTECTED]> wrote:
> Hi,
>
> But I have some Application Specific information stored in Properties
> file( config.properties), which I want to pass these information to
> JMeter Test Cases. In Propeties file information will be stored as
> Key=Value, is there any way to read..
Not directly at present.
There are some property functions which can access existing
properties, and there is a newish command-line option (which I think
made it into 2.0.3) which allows you to specify an additional property
file at startup time. Try jmeter -? for list of command line options.
Or you could use StringFromFile with the __split() function and use
"=" as the delimiter.
If there aren't many properties, these could perhaps be separately
extracted and passed in on the command line.
S.
>
> thanks
> manju
>
>
>
>
>
> On 5/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > You can also use the CSVRead function, useful if you have many users
> >
> > This is an example, in the user file, you vave lines like this one:
> > "aUserName2","aPassword1"
> > "aUserName2","aPassword2"
> > ...
> >
> > And in your HttpRequest sampler, in parameter section, you can set
> > parameters with values in file , like CSVRead function like this
> > ${__CSVRead(myFileOfUser,0)}
> > 0 is the number of the column (here the username value) .
> >
> > Regards
> > Jerome
> > |---------->
> > | |
> > | |
> > | |
> > | |
> > | |
> > | |
> > | |
> > | |
> > | |
> > |---------->
> >
> > >------------------------------------------------------------------------------------------------------------------------------------------------|
> > |
> > |
> > |
> > |
> > |
> > |
> > |Message de "Manjunath N.S." le 26/05/2005 09:04
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > | Veuillez r�pondre � "JMeter Users
> > List" <[email protected]> |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > | Pour
> > |
> > |
> > |
> > | JMeter Users List
> > |
> > |
> > |
> > | Objet
> > |
> > |
> > |
> > | Re: Multiple Users Simulation
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> > |
> >
> > >------------------------------------------------------------------------------------------------------------------------------------------------|
> >
> >
> >
> >
> > Hi,
> >
> > is there any preprocessor to read from the Properties file..
> >
> > thanks
> > manju
> >
> > On 5/26/05, Galya Andonova <[EMAIL PROTECTED]> wrote:
> > > Hi!
> > > You can use the existing User Parameters Pre-processor to do this.
> > >
> > > See for example:
> > >
> > >
> > http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-1680863678257fbcb85bd97351860eb0049f19ae
> >
> > >
> > > Best wishes:
> > > Galya Andonova
> > >
> > > ----- Original Message -----
> > > From: "Anuradha S.Athreya" <[EMAIL PROTECTED]>
> > > To: <[email protected]>
> > > Sent: Thursday, May 26, 2005 9:36 AM
> > > Subject: Multiple Users Simulation
> > >
> > >
> > > > I'm testing an application for which i need to send HTTP requests from
> > > > JMeter. But for each request which is sent, i want to send different
> > > > parameter values. Can this be done by picking the parameter values from
> > a
> > > > file?
> > > >
> > > > Typical scenario would be , login to an application , but each time as
> > a
> > > > different user?
> > > >
> > > > Does JMeter provide any feature to support this? Or Do i have to change
> > it
> > > > manaually?
> > > >
> > > > Regards
> > > > Anuradha
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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]