Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create unit tests for the REST API #527

Open
ctron opened this issue May 2, 2017 · 1 comment
Open

Create unit tests for the REST API #527

ctron opened this issue May 2, 2017 · 1 comment
Labels
REST API We hope to REST everyday Test Test related stuff. It's a dirty job, but someone needs to do that!

Comments

@ctron
Copy link
Contributor

ctron commented May 2, 2017

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.

@muros-ct
Copy link
Contributor

muros-ct commented May 4, 2017

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”.

@mcarrer mcarrer added the Test Test related stuff. It's a dirty job, but someone needs to do that! label Sep 11, 2017
@Coduz Coduz added the REST API We hope to REST everyday label May 5, 2020
@Coduz Coduz moved this to To Do in Eclipse Kapua Backlog Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REST API We hope to REST everyday Test Test related stuff. It's a dirty job, but someone needs to do that!
Projects
None yet
Development

No branches or pull requests

4 participants