[keycloak-user] Keycloak import realm/clients for integration testing

Marek Posolda mposolda at redhat.com
Thu Oct 20 15:40:39 EDT 2016


No, that is not expected.

Which Keycloak version are you using? And which DB? How many realms 
and/or users and other objects (clients etc) you have in exported JSON 
file? Also are you sure that server was fully started when you did 
export and also import?

Marek

On 20/10/16 18:26, Hendrik wrote:
> Hi everybody,
>
> we are evaluating Keycloak as central security solution right now and
> would like to write some integration tests against it.
> We would therefore need a *reproducible* preconfigured instance of KC.
>
> We tried using the Import/Export function of standalone.sh but the
> server is not responding after a (seemingly) successful import.
>
> We used:
> -Dkeycloak.migration.action=export
> -Dkeycloak.migration.provider=singleFile
> -Dkeycloak.migration.file=master-realm.json
> and
> -Dkeycloak.migration.action=import
> -Dkeycloak.migration.provider=singleFile
> -Dkeycloak.migration.file=master-realm.json
>
> Is it expected behaviour that the server is not responding after an import ?
> What could cause this behaviour ?
>
> Any hints would be appreciated.
>
> Regads,
> Hendrik
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user




More information about the keycloak-user mailing list