0

I'm trying to do the following:

Currently I'm using Serenity (which uses Rest Assured) to perform some API requests, and I correctly obtain the responses and treat them (getResponse.getBody blablabla), resulting in a treated String. Now, what I want to do is "convert" that String to a Response type and treat it again.

Is that possible? I can't find any information about it.

Thanks!!

1 Answer 1

0

AFAIK, you cannot do this, as String type cannot be casted to Response.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.