We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To run a service I must send an authorization + token but it returns an error.
on postman i send token and services responds 200 ok Basic bHFXXXXXXXXX
status 200 status 500
Every time I send it to execute it brings me that field by default, how do I change it?
I get token in header :
Execute service ok
4.1.10
17
mac serenity rest
this is my code credentials is confidential
actor.whoCan(CallAnApi.at(urlService)); switch (serviceType) { case "get": actor.attemptsTo( Get.resource(finalUrl) .with(request -> request.auth().preemptive().basic(user, pass) .header("Authorization","Basic bHFXXXXXXXXX") .contentType("application/json; charset=utf-8") ) ); break;
Work on this myself and propose a PR (with Serenity BDD team guidance)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
To run a service I must send an authorization + token but it returns an error.
on postman i send token and services responds 200 ok
Basic bHFXXXXXXXXX
status 200
status 500
Every time I send it to execute it brings me that field by default, how do I change it?
I get token in header :
What did you expect to happen?
Execute service ok
Serenity BDD version
4.1.10
JDK version
17
Execution environment
mac
serenity rest
How to reproduce the bug.
this is my code credentials is confidential
actor.whoCan(CallAnApi.at(urlService));
switch (serviceType) {
case "get":
actor.attemptsTo(
Get.resource(finalUrl)
.with(request -> request.auth().preemptive().basic(user, pass)
.header("Authorization","Basic bHFXXXXXXXXX")
.contentType("application/json; charset=utf-8")
)
);
break;
How can we make it happen?
Work on this myself and propose a PR (with Serenity BDD team guidance)
The text was updated successfully, but these errors were encountered: