Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-802

FIWARE.Request.Tech.WebUI.RealVirtualInteraction.E2E_test_fails

    Details

    • HD-Chapter:
      WebUI
    • HD-Enabler:
      Real Virtual Interaction

      Description

      Link:
      https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Real_Virtual_Interaction_-_Installation_and_Administration_Guide
      Downloadable resource:
      https://forge.fi-ware.org/frs/download.php/1282/MIWI-RealVirtualBackend-Release-3.3.3.jar
      Operating System: Ubuntu 14.04.1 LTS (i686)
      Linux version 3.13.0-33-generic (buildd@klock) (gcc version 4.8.2 (Ubuntu
      4.8.2-19ubuntu1) )
      Java version: java version "1.7.0_55"
      OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
      OpenJDK Server VM (build 24.51-b03, mixed mode)
      Priority: 5

      Description:

      The described test in the ‘sanity checks’ section fails:

      To ensure that the real virtual interaction backend functions as required,
      the administrator can run a simulation test by starting the binary .jar
      file with following parameters:
      $ java -jar realvirtualinteractionbackend.jar -simulate

      This is the ouput we receive when replicating the test with the correct jar
      file:

      $ java -jar MIWI-RealVirtualBackend-Release-3.3.3.jar -simulate
      Test Packet send to 127.0.1.1:61616
      PACKET AT LEAST RECEIVED: uP�n�0

      ��g'�lˉ}�z�@�v(�A��@�,2���4���F>������8�ͱ*���^?�&����/W�=�K𒴳�-�����3�V�0L��r�����Ƹ=e�fF.9�^���@���
      �!��Վ�k2^�UՊn��`

      {�a�Ay�J��}L����V�t�

      �K�ŜZ����=9��f8�>�Z��i��iDT�ư$3��
      �(��Xo�sx!0?K3���ߜ3(-�C���(�ܔ[�[̌$�i/��d��ɐ����r�H��߷$>tV�E�ݺ�52�3x������9�,��6\��0��%��;�������2�?k�g��V�Eyl�B쫃8�K�4Uu��,>h�޲���"�
      Dropping packet from 127.0.0.1
      Test Packet send to 127.0.1.1:61616
      PACKET AT LEAST RECEIVED: uP�n�0

      ��g'�lˉ}�z�@�v(�A��@�,2���4���F>������8�ͱ*���^?�&����/W�=�K𒴳�-�����3�V�0L��r�����Ƹ=e�fF.9�^���@���
      �!��Վ�k2^�UՊn��`{�a�Ay�J��}

      L����V�t�

      �K�ŜZ����=9��f8�>�Z��i��iDT�ư$3��
      �(��Xo�sx!0?K3���ߜ3(-�C���(�ܔ[�[̌$�i/��d��ɐ����r�H��߷$>tV�E�ݺ�52�3x������9�,��6\��0��%��;�������2�?k�g��V�Eyl�B쫃8�K�4Uu��,>h�޲���"�
      Dropping packet from 127.0.0.1

      ….

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

        Activity

        Hide
        sami_jylkk J-P Viuhkola added a comment -

        Simulation works as expected, garbled output in the terminal is caused missing decryption. However this doesn't have affect for actual testing. When simulation is started, RvI test client (in web browser) can to be used to receive simulated RvI server events and display them in the web browser.
        Other option to verify server functionality in localhost is to use eg. google chrome "simple websocket client"

        Show
        sami_jylkk J-P Viuhkola added a comment - Simulation works as expected, garbled output in the terminal is caused missing decryption. However this doesn't have affect for actual testing. When simulation is started, RvI test client (in web browser) can to be used to receive simulated RvI server events and display them in the web browser. Other option to verify server functionality in localhost is to use eg. google chrome "simple websocket client"
        Hide
        pablo.fernandez Pablo Fernandez Moniz added a comment -

        Hello Sami,

        We remade the test and checked that there were actually data sent to the front end client. We attached the result in Unit_test_displaying_information.png image to confirm it as we do not have a way to compare the expected output with what we received.

        Just a suggestion, it could be nice to point out about this garbled characters and add an image of the front end in the guide to avoid confusion for future readers.

        Thank you very much for the reply, as it took us out of doubt with this issue.

        Best regards,

        Show
        pablo.fernandez Pablo Fernandez Moniz added a comment - Hello Sami, We remade the test and checked that there were actually data sent to the front end client. We attached the result in Unit_test_displaying_information.png image to confirm it as we do not have a way to compare the expected output with what we received. Just a suggestion, it could be nice to point out about this garbled characters and add an image of the front end in the guide to avoid confusion for future readers. Thank you very much for the reply, as it took us out of doubt with this issue. Best regards,
        Hide
        sami_jylkk J-P Viuhkola added a comment -

        Hi Pablo,
        yes, that's good idea, I need to add few words about this issue to documentation so that future users wouldn't need to worry about this.

        Thanks,
        Sami

        Show
        sami_jylkk J-P Viuhkola added a comment - Hi Pablo, yes, that's good idea, I need to add few words about this issue to documentation so that future users wouldn't need to worry about this. Thanks, Sami

          People

          • Assignee:
            sami_jylkk J-P Viuhkola
            Reporter:
            pablo.fernandez Pablo Fernandez Moniz
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: