Hello,
thanks for the reply, i did find out from where jmeter starts
and i was able to add some of my default parameters before jmeter
starts.
Anyway can u brief what u meant by
'So why not use a static section to do the setup?'
My current project runs like this
step1.
jmeter loads some default parameters (i simply read a .log file)
like URL, some objects (each jmeter thread will
access that URL and take the object as POST request).
step2.
jmeter GUI starts, I enter the number of threads....other parameters
for my sampler.
step3.
HTTP POST connection is established...I get some response from server.
step4. (to be done!!!! my server is down now)
Try to read those response and display to user, capture the time stamp,
and all data required for a GUI.....
bye,
with regards,
Deepak.
[EMAIL PROTECTED]
12/08/2004 06:15 PM
Bitte antworten an jmeter-dev
An: [EMAIL PROTECTED]
Kopie:
Thema: Re: From where does Jmeter start?
On Wed, 08 Dec 2004 17:23:03 +0100,
[EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to know from which file exatly does Jmeter starts.
> Is there a public static void main(String[] args) to start from?????
Yes.
It's in NewDriver.java.
But changing this is a bad idea.
>
> because in my project I am using my own sampler
> and before I start running the threads, I need to set some
> parameters like URL and binary objects which each
> thread takes when it access the server. (and these values
> have to be set to an array list before any thread is created)
>
> I read these parameters to be read from a binary file
> and I want the reading process to be at the beginning
> i.e. I want to start Jmeter by reading these values and then
> open the GUI etc....
So why not use a static section to do the setup?
> I checked out the start.java in the org.apache.jmeter.gui.action
> but could not get what i want.
>
> any help from the developers will be great!!
Don't change NewDriver.java.
S.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]