* Add load test for WebSocket adapter
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add new test suite to README file
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Fix failed subscription handling in ws adapter
Fix unsubscribing bug in ws adapter.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Add subscription fail and publish fail test cases
Update mock implementation to receive publish error in order to
support these test cases.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Update mainflux version to 0.2.3
Update project version and load tests version to 0.2.3.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Update version endpoint response format
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Update content-type header in load tests
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Remove charset from content type header in documentation
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Add initial load tests
Add initial load tests for client creation and message publishing.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Make load tests executable as stand-alone application
Move code from test to main. Make code runnable with sbt run command.
Remove unnecessary config files.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Add native packager support
Add native packager plugin. Update sbt config to support native
packager. Update paths in Engine.scala.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Move files back to test folder and remove native packager support
Remove nativa packager plugin. Add gatling plugin and move files to
test folder where they belong. Read vars from JAVA_OPTS instead of
environment variables.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Add readme file for load tests
Add readme file for load tests with usage instructions.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Add number of requests per second as test parameter
Add number of requests per second as parameter. Update read me according
to this addition.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Add load test section in docs
Create documentation skeleton for load tests.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Reformat logger config file
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Update documentation skeleton
Move results section to scenarios. Move test environment to intro.
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Align test version with mainflux version
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Update mainflux version to 0.2.2
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>