Multiple port configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Multiple port configuration

Bronagh McElduff
Hi,
 


I wish to configure JMeter to submit a message on localhost:9999 and collect this message as it leaves localhost:9191 for example.

Is this achievable? I have tried various ways to do this but it seems that it is only possible to test the request / response on the same port.  However, I specifically need to confirm the modifications that our system makes to the message as it travels through our system and no simply that the message has been successfully received.

Basically, I need to configure JMeter to act as a client and a server.
 
Thanks in advance,
B


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Multiple port configuration

Michael Stover
How do clients use your app?  Is every client a server?  If so, JMeter
is not designed to mimic such behavior.

-Mike

On Wed, 2005-06-15 at 08:59 +0100, Bronagh McElduff wrote:

> Hi,
>  
>
>
> I wish to configure JMeter to submit a message on localhost:9999 and collect this message as it leaves localhost:9191 for example.
>
> Is this achievable? I have tried various ways to do this but it seems that it is only possible to test the request / response on the same port.  However, I specifically need to confirm the modifications that our system makes to the message as it travels through our system and no simply that the message has been successfully received.
>
> Basically, I need to configure JMeter to act as a client and a server.
>  
> Thanks in advance,
> B
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Multiple port configuration

Bronagh McElduff
Hi Michael,

Basically our application uses SOAP-based communication, mainly XML. It
receives a SOAP messages, and sends back a meaningless response. It is
only later when our application informs the client, using an HTTP
request on the client, about the results of the processing. It is these  
so-called /asynchronous SOAP messages/ (transported over HTTP) that I am
interested in capturing.

Can JMeter be configured or extended to mimic this behaviour?

Thanks in advance,
Bronagh

Michael Stover wrote:

>How do clients use your app?  Is every client a server?  If so, JMeter
>is not designed to mimic such behavior.
>
>-Mike
>
>On Wed, 2005-06-15 at 08:59 +0100, Bronagh McElduff wrote:
>  
>
>>Hi,
>>
>>
>>
>>I wish to configure JMeter to submit a message on localhost:9999 and collect this message as it leaves localhost:9191 for example.
>>
>>Is this achievable? I have tried various ways to do this but it seems that it is only possible to test the request / response on the same port.  However, I specifically need to confirm the modifications that our system makes to the message as it travels through our system and no simply that the message has been successfully received.
>>
>>Basically, I need to configure JMeter to act as a client and a server.
>>
>>Thanks in advance,
>>B
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [hidden email]
>>For additional commands, e-mail: [hidden email]
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [hidden email]
>For additional commands, e-mail: [hidden email]
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Multiple port configuration

Michael Stover
Maybe you could write some components for JMeter that would let you do
that, but it'd be a stretch.  You'd have to write your own server inside
a sampler, you'd probably have to instantiate multiple threads to listen
for all the responses that will come in on the same port, which would
interfere with all the threads JMeter creates to do it's thing.  You'd
have to be able to match up the incoming responses with the sampler that
created the matching request, so that that sampler could return it's
sample result the way JMeter expects.  

It'd be a bit of a mess, and I wouldn't recommend it, unless I can think
up a better way to do it...

-Mike

On Wed, 2005-06-15 at 16:07 +0100, Bronagh McElduff wrote:

> Hi Michael,
>
> Basically our application uses SOAP-based communication, mainly XML. It
> receives a SOAP messages, and sends back a meaningless response. It is
> only later when our application informs the client, using an HTTP
> request on the client, about the results of the processing. It is these  
> so-called /asynchronous SOAP messages/ (transported over HTTP) that I am
> interested in capturing.
>
> Can JMeter be configured or extended to mimic this behaviour?
>
> Thanks in advance,
> Bronagh
>
> Michael Stover wrote:
>
> >How do clients use your app?  Is every client a server?  If so, JMeter
> >is not designed to mimic such behavior.
> >
> >-Mike
> >
> >On Wed, 2005-06-15 at 08:59 +0100, Bronagh McElduff wrote:
> >  
> >
> >>Hi,
> >>
> >>
> >>
> >>I wish to configure JMeter to submit a message on localhost:9999 and collect this message as it leaves localhost:9191 for example.
> >>
> >>Is this achievable? I have tried various ways to do this but it seems that it is only possible to test the request / response on the same port.  However, I specifically need to confirm the modifications that our system makes to the message as it travels through our system and no simply that the message has been successfully received.
> >>
> >>Basically, I need to configure JMeter to act as a client and a server.
> >>
> >>Thanks in advance,
> >>B
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [hidden email]
> >>For additional commands, e-mail: [hidden email]
> >>    
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [hidden email]
> >For additional commands, e-mail: [hidden email]
> >
> >  
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Multiple port configuration

Bronagh McElduff
Thanks Michael,

This was my fear, it sounds like a considerable and complicated
development effort and I had hoped that perhaps it had been tackled already.

Cheers,
Bronagh

Michael Stover wrote:

>Maybe you could write some components for JMeter that would let you do
>that, but it'd be a stretch.  You'd have to write your own server inside
>a sampler, you'd probably have to instantiate multiple threads to listen
>for all the responses that will come in on the same port, which would
>interfere with all the threads JMeter creates to do it's thing.  You'd
>have to be able to match up the incoming responses with the sampler that
>created the matching request, so that that sampler could return it's
>sample result the way JMeter expects.  
>
>It'd be a bit of a mess, and I wouldn't recommend it, unless I can think
>up a better way to do it...
>
>-Mike
>
>On Wed, 2005-06-15 at 16:07 +0100, Bronagh McElduff wrote:
>  
>
>>Hi Michael,
>>
>>Basically our application uses SOAP-based communication, mainly XML. It
>>receives a SOAP messages, and sends back a meaningless response. It is
>>only later when our application informs the client, using an HTTP
>>request on the client, about the results of the processing. It is these  
>>so-called /asynchronous SOAP messages/ (transported over HTTP) that I am
>>interested in capturing.
>>
>>Can JMeter be configured or extended to mimic this behaviour?
>>
>>Thanks in advance,
>>Bronagh
>>
>>Michael Stover wrote:
>>
>>    
>>
>>>How do clients use your app?  Is every client a server?  If so, JMeter
>>>is not designed to mimic such behavior.
>>>
>>>-Mike
>>>
>>>On Wed, 2005-06-15 at 08:59 +0100, Bronagh McElduff wrote:
>>>
>>>
>>>      
>>>
>>>>Hi,
>>>>
>>>>
>>>>
>>>>I wish to configure JMeter to submit a message on localhost:9999 and collect this message as it leaves localhost:9191 for example.
>>>>
>>>>Is this achievable? I have tried various ways to do this but it seems that it is only possible to test the request / response on the same port.  However, I specifically need to confirm the modifications that our system makes to the message as it travels through our system and no simply that the message has been successfully received.
>>>>
>>>>Basically, I need to configure JMeter to act as a client and a server.
>>>>
>>>>Thanks in advance,
>>>>B
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: [hidden email]
>>>>For additional commands, e-mail: [hidden email]
>>>>  
>>>>
>>>>        
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [hidden email]
>>>For additional commands, e-mail: [hidden email]
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [hidden email]
>>For additional commands, e-mail: [hidden email]
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [hidden email]
>For additional commands, e-mail: [hidden email]
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Multiple port configuration

Peter Lin
In reply to this post by Bronagh McElduff
looking at your email address, I'm guessing you're working on mobile
applications.

for async webservices, I'm bias against HTTP. Several months back I
considered writing a J2ME JMS driver for SideKickII, so that I could
use JMS to send/recieve Multimedia messages.

Using HTTP for Async messages is an ugly hack and ultimately isn't
going to scale very well. I know ObjectWeb has KJoram for J2ME and IBM
has a J2ME client for MQSeries. In theory, writing an async HTTP
client isn't all that hard, but the catch is you really do need to use
Keep alive connections.

Depending on the type of wireless device, and whether it has a
dynamic/static IP, sending the response back to the client may not be
feasible without keeping the connection alive. I would strongly
recommend looking at JMS approach rather than async HTTP. Even though
the data rates for mobile phones have improved, a page that is large
will have a hard time getting through reliably. this is still true
today in ATT, and Verizon data services.

I hope that helps

peter


On 6/15/05, Bronagh McElduff <[hidden email]> wrote:

> Hi Michael,
>
> Basically our application uses SOAP-based communication, mainly XML. It
> receives a SOAP messages, and sends back a meaningless response. It is
> only later when our application informs the client, using an HTTP
> request on the client, about the results of the processing. It is these
> so-called /asynchronous SOAP messages/ (transported over HTTP) that I am
> interested in capturing.
>
> Can JMeter be configured or extended to mimic this behaviour?
>
> Thanks in advance,
> Bronagh
>
> Michael Stover wrote:
>
> >How do clients use your app?  Is every client a server?  If so, JMeter
> >is not designed to mimic such behavior.
> >
> >-Mike
> >
> >On Wed, 2005-06-15 at 08:59 +0100, Bronagh McElduff wrote:
> >
> >
> >>Hi,
> >>
> >>
> >>
> >>I wish to configure JMeter to submit a message on localhost:9999 and collect this message as it leaves localhost:9191 for example.
> >>
> >>Is this achievable? I have tried various ways to do this but it seems that it is only possible to test the request / response on the same port.  However, I specifically need to confirm the modifications that our system makes to the message as it travels through our system and no simply that the message has been successfully received.
> >>
> >>Basically, I need to configure JMeter to act as a client and a server.
> >>
> >>Thanks in advance,
> >>B
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [hidden email]
> >>For additional commands, e-mail: [hidden email]
> >>
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [hidden email]
> >For additional commands, e-mail: [hidden email]
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]