How to record script using Jmeter?

2005-07-21 Thread Chetan (sent by Nabble.com)
I have Jmeter version 2.0.3. I also tried to record a script using HTTP proxy server, but in this case I had to set proxy server as localhost on my browser and I can record a script but my actual proxy server address is different and when I set this address as a proxy server in my browser Jmete

Streaming Media test

2005-07-21 Thread ravi kumar
Hi all I need to test a web application which contains streaming media like mpeg,mpg files.This application uses RTP and RTSP Protocals.Is it possible to do this with JMETER. Thanks in advance Ravi - Free antispam, antivi

Re: TCP session

2005-07-21 Thread sebb
Thanks again - that would be SearchByClass. I see now that JMeterThread already uses that to find the Listeners, so it could also use it find the new interface, and use that to call the threadStarted and threadFinished methods. Might get a chance to commit that later tonight. S. On 21/07/05, Mich

Re: TCP session

2005-07-21 Thread Michael Stover
There is a tree traverser that knows how to search for all objects of a certain type. So, that provides a very convenient way to find all the ThreadListeners. -Mike On Thu, 2005-07-21 at 16:44 +0100, sebb wrote: > Oops, that's my fault - I implemented it over a year ago, and promptly > forgot ab

Re: Response Time

2005-07-21 Thread Peter Lin
just becuase there's no response, it doesn't necessarily mean the time will be zero. for example, if the sampler tries to connect to the server and wasn't able to, it might take a few seconds for the connection to close. Not all servers close and clean up connections correctly, so there's no gauran

Re: TCP session

2005-07-21 Thread sebb
Oops, that's my fault - I implemented it over a year ago, and promptly forgot about it ... Obviously I thought it was useful at the time, but I did not consider the effect on test startup/shutdown. Looking at it again now, I suppose the cloneTree method could check for the appropriate interface a

Re: TCP session

2005-07-21 Thread Michael Stover
Well, I was a little surprised to discover this method is a part of every TestElement. That seems like overkill, and maybe it would be more appropriate for it to be a separate interface that any element can implement. If every Test Element object instance in a test has to have it's "threadFinished

Re: TCP sampler help ??

2005-07-21 Thread sebb
On 13/07/05, sebb <[EMAIL PROTECTED]> wrote: > The TCP Sampler does work, but it is fairly simple. > > It only allows for one EOL character (defined as a property). See > jmeter.properties for descriptions of other TCP properties. > > Each sampler creates a new connection, so if you have multiple

Re: JDBC Request Error

2005-07-21 Thread sebb
On 21/07/05, Rainer David <[EMAIL PROTECTED]> wrote: > I am using the j2sdk1.4.2_03 on windows with jmeter 2.0.3 and the oracle > driver ojdbc14.jar > The oracle driver is working normally for other java applications that > i'm running > > > i got the following error displayed in the listener "Vi

Re: TCP session

2005-07-21 Thread sebb
That's a lot simpler - don't know how I managed to miss that one. S. On 21/07/05, Michael Stover <[EMAIL PROTECTED]> wrote: > On Thu, 2005-07-21 at 15:17 +0100, sebb wrote: > > On 21/07/05, Michael Stover <[EMAIL PROTECTED]> wrote: > > > JMeter has a global namespace and thread-specific namespaces

Re: JDBC Request Error

2005-07-21 Thread Peter Lin
my first guess is the driver name is wrong. I haven't used ojdbc14.jar, but the older drivers were different. are you using oracle 10g? peter On 7/21/05, Rainer David <[EMAIL PROTECTED]> wrote: > I am using the j2sdk1.4.2_03 on windows with jmeter 2.0.3 and the oracle > driver ojdbc14.jar > The

Re: TCP session

2005-07-21 Thread Michael Stover
On Thu, 2005-07-21 at 15:17 +0100, sebb wrote: > On 21/07/05, Michael Stover <[EMAIL PROTECTED]> wrote: > > JMeter has a global namespace and thread-specific namespaces. Seems to > > me you would want to store your socket in the thread-specific namespace, > > and any TCP Sampler can retrieve it fr

Re: TCP session

2005-07-21 Thread sebb
On 21/07/05, Michael Stover <[EMAIL PROTECTED]> wrote: > JMeter has a global namespace and thread-specific namespaces. Seems to > me you would want to store your socket in the thread-specific namespace, > and any TCP Sampler can retrieve it from there. Each one should also be > able to create a n

JDBC Request Error

2005-07-21 Thread Rainer David
I am using the j2sdk1.4.2_03 on windows with jmeter 2.0.3 and the oracle driver ojdbc14.jar The oracle driver is working normally for other java applications that i'm running i got the following error displayed in the listener "View Results Tree" which is listening to the jdbc request sample show

Re: TCP session

2005-07-21 Thread Michael Stover
JMeter has a global namespace and thread-specific namespaces. Seems to me you would want to store your socket in the thread-specific namespace, and any TCP Sampler can retrieve it from there. Each one should also be able to create a new one if it does not yet exist, and at test end, the sampler s

Re: TCP session

2005-07-21 Thread sebb
On 21/07/05, srikanth peddireddy <[EMAIL PROTECTED]> wrote: > > > Hi Sebb, > > can you please answer some more questions on this topic. I gave some of my > assumptions and dopubts below your response > > >>The current TCP Sampler creates a new socket for each sampler > >>occurrence in each thr

Re: TCP session

2005-07-21 Thread srikanth peddireddy
Hi Sebb, can you please answer some more questions on this topic. I gave some of my assumptions and dopubts below your response >>The current TCP Sampler creates a new socket for each sampler >>occurrence in each thread. I do plan to add re-usable sockets to the >>TCP Sampler, but that probabl

Re: TCP session

2005-07-21 Thread sebb
The current TCP Sampler creates a new socket for each sampler occurrence in each thread. I do plan to add re-usable sockets to the TCP Sampler, but that probably won't be for a few weeks. One way to re-use the same socket might to have only a single sampler, and vary the content of the request us

Re: TCP session

2005-07-21 Thread Zohar Amir
Thanks, but I think I did not explain myself clear enough. The session is set up by opening a TCP connection and sending a login request. From that point on, all transactions (both from the server and from the client) are sent on that same connection (=same socket). I suspect Jmeter was build w

Re: AW: TCP session

2005-07-21 Thread srikanth peddireddy
i think Zohar is not talking about HTTP sessions. he wants to test a scenario where number of clients connect to a server via a TCP connection (socket) and keep on doing some action over that socket connection(like requesting some data) and server will respond with some other data. I too need to