# \#testing

**URL:** https://forum.keycloak.org/tag/testing/80.md

[Latest](https://forum.keycloak.org/latest.md) · [Categories](https://forum.keycloak.org/categories.md) · [Tags](https://forum.keycloak.org/tags.md)

---

## [Test User being unexpectedly disabled with error "user\_disabled"](https://forum.keycloak.org/t/test-user-being-unexpectedly-disabled-with-error-user-disabled/31376)

<div class="topic-metadata">

**Author:** [@andyspoon](https://forum.keycloak.org/u/andyspoon)\
**Replies:** 0\
**Last updated:** [May 20, 2026, 4:53pm UTC](https://forum.keycloak.org/t/test-user-being-unexpectedly-disabled-with-error-user-disabled/31376 "2026-05-20T16:53:01Z")

</div>

Hi all. Our web app uses KeyCloak 26.3.2 and we run smoke tests against the app. These smoke tests use the same user each time via a GitHub action. Sometimes the user gets Disabled but I don’t understand why. In the use…

---

## [How can I bypass Keycloak for Cypress tests](https://forum.keycloak.org/t/how-can-i-bypass-keycloak-for-cypress-tests/28966)

<div class="topic-metadata">

**Author:** [@AlgyTaylor](https://forum.keycloak.org/u/AlgyTaylor)\
**Replies:** 2\
**Last updated:** [December 3, 2024, 5:53am UTC](https://forum.keycloak.org/t/how-can-i-bypass-keycloak-for-cypress-tests/28966 "2024-12-03T05:53:14Z")

</div>

We’ve recently switched from using Auth0 to Keycloak as a JWT-based authentication source for our application. All’s moved over fine, with the exception of the E2E/acceptance tests written in Cypress. I wondered what t…

---

## [Issue with Keycloak Benchmark 0.15-SNAPSHOT API Load Test](https://forum.keycloak.org/t/issue-with-keycloak-benchmark-0-15-snapshot-api-load-test/28818)

<div class="topic-metadata">

**Author:** [@ariferol](https://forum.keycloak.org/u/ariferol)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 10:38pm UTC](https://forum.keycloak.org/t/issue-with-keycloak-benchmark-0-15-snapshot-api-load-test/28818 "2024-11-19T22:38:18Z")

</div>

Hi, I am attempting to perform a load test using the Keycloak Benchmark 0.15-SNAPSHOT API with Keycloak version 26.0.5, using the CLI command below. However, I am encountering the error: “regex(action=”(\[^"\])“).find.tr…

---

## [Unable to invoke request: org.apache.http.client.ClientProtocolException create user keycloak junit spring boot](https://forum.keycloak.org/t/unable-to-invoke-request-org-apache-http-client-clientprotocolexception-create-user-keycloak-junit-spring-boot/14074)

<div class="topic-metadata">

**Author:** [@alina\_b](https://forum.keycloak.org/u/alina_b)\
**Replies:** 1\
**Last updated:** [March 21, 2024, 10:06am UTC](https://forum.keycloak.org/t/unable-to-invoke-request-org-apache-http-client-clientprotocolexception-create-user-keycloak-junit-spring-boot/14074 "2024-03-21T10:06:06Z")

</div>

Is there any chance to find out why test keycloak create user fails? the code looks like: public void registerUser(UserRegistrationRequest userRegistrationRequest) throws Exception { Keycloak keycloak = Keycloak…

---

## [Unit Test for event-listener](https://forum.keycloak.org/t/unit-test-for-event-listener/19356)

<div class="topic-metadata">

**Author:** [@Nesly](https://forum.keycloak.org/u/Nesly)\
**Replies:** 0\
**Last updated:** [January 2, 2023, 10:16am UTC](https://forum.keycloak.org/t/unit-test-for-event-listener/19356 "2023-01-02T10:16:56Z")

</div>

@Override public void onEvent(AdminEvent event, boolean includeRepresentation) { log.info("Admin Event Occurred:" + toString(event));}\` I want to add test for the following method. How could I implement verify test f…

---

## [Replacement for org.keycloak.testsuite.KeycloakServer?](https://forum.keycloak.org/t/replacement-for-org-keycloak-testsuite-keycloakserver/13733)

<div class="topic-metadata">

**Author:** [@xgp](https://forum.keycloak.org/u/xgp)\
**Replies:** 5\
**Last updated:** [March 16, 2022, 4:53pm UTC](https://forum.keycloak.org/t/replacement-for-org-keycloak-testsuite-keycloakserver/13733 "2022-03-16T16:53:55Z")

</div>

Hi All, I have been using org.keycloak.testsuite.KeycloakServer previously in tests. Is there any replacement for the Quarkus version that does the same, quick bootstrap of a Keycloak server for testing? Thanks!
