You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "A.Gilmore" <an...@logica.com> on 2009/05/14 16:29:33 UTC

Testing a thick client with mid tier

I am attempting to load test a thick client that sends http requests to a mid
tier.
I was wondering if this is possible with Jmeter and how I would set the
system up to achieve this.
-- 
View this message in context: http://www.nabble.com/Testing-a-thick-client-with-mid-tier-tp23541805p23541805.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Testing a thick client with mid tier

Posted by sebb <se...@gmail.com>.
On 15/05/2009, A.Gilmore <an...@logica.com> wrote:
>
>  Sebb,
>  thanks for your response.
>  The system sends http requests from the thick client to the mid tier.
>  I do not need to test the thick client but I do need to load/ performance
>  test the mid tier and database tier.
>  looking at Jview I though that it might be possible to set up Jview as a
>  proxy and record the calls by listening to the port then replaying them
>  under load.
>  I am crazy or is this not possible?

No idea. Never heard of JView.

Seems to me that this is a question for the JView community.

If the thick client can be persuaded to use a proxy, you should be
able to use the JMeter proxy to record the test, in the same way as
browsers can be recorded by telling them to use the JMeter proxy.

I suggest you experiment with recording a browser session first.

If you can't persuade the thick client to use a proxy, and it does not
have tracing facilities, then you will need a protocol analyser such
as WireShark.

> The issue I seem to have is that I cannot get the config file to point to
>  the proxy.
>  for example i tried changing the following
>  <endpoint address="http://vgdev04:1913/CommitteeService.asmx"
>                 binding="basicHttpBinding"
>  bindingConfiguration="CommitteeServiceSoap"
>                 contract="ORCommittee.CommitteeServiceSoap"
>  name="CommitteeServiceSoap" />
>                         <endpoint address="http://vgdev04:1913/TurnAndSectionService.asmx"
>  to
>  <endpoint address="http://localhost:9090/CommitteeService.asmx"
>                 binding="basicHttpBinding"
>  bindingConfiguration="CommitteeServiceSoap"
>                 contract="ORCommittee.CommitteeServiceSoap"
>  name="CommitteeServiceSoap" />
>                         <endpoint address="http://vgdev04:1913/TurnAndSectionService.asmx"
>  any ideas

That does not look like you are configuring a proxy, just a different
target host.
Which is not at all the same, as how does the proxy know where to
forward the request?

But you need to ask about that on the JView list.

>  >Andrew
>
>
>
>  A.Gilmore wrote:
>  >
>  > I am attempting to load test a thick client that sends http requests to a
>  > mid tier.
>  > I was wondering if this is possible with Jmeter and how I would set the
>  > system up to achieve this.
>  >
>
>  --
>
> View this message in context: http://www.nabble.com/Testing-a-thick-client-with-mid-tier-tp23541805p23556595.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Testing a thick client with mid tier

Posted by "A.Gilmore" <an...@logica.com>.
Sebb,
thanks for your response.
The system sends http requests from the thick client to the mid tier.
I do not need to test the thick client but I do need to load/ performance
test the mid tier and database tier.
looking at Jview I though that it might be possible to set up Jview as a
proxy and record the calls by listening to the port then replaying them
under load.
I am crazy or is this not possible?
The issue I seem to have is that I cannot get the config file to point to
the proxy.
for example i tried changing the following 
<endpoint address="http://vgdev04:1913/CommitteeService.asmx"
                binding="basicHttpBinding"
bindingConfiguration="CommitteeServiceSoap"
                contract="ORCommittee.CommitteeServiceSoap"
name="CommitteeServiceSoap" />
			<endpoint address="http://vgdev04:1913/TurnAndSectionService.asmx"
to 
<endpoint address="http://localhost:9090/CommitteeService.asmx"
                binding="basicHttpBinding"
bindingConfiguration="CommitteeServiceSoap"
                contract="ORCommittee.CommitteeServiceSoap"
name="CommitteeServiceSoap" />
			<endpoint address="http://vgdev04:1913/TurnAndSectionService.asmx"
any ideas
>Andrew


A.Gilmore wrote:
> 
> I am attempting to load test a thick client that sends http requests to a
> mid tier.
> I was wondering if this is possible with Jmeter and how I would set the
> system up to achieve this.
> 

-- 
View this message in context: http://www.nabble.com/Testing-a-thick-client-with-mid-tier-tp23541805p23556595.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Testing a thick client with mid tier

Posted by sebb <se...@gmail.com>.
On 14/05/2009, A.Gilmore <an...@logica.com> wrote:
>
>  I am attempting to load test a thick client that sends http requests to a mid
>  tier.
>  I was wondering if this is possible with Jmeter and how I would set the
>  system up to achieve this.

Depends entirely on how the thick client is controlled.

If it is GUI-based, then JMeter cannot be used out-of-the-box, as it
does not support tesing of GUI applications.

But of course you can add your own sampler that does anything that is
automatable.

> --
>  View this message in context: http://www.nabble.com/Testing-a-thick-client-with-mid-tier-tp23541805p23541805.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org