{"action":"created","issue":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/931","repository_url":"https://api.github.com/repos/ElektraInitiative/libelektra","labels_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/931/comments","events_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/931/events","html_url":"https://github.com/ElektraInitiative/libelektra/issues/931","id":176172981,"number":931,"title":"Testing of REST APIs","user":{"login":"Namoshek","id":8877609,"avatar_url":"https://avatars.githubusercontent.com/u/8877609?v=3","gravatar_id":"","url":"https://api.github.com/users/Namoshek","html_url":"https://github.com/Namoshek","followers_url":"https://api.github.com/users/Namoshek/followers","following_url":"https://api.github.com/users/Namoshek/following{/other_user}","gists_url":"https://api.github.com/users/Namoshek/gists{/gist_id}","starred_url":"https://api.github.com/users/Namoshek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Namoshek/subscriptions","organizations_url":"https://api.github.com/users/Namoshek/orgs","repos_url":"https://api.github.com/users/Namoshek/repos","events_url":"https://api.github.com/users/Namoshek/events{/privacy}","received_events_url":"https://api.github.com/users/Namoshek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/labels/proposal","name":"proposal","color":"fef2c0"},{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-10T10:27:51Z","updated_at":"2016-09-10T10:57:29Z","closed_at":null,"body":"Elektra is currently getting two REST APIs from projects, which of course can be unit tested in the background (internal services & functions). But to provide more stable software it would probably be a good idea to test the services also through their real REST APIs by making real HTTP calls.\r\n\r\nSo we should make a decision:\r\n- Test services also through their public API?\r\n- What software to use (testing suite)?\r\n- When to use (automatically or not)?\r\n\r\nSupportive questions:\r\n- Do we have already something in use that could be used for such tasks?\r\n- If not, any experience with software that could be used for it?\r\n- Specific software that uses API Blueprints?\r\n\r\n@markus2330 @omnidan "},"comment":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/comments/246105571","html_url":"https://github.com/ElektraInitiative/libelektra/issues/931#issuecomment-246105571","issue_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/931","id":246105571,"user":{"login":"Namoshek","id":8877609,"avatar_url":"https://avatars.githubusercontent.com/u/8877609?v=3","gravatar_id":"","url":"https://api.github.com/users/Namoshek","html_url":"https://github.com/Namoshek","followers_url":"https://api.github.com/users/Namoshek/followers","following_url":"https://api.github.com/users/Namoshek/following{/other_user}","gists_url":"https://api.github.com/users/Namoshek/gists{/gist_id}","starred_url":"https://api.github.com/users/Namoshek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Namoshek/subscriptions","organizations_url":"https://api.github.com/users/Namoshek/orgs","repos_url":"https://api.github.com/users/Namoshek/repos","events_url":"https://api.github.com/users/Namoshek/events{/privacy}","received_events_url":"https://api.github.com/users/Namoshek/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T10:57:29Z","updated_at":"2016-09-10T10:57:29Z","body":"I got it installed now. The reason was that I only installed `npm` via `apt-get install npm`, but not nodejs. I removed it and installed `nodejs` as explained on their website, that worked well. :+1:\r\n\r\nYour idea about CI sounds good, but we should not create CI dependent tests in my opinion (CI can change). Of course these servers should run the tests when building the services, but it would be better if we could arrange the tests via CMake or other test scripts so that we can run them locally the same way. I don't know what software/framework you'll be using for your REST service, but for CppCMS which I'm using it would be quite easy to use a second test-configuration with special ports and stuff that would allow for testing via dredd easily (only a guess, that is no actual experience yet)."}}
{"actor":{"display_login":"Namoshek"}}