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

Reply via email to