Gatling usage for load testing

I’ve been following the indications here :https://vaadin.com/wiki?p_p_id=36&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=row-1&p_p_col_pos=1&p_p_col_count=3&_36_struts_action=%2Fwiki%2Fview&p_r_p_185834411_nodeName=vaadin.com+wiki&p_r_p_185834411_title=Load+testing+with+Gatling

my setup is as follow for the load :

setUp(scn.inject(rampUsers(100) over (10 seconds))).protocols(httpProtocol)

but when I run some load test I keep getting troubles with IDs.
I’ve used the code from the “JMeterServlet” as mentionned here https://vaadin.com/wiki/-/wiki/Main/JMeter+Testing
but with no luck I keep getting:

Nov 10, 2014 3:38:24 PM com.vaadin.server.communication.ServerRpcHandler parseInvocation
WARNING: RPC call to v.v received for connector 24 but no such connector could be found. Resynchronizing client.

am I missing a step here in the process ?

Hi,

Your connector seems to have id “24”, so it is still probably autogenerated. You should still add fixed identifiers to important components to make them stable, otherwise JMeterServlet don’t help at all.

So, e.g. for a “TextField myName”, you should call “myName.setId(“myName”);”. Then also the “communication id” should be myName and should be stable while you develop your application.

BWT. I find setting those ids manually pretty jobby, so I drafted an add-on a while ago to automate that. I made it for my upcoming Arquillian Drone - Vaadin TestBench article, but it should work perfectly here as well. Not in the directory yet, but you could try to build and use it
from the github
. An
example available
in the tests section.

cheers,
matti

Hi,

I just packaged the helper I suggested into the Directory:
https://vaadin.com/directory#addon/tb-tools

I hope you will find that handy.

cheers,
matti

Great I will try that addon asap.

txs Matti

E.