Right so, I've done a little add-on to JMeter. The structur looks like this:

 org
  |
apache
  |
jmeter
  |
  +--protocol
  |      |
  |     sip
  |      |
  |        +--config
  |        |
  |      +--control
  |      |
  |      +--sampler     
  |
  +--save
         |
         +--handlers

I have my own programmed SIP files in each directory. They look much like
the http/ftp protocols. How do I merge my files with the existing JMeter
files? I guess you have to tell the program to add my own protocol. Where do
I do that? Are there anything else I haven't thought about? Please enlight
me and let me know...

//Andreas


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 21 augusti 2003 14:48
To: JMeter Users List
Subject: RE: Newbie help with customized requests


Yes, I think it's something we would add to JMeter if written for it.  
At the least, it would make a good base for other low-level protocol 
samplers.

-Mike

On 21 Aug 2003 at 9:09, Andreas Fransson wrote:

> Thank you very much my friend. I'll start with that right on. Do you think
> this is something the developers might add in a near future? And do you
> think they might be interested in the code I'm about to write?
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: den 20 augusti 2003 14:31
> To: JMeter Users List
> Subject: Re: Newbie help with customized requests
> 
> 
> It's only possible if you write your own Sampler implementation 
that 
> allows you to send arbitrary raw strings over a socket.  Not that 
> hard to write.  Look at the 
> org.apache.jmeter.samplers.AbstractSampler which is the class 
you 
> need to extend.  You'll also need to make a gui, so also look at 
> org.apache.jmeter.samplers.gui.AbstractSamplerGui.
> 
> You'll also probably find it helpful to look at various other classes 
> that do this.  You can find them by looking in the javadocs (see 
> implementing classes of the above).
> 
> -Mike
> 
> On 20 Aug 2003 at 11:12, Andreas Fransson wrote:
> 
> > > Hey folks,
> > > 
> > > Just downloaded JMeter to run a test on a SIP-stack that I've 
> built. OK,
> > > here is the deal. I want to feed the SIP-stack proxy server 
with 
> a request
> > > that doesn't look like a HTTP/FTP (or similar) request. The 
> request should
> > > look like this:
> > > 
> > >
> --------------------------------------------------------------------------
> > > ---------
> > > INVITE sip:[EMAIL PROTECTED] SIP/2.0
> > > Via: SIP/2.0/UDP 10.211.79.30
> > > From: "bob "<sip:[EMAIL PROTECTED]>
> > > To: "alice" <sip:[EMAIL PROTECTED]>
> > > Call-ID: [EMAIL PROTECTED]
> > > CSeq: 1 INVITE
> > > Content-type: application/sdp
> > > Content-Length: 112
> > > Max-Forwards: 70
> > > 
> > > v=0
> > > o=GTBW2008 2345 3345 IN IP4 100.100.100.101
> > > s=IPNess
> > > c=IN IP4 100.100.100.101
> > > m=audio 2410 RTP/AVP 0
> > >
> --------------------------------------------------------------------------
> > > ------------
> > > 
> > > This is just a text based message running on top of UDP or 
> TCP, it doesn't
> > > matter which one. The message should be sent to port 5060 
to 
> the specific
> > > proxy server. I would like to test the server with aprox. 10 000 
> requests,
> > > is this possible? I would be greatful if someone could help me 
> through
> > > this step by step. I am familiar with JAVA but have never 
used 
> JMeter so
> > > any help is appreciated.
> > > 
> > > Thanx in advance
> > > Andreas F.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-
> [EMAIL PROTECTED]
> > For additional commands, e-mail: jmeter-user-
> [EMAIL PROTECTED]
> > 
> 
> 
> 
> 
> --
> Michael Stover
> [EMAIL PROTECTED]
> Yahoo IM: mstover_ya
> ICQ: 152975688
> AIM: mstover777
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-
[EMAIL PROTECTED]
> For additional commands, e-mail: jmeter-user-
[EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-
[EMAIL PROTECTED]
> For additional commands, e-mail: jmeter-user-
[EMAIL PROTECTED]
> 




--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

---------------------------------------------------------------------
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