Neotys Webinar

Join Neotys’ Henrik Rexed and Vaadin’s Matti Tahvonen on how to do testing with Neotys. This webinar will introduce you to testing web apps in general and how Neotys is different from other testing tools.

Webinar takes place on Tuesday November 10th 2015 @ 2PM CET

embedyoutube=h4dRSWSlhwU

You can post your questions below, thank you!

Thank you

You can dowload the Vaadin Codec at the following link :
http://www.neotys.com/support/download-labs.html#DataFormatExtensions

The demo application used is available on the following url :
https://github.com/mstahv/jpa-addressbook
and the neooload project is attached to my post.

Don’t hesitate to contact me if you have any problem with our Codec.

Henrik
22154.zip (6.05 MB)

Hi Henrik,
I’m trying to use NeoLoad 5.1 to test a vaadin webapp but I cannot see any “typeMappings” in xml responses. So I cannot extract any variables as described in documentation and youtube webminar
I think I’ve installed vadin codec correctly. I have a look also to your attached project and I cannot find typeMappings as well.
Please tell me what I’m doing wrong

Using NeoLoad 5.1 with Vaadin 7.6.0.beta1 and Ubuntu 14.0

Regards

here is one of the xml request, I see element that is quit strange

<com.neotys.codec.v215vaadin4.VaadinHttpRequest>
  <content>
    <map>
      <entry>
        <String>syncId</String>
        <int>5</int>
      </entry>
      <entry>
        <String>rpc</String>
        <org.json.JSONArray>
          <myArrayList>
            <org.json.JSONArray>
              <myArrayList>
                <String>146</String>
                <String>v</String>
                <String>v</String>
                <org.json.JSONArray>
                  <myArrayList>
                    <String>pagelength</String>
                    <org.json.JSONArray>
                      <myArrayList>
                        <String>i</String>
                        <int>17</int>
                      </myArrayList>
                    </org.json.JSONArray>
                  </myArrayList>
                </org.json.JSONArray>
              </myArrayList>
            </org.json.JSONArray>
            <org.json.JSONArray>
              <myArrayList>
                <String>183</String>
                <String>v</String>
                <String>v</String>
                <org.json.JSONArray>
                  <myArrayList>
                    <String>clickedId</String>
                    <org.json.JSONArray>
                      <myArrayList>
                        <String>i</String>
                        <int>2</int>
                      </myArrayList>
                    </org.json.JSONArray>
                  </myArrayList>
                </org.json.JSONArray>
              </myArrayList>
            </org.json.JSONArray>
          </myArrayList>
        </org.json.JSONArray>
      </entry>
      <entry>
        <String>csrfToken</String>
        <String>${crstoken}</String>
      </entry>
      <entry>
        <String>clientId</String>
        <int>5</int>
      </entry>
    </map>
  </content>
</com.neotys.codec.v215vaadin4.VaadinHttpRequest>

Hi Bob,

So the xml shared in your post is a Vaadin Request.
The typemappings and types map are availalable on a Vaadin response.
To see the vaadin response you will have to click on the advanced button on the request.
http://www.neotys.com/documents/doc/neoload/latest/en/html/#962.htm

One surprising thing on the request that you have shared is the syncid. Normally NeoLaod should have automatically handled it.
I would be interested to see your project. Could you export your project and share it to my professional email (henrik.rexed@neotys.com)?

Vaadin is referring to the components on the first pages (or first vaadin requests). There is a big chance that the typemappings map is availalble on the init request ( the first vaadin request).

Don’t hesitate to contact me if you have any questions.

Best regards,

Henrik

Thank you very much Henrik ! I’ve missed completely the “Advanced Button” on webminar

I’ve found element and I’m sharing with you my project

Regards

Hi Henrik,
i am trying to use neotys to test vaadin push (WebSocket). but i couldn’t recodrd my application using neotys. is Neotys support websocket ?

Regards,
Manura.

Hi Manura,

Yes,NeoLaod supports websocket.
Does your architecture uses any reverse proxy in the front of your web server?

http://www.neotys.com/documents/doc/neoload/latest/en/html/#675.htm
Please make sure the websocket option is checked when you start your recording.

Don’t hesitate to contact me if you have any questions.

Regards,

Henrik

Hi Henrik,
Thank you. i deploy my application in the local tomcat. so there is no proxy and also checked the webscoket option. but i couldn’t record my sample application. i have attached my sample code.

Best Regards,
Manura.
22324.zip (39 KB)

Hi Manura,

I will see with my r&d to understand your issue related to the recording of you scenario.

i will keep you posted.

best regards,