You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jeffrey Williams <je...@gmail.com> on 2013/03/30 18:54:49 UTC

Testing application operations cause by HTTP Request

I have previously used JMeter to load test web applications. My current
application is a little but different to a normal web application. It is
more of processing and routing application.

Essentially it takes a HTTP request payload does some transformation and
then puts the transformed message onto a JMS queue. Then another piece of
the application will take this message and send it out from the application
via a HTTP request.

What I am attempting to do is one of the following test the response from
the first HTTP response (I have that already) and then verify the second
HTTP Request coming from the machine is correct.

>From what I have read of the JMeter documentation and also googling I can
not see a way to configure JMeter to do this. Plus I am a little confused
on how to tie the inbound request to the outbound request.

Is this possible with JMeter?
Would/Should I attempt to do this JMeter?
Is there a better way?

Re: Testing application operations cause by HTTP Request

Posted by Jeffrey Williams <je...@gmail.com>.
Deepak that is exactly what I was thinking of doing. I would need to be
able to test every component individually.

Right now a message is written to a queue and then consumed
almost immediately. I would need to stop/replace the consumer to test the
correct message is place on the queue.

I feel a little confused as to the difference to load/performance testing
this type of application and doing quality assurance. I feel like I need to
the qa part to be able to able to do a reliable performance test.

Any Ideas



On Mon, Apr 1, 2013 at 11:20 AM, Deepak Shetty <sh...@gmail.com> wrote:

> >Is this possible with JMeter?
> not out of the box and would probably be quite difficult
>
> >Would/Should I attempt to do this JMeter?
> Probably not
>
> >Is there a better way?
> >and then verify the second HTTP Request coming from the machine is
> correct.
> So the HTTP request does something correct? Updates database, writes file
> or something like that. Why not verify that instead ?
>
>
>
>
>
> On Sat, Mar 30, 2013 at 10:54 AM, Jeffrey Williams <
> jeffxor.williams@gmail.com> wrote:
>
> > I have previously used JMeter to load test web applications. My current
> > application is a little but different to a normal web application. It is
> > more of processing and routing application.
> >
> > Essentially it takes a HTTP request payload does some transformation and
> > then puts the transformed message onto a JMS queue. Then another piece of
> > the application will take this message and send it out from the
> application
> > via a HTTP request.
> >
> > What I am attempting to do is one of the following test the response from
> > the first HTTP response (I have that already) and then verify the second
> > HTTP Request coming from the machine is correct.
> >
> > From what I have read of the JMeter documentation and also googling I can
> > not see a way to configure JMeter to do this. Plus I am a little confused
> > on how to tie the inbound request to the outbound request.
> >
> > Is this possible with JMeter?
> > Would/Should I attempt to do this JMeter?
> > Is there a better way?
> >
>

Re: Testing application operations cause by HTTP Request

Posted by Deepak Shetty <sh...@gmail.com>.
>Is this possible with JMeter?
not out of the box and would probably be quite difficult

>Would/Should I attempt to do this JMeter?
Probably not

>Is there a better way?
>and then verify the second HTTP Request coming from the machine is correct.
So the HTTP request does something correct? Updates database, writes file
or something like that. Why not verify that instead ?





On Sat, Mar 30, 2013 at 10:54 AM, Jeffrey Williams <
jeffxor.williams@gmail.com> wrote:

> I have previously used JMeter to load test web applications. My current
> application is a little but different to a normal web application. It is
> more of processing and routing application.
>
> Essentially it takes a HTTP request payload does some transformation and
> then puts the transformed message onto a JMS queue. Then another piece of
> the application will take this message and send it out from the application
> via a HTTP request.
>
> What I am attempting to do is one of the following test the response from
> the first HTTP response (I have that already) and then verify the second
> HTTP Request coming from the machine is correct.
>
> From what I have read of the JMeter documentation and also googling I can
> not see a way to configure JMeter to do this. Plus I am a little confused
> on how to tie the inbound request to the outbound request.
>
> Is this possible with JMeter?
> Would/Should I attempt to do this JMeter?
> Is there a better way?
>

Re: Testing application operations cause by HTTP Request

Posted by Adrian Speteanu <as...@gmail.com>.
Hi,

So let's get this straight: you want JMeter to receive requests from the
server.

In case that is it, there was a similar thread quite recently. I don't
remember how that ended. Out of the box, I don't think its supported
behaviour. You should also check the feature request lists, if its a
behaviour that will become more and more common.


---

On a sidenote, if you don't mind coding, you can add any functionality to
JMeter, because it is extendible.

Regards,
Adrian S


On Sat, Mar 30, 2013 at 7:54 PM, Jeffrey Williams <
jeffxor.williams@gmail.com> wrote:

> I have previously used JMeter to load test web applications. My current
> application is a little but different to a normal web application. It is
> more of processing and routing application.
>
> Essentially it takes a HTTP request payload does some transformation and
> then puts the transformed message onto a JMS queue. Then another piece of
> the application will take this message and send it out from the application
> via a HTTP request.
>
> What I am attempting to do is one of the following test the response from
> the first HTTP response (I have that already) and then verify the second
> HTTP Request coming from the machine is correct.
>
> From what I have read of the JMeter documentation and also googling I can
> not see a way to configure JMeter to do this. Plus I am a little confused
> on how to tie the inbound request to the outbound request.
>
> Is this possible with JMeter?
> Would/Should I attempt to do this JMeter?
> Is there a better way?
>