[Fiware-tech-help] [IoT][IoT Discovery] Unit test fails because a case sensitive issue

Fi-ware ULPGC fiware at ulpgc.es
Fri Dec 19 10:05:48 CET 2014


Web Browser: Firefox 34.0.5
Operating System: OSX version 10.10

Description: In the official documentation related to Unit testing (
http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Configuration_Manager_-_IoT_Discovery_-_Unit_Testing_Plan
) a user can see how to execute some automatic tests. But when the command
java -jar "IoTDiscoveryS2WTest-v2.jar" is executed, several “404 not found”
errors occur.

We have detected that the test file uses the http://{server}/S2W/ uri
prefix instead of  http://{server}/s2w/.

If the war file is renamed from s2w.war to S2W.war, the test can be passed
but some problems happen while using the web interface.

Image attached.


How to replicate: Deploy the IoT GEi as said in the documentation. Try to
pass the IoTDiscoveryS2WTest-v2.jar test
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141219/08840859/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Unit test fails because a case sensitive issue.png
Type: image/png
Size: 72455 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141219/08840859/attachment.png>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy