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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to