Hi All,

In C4 we have used Apache wink [1][2] for SCIM 1.1 test automation.
Currently we are in the process of implementing test automation for SCIM
2.0. Apache wink seems to be not active any more so we are looking into
alternate solutions. We have couple of options.

*Option -01*
Use “java.net.HttpURLConnection” as in msf4j automation tests [3].

*Option -02*
Use CXF proxy based API according to [4] by using JAXRSClientFactory.

*Option -03*
Use jersey client-api according to [5].

*Option -04*
Use swagger generated client APIs with below dependencies.
Swagger-annotations, okhttp, gson, joda-time.


Problem with option-01 is marshalling and unmarshalling process has to be
done manually. Option-02 also good but swagger changes client dependencies
frequently.

IMO both option-02, option-03 seems to be fine.

WDYT?

[1] https://wink.apache.org/index.html

[2]
https://github.com/wso2/product-is/blob/release-5.3.0/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/scim/SCIMServiceProviderUserTestCase.java

[3] https://github.com/wso2/msf4j/tree/master/core/src/test

[4]http://cxf.apache.org/docs/jax-rs-client-api.html
[5]https://jersey.java.net/documentation/latest/client.html

Thanks,
Gayan

Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: [email protected]
Mobile: +94 (71) 8020933
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to