jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shmuel Krakower <shmul...@gmail.com>
Subject Re: How to handle WebSocket event in Jmeter
Date Wed, 08 Aug 2012 10:35:00 GMT
Hi,
Yeah probably proxy wont record your case as it only records http/s traffic.
In your case you will probably need to use wireshark sniffer to see how the
traffic looks like and if it is readable you may try to put it into:
http://jmeter.apache.org/usermanual/component_reference.html#TCP_Sampler

But I guess that it goes as binary data over tcp - so you cannot really
simulate this in a nice way (i.e. parameters or use of data sets) only copy
the binary traffic data from wireshark into the sampler and hope it will
work.

Best,
Shmuel.


On Wed, Aug 8, 2012 at 8:25 AM, Niraj <niraj.khatmode@gmail.com> wrote:

> Hi Shamuel,
>
> I am not sure how web socket implemented at your end, but at our end Web
> socket request is WS protocol not HTTP.
>
> Also when we send a web socket request there is one event triggered at
> client end which is again did not catch by Jmeter proxy.
>
> So till now we just got the build without web socket. I am not sure if
> Jmeter currently supports WS requests.
>
> Thanks,
> Niraj
>
> On Tue, Aug 7, 2012 at 8:21 PM, Shmuel Krakower <shmulikk@gmail.com>
> wrote:
>
> > Hi Niraj,
> > Did you solve this somehow? Please share.
> >
> > Best,
> > Shmuel.
> >
> >
> > On Thu, Jul 12, 2012 at 2:37 PM, Niraj <niraj.khatmode@gmail.com> wrote:
> >
> > > Yes it goes throw proxy. Because it also operates on 8080 port.
> > >
> > > On Thu, Jul 12, 2012 at 4:46 PM, Shmuel Krakower <shmulikk@gmail.com>
> > > wrote:
> > >
> > > > I haven't done this, but are you sure it goes through the proxy?
> > > > (i.e. stop the proxy server and notice that the event is now failing
> -
> > if
> > > > it won't it doesn't go through the proxy)
> > > >
> > > > Shmuel.
> > > >
> > > >
> > > > On Thu, Jul 12, 2012 at 12:05 PM, Niraj <niraj.khatmode@gmail.com>
> > > wrote:
> > > >
> > > > > Hello All,
> > > > >
> > > > > Did anyone tried to work on script which has also Web Socket
> request?
> > > > >
> > > > > I am not able to record and run the event which is getting fired
at
> > > > client
> > > > > end while adding Annotation which uses WebSocket.
> > > > >
> > > > > Please let me know if there is a way to handle the web socket in
> > > Jmeter.
> > > > >
> > > > > Thanks,
> > > > > Niraj
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message