Import statement of Response and given() #175
-
Hi! I would like to know which dependency/import statement I need to use for the class Response and the method given() in
In may case is not working. I have the next dependencies for testing:
It is possible to test a Kafka/Strimzi Cluster that uses Keycloak to manage authorization in this way? Thank you so much in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
dasniko
Feb 12, 2025
Replies: 1 comment 3 replies
-
The import io.restassured.response.Response;
import static io.restassured.RestAssured.given; |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
MariaIRubio
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
rest-assured
dependency should do the trick.Read the docs of rest-assured for more details.