Open ctron opened 7 years ago
I would suggest integration tests in kapua-qa by starting embedded services and running api tests against some embedded container (probably jetty is the right choice).
Of course, another suite of tests should be oriented at performance of API. As I work on Jmeter pluging I think that these tests should also be based around Jmeter which has good support for REST. SoapUI could be another option but I think it sounds to “commercial”.
Like testing the broker and other services, I think it is necessary to add some test for the REST API to the
kapua-qa
project.For this we would need a way to start the REST API, use a generated client against it. This could be done either through some embedded Jetty (or something different) or by actually starting Jetty in a separate process.
On the other hand we could try to start up a docker container with the
api
container and use this as an instance.