stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Malintha Adikari <malintha.adik...@gmail.com>
Subject Stratos Backend REST API test approach
Date Fri, 21 Mar 2014 10:03:34 GMT
Hi,

I am in the process of writing test case/cases to test stratos  REST API. I
can see some different approaches  to communicate with Stratos backend in a
test.

1. Pragmatically run Stratos CLI and execute CLI commands inside java ( We
can test Stratos CLI as send request through it)
2. Use HTTP client (curl client) to send requests
3. Re-use Stratos CLI client code to send requests.

What is your opinion about above approaches ? What is the best way to send
requests to the backend in test classes

Regards,
Malintha Adikari

Mime
View raw message