Project Number Date
WordPress 1.0.3fa221 12 Jul 2022, 21:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Posts 51 0 0 0 0 51 10 0 10 5.100 Passed
Feature Posts
0.563
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "administrator" role 0.280
When I make a request to retrieve all posts 0.281
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And response should have proper amount of posts 0.001
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.579
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "subscriber" role 0.332
When I make a request to retrieve all posts 0.245
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And response should have proper amount of posts 0.001
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.552
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "administrator" role 0.275
When I make a request to create a post with the following query params 0.252
content title excerpt
TestNG WordPress Post Content TestNG WordPress Title TestNG WordPress Excerpt
Then response should be "HTTP/1.1 201 Created" 0.000
And response should be valid and have a body 0.000
And content should be correct 0.009
And title should be correct 0.009
And excerpt should be correct 0.004
After com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.afterCreateAPostFeature() 0.513
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.543
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.beforeRetrieveAPostFeature() 0.553
Given I am authorized with a user with "administrator" role 0.273
When I make a request to retrieve a post 0.251
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And proper post id should be returned 0.006
And content should be correct 0.004
And title should be correct 0.004
And excerpt should be correct 0.003
After com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.afterCreateAPostFeature() 0.498
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.497
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.beforeRetrieveAPostFeature() 0.489
Given I am authorized with a user with "administrator" role 0.248
When I make a request to update a post with the following query params 0.231
content title excerpt
TestNG WordPress Content Updated TestNG WordPress Title Updated TestNG WordPress Excerpt Updated
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And proper post id should be returned 0.005
And content should be correct 0.003
And title should be correct 0.005
And excerpt should be correct 0.003
After com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.afterCreateAPostFeature() 0.509
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.482
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.beforeRetrieveAPostFeature() 0.485
Given I am authorized with a user with "administrator" role 0.227
When I make a request to delete a post 0.243
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And post should be deleted 0.005
And proper post id should be returned 0.006
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.477
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.beforeRetrieveAPostFeature() 0.482
Given I am authorized with a user with "subscriber" role 0.246
When I make a request to create a post with the following query params 0.231
content title excerpt
TestNG WordPress Post Content TestNG WordPress Title TestNG WordPress Excerpt
Then response should be "HTTP/1.1 403 Forbidden" 0.000
After com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.afterCreateAPostFeatureAsSubscriber() 0.503
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.475
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.beforeRetrieveAPostFeature() 0.498
Given I am authorized with a user with "subscriber" role 0.233
When I make a request to retrieve a post 0.241
Then response should be "HTTP/1.1 403 Forbidden" 0.000
After com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.afterCreateAPostFeatureAsSubscriber() 0.465
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.465
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.beforeRetrieveAPostFeature() 0.500
Given I am authorized with a user with "subscriber" role 0.235
When I make a request to update a post with the following query params 0.229
content title excerpt
TestNG WordPress Content Updated TestNG WordPress Title Updated TestNG WordPress Excerpt Updated
Then response should be "HTTP/1.1 403 Forbidden" 0.000
After com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.afterCreateAPostFeatureAsSubscriber() 0.594
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.461
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.beforeRetrieveAPostFeature() 0.494
Given I am authorized with a user with "subscriber" role 0.231
When I make a request to delete a post 0.229
Then response should be "HTTP/1.1 403 Forbidden" 0.000
After com.jalasoft.wordpress.steps.hooks.features.PostsFeatureHook.afterCreateAPostFeatureAsSubscriber() 0.507
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000