Serenity BDD Report
Home
>
Security
>
Cross-origin resource sharing
> CORS negative scenario
Overall Test Results
Requirements
Capabilities
Features
Report generated 21-08-2025 23:49
Cross-Origin Resource Sharing
Security
Under 1 Second (Duration)
CORS negative scenario
Steps
Outcome
Given user johndoe@mail.com is trying to access /account/ endpoint from the wrong origin
SUCCESS
001ms
When browser sends OPTIONS request with GET HTTP method for ACPM header
SUCCESS
Then API responds with 403 HTTP code
SUCCESS
001ms
SUCCESS
0.01s
Serenity BDD version 4.2.34