Hello, I have created one Application Test for one of my Case type, However While running API automation I am getting one authentication error:
Below is the configuration I have for business action:
I have tried with passing constant values as input parameters, e.g. John Lee for Name but it didn’t work. I have created one OAuth Authentication profile and associated it with my personas associated with tests:
But, this is not also working. It will be helpful if anyone can suggest if I am missing anything.
Summary
This text will be hidden
Hi, this seems like an authentication context issue rather than a problem with the input parameters.
From what I’ve seen, the OAuth profile configured under Personas is mainly applied for UI login steps, and API steps in Application Tests do not automatically inherit that authentication.
What I would suggest trying:
-
Instead of relying on the Persona configuration, configure the OAuth profile directly in a Connector (REST) rule and invoke that from your test
-
Alternatively, try passing the Authorization header (Bearer token) explicitly in the API step to validate if authentication is the issue
-
Also, please verify what authentication type the endpoint expects (OAuth/Basic/etc.) and ensure it matches your configuration
If the issue persists, running a Tracer would help confirm whether the token or authorization header is being sent with the request.