Primepush disconnect while recording

74 views
Skip to first unread message

gerome...@gmail.com

unread,
Apr 22, 2015, 11:40:12 AM4/22/15
to gat...@googlegroups.com
Hi,

We have a problem with gatling recorder. Our web application use primefaces push but the request seems to be disconnected by GatlingRecorder.
Then, our application attempt infinitely the push.

Does Gatling handle primefaces push ?

Thank you

gerome...@gmail.com

unread,
Apr 23, 2015, 4:57:01 AM4/23/15
to gat...@googlegroups.com
Here an example of Primeface push;

<p:socket channel="#{bean.socket}">
<p:ajax event="message" update="#{bean.status}" immediate="true" partialSubmit="true" process="@this" />
</p:socket>

Pierre DAL-PRA

unread,
Apr 23, 2015, 5:07:54 AM4/23/15
to gat...@googlegroups.com
Hi, 

Gatling's Recorder only support "plain" HTTP.
As Primefaces' push transport defaults to WebSocket (which you seem to be using), you won't be able to record it through the Recorder, you'll need to handle it yourself.

Cheers,

Pierre

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gerome...@gmail.com

unread,
Apr 23, 2015, 6:09:44 AM4/23/15
to gat...@googlegroups.com

Thanks, how can I handle websocket ?

Le mercredi 22 avril 2015 17:40:12 UTC+2, gerome...@gmail.com a écrit :

Pierre DAL-PRA

unread,
Apr 23, 2015, 8:02:35 AM4/23/15
to gat...@googlegroups.com

Stéphane LANDELLE

unread,
Apr 27, 2015, 5:53:32 AM4/27/15
to gat...@googlegroups.com
Indeed, you'll have to craft manually. You can log the websockets payloads in your browser, for example with Google Chrome dev tool.

Stéphane Landelle
Lead developer

Reply all
Reply to author
Forward
0 new messages