FAILED Product Functional Testing | Community
Skip to main content
July 1, 2025
Solved

FAILED Product Functional Testing

  • July 1, 2025
  • 1 reply
  • 693 views
Hi team, I'm new to AEM and got no prior experience. I just created an environment and repository through Cloud Manager, deployed the out-of-the-box code that came with the repo, expecting it to pass without issues. However, the functional tests are failing—even though I haven't made any changes yet. Hope someone can enlighten me. TIA Attaching the logs below for reference: 2025-07-01 05:30:01,595 [INFO] Scanning for projects... 2025-07-01 05:30:02,975 [INFO] 2025-07-01 05:30:02,975 [INFO] -------------< com.adobe.evergreen.eaas:eaas-test-runner >-------------- 2025-07-01 05:30:02,976 [INFO] Building EaaS tests runner 1.0.0 2025-07-01 05:30:02,976 [INFO] from pom.xml 2025-07-01 05:30:02,976 [INFO] --------------------------------[ jar ]--------------------------------- 2025-07-01 05:30:03,196 [INFO] Downloading from shared: file:///shared/m2-repo/com/adobe/cq/cloud/com.adobe.cq.cloud.testing.it.smoke/0.21.7/com.adobe.cq.cloud.testing.it.smoke-0.21.7.pom 2025-07-01 05:30:03,280 [INFO] Downloaded from shared: file:///shared/m2-repo/com/adobe/cq/cloud/com.adobe.cq.cloud.testing.it.smoke/0.21.7/com.adobe.cq.cloud.testing.it.smoke-0.21.7.pom (401 B at 4.6 kB/s) 2025-07-01 05:30:03,410 [INFO] Downloading from shared: file:///shared/m2-repo/com/adobe/cq/cloud/com.adobe.cq.cloud.testing.it.smoke/0.21.7/com.adobe.cq.cloud.testing.it.smoke-0.21.7-jar-with-dependencies.jar 2025-07-01 05:30:04,186 [INFO] Downloaded from shared: file:///shared/m2-repo/com/adobe/cq/cloud/com.adobe.cq.cloud.testing.it.smoke/0.21.7/com.adobe.cq.cloud.testing.it.smoke-0.21.7-jar-with-dependencies.jar (18 MB at 23 MB/s) 2025-07-01 05:30:12,200 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Timer' = 'S1751347812.173647,VS0,VE6' 2025-07-01 05:30:12,201 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - Error response body was : 'UnsupportedHttpVerb

The resource doesn't support specified Http Verb.

  • HttpStatusCode: 405
  • ErrorCode: UnsupportedHttpVerb
  • RequestId : eee2f2a7-501e-0016-0149-ead80c000000
  • TimeStamp : 2025-07-01T05:30:12.1757941Z

' 2025-07-01 05:30:12,496 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.204 s <<< FAILURE! -- in com.adobe.cq.cloud.testing.it.smoke.CreatePageAdminIT 2025-07-01 05:30:12,575 [ERROR] com.adobe.cq.cloud.testing.it.smoke.CreatePageAdminIT.testCreatePage -- Time elapsed: 1.701 s <<< ERROR! org.apache.sling.testing.clients.exceptions.TestingValidationException: Expected HTTP Status: 201 . Instead 405 was returned! Response Content: UnsupportedHttpVerb

The resource doesn't support specified Http Verb.

  • HttpStatusCode: 405
  • ErrorCode: UnsupportedHttpVerb
  • RequestId : eee2f2f9-501e-0016-4c49-ead80c000000
  • TimeStamp : 2025-07-01T05:30:12.2843178Z

(return code=405) Request: POST https://author-p155380-e1700218.adobeaemcloud.net/conf/test-site Response: 405 The resource doesn't support specified Http Verb.UnsupportedHttpVerb

The resource doesn't support specified Http Verb.

  • HttpStatusCode: 405
  • ErrorCode: UnsupportedHttpVerb
  • RequestId : eee2f2f9-501e-0016-4c49-ead80c000000
  • TimeStamp : 2025-07-01T05:30:12.2843178Z

at org.apache.sling.testing.clients.util.HttpUtils.throwError(HttpUtils.java:101) at org.apache.sling.testing.clients.util.HttpUtils.verifyHttpStatus(HttpUtils.java:40) at org.apache.sling.testing.clients.AbstractSlingClient.doStreamRequest(AbstractSlingClient.java:331) at org.apache.sling.testing.clients.AbstractSlingClient.doRequest(AbstractSlingClient.java:480) at org.apache.sling.testing.clients.AbstractSlingClient.doPost(AbstractSlingClient.java:580) at org.apache.sling.testing.clients.AbstractSlingClient.doPost(AbstractSlingClient.java:597) at org.apache.sling.testing.clients.SlingClient.importContent(SlingClient.java:523) at com.adobe.cq.testing.junit.rules.Page.prepare(Page.java:156) at com.adobe.cq.testing.junit.rules.Page.before(Page.java:82) at org.apache.sling.testing.junit.rules.instance.ExistingInstanceStatement.evaluate(ExistingInstanceStatement.java:62) at com.adobe.cq.testing.junit.rules.CQUserAgentRule$1.evaluate(CQUserAgentRule.java:33) 2025-07-01 05:46:56,984 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Timer' = 'S1751348817.905939,VS0,VE32' 2025-07-01 05:46:56,986 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - Error response body was : 'UnsupportedHttpVerb

The resource doesn't support specified Http Verb.

  • HttpStatusCode: 405
  • ErrorCode: UnsupportedHttpVerb
  • RequestId : eef449f3-501e-0016-154b-ead80c000000
  • TimeStamp : 2025-07-01T05:46:56.9339595Z

' 2025-07-01 05:46:57,176 [main] WARN com.adobe.cq.testing.junit.rules.TemporaryContentAuthorGroup - Failed to delete group testGroup3386f96d-c88e-484c-bde3-138e36a145e8, but error is ignored 2025-07-01 05:46:57,379 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Timer' = 'S1751348817.287313,VS0,VE7' 2025-07-01 05:46:57,380 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - Error response body was : 'UnsupportedHttpVerb

The resource doesn't support specified Http Verb.

  • HttpStatusCode: 405
  • ErrorCode: UnsupportedHttpVerb
  • RequestId : eef44bfb-501e-0016-264b-ead80c000000
  • TimeStamp : 2025-07-01T05:46:57.2903950Z

' 2025-07-01 05:46:57,587 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1003 s <<< FAILURE! -- in com.adobe.cq.cloud.testing.it.smoke.CreatePageAsAuthorUserIT 2025-07-01 05:46:57,587 [ERROR] com.adobe.cq.cloud.testing.it.smoke.CreatePageAsAuthorUserIT.testCreatePageAsAuthor -- Time elapsed: 1003 s <<< ERROR! java.util.concurrent.TimeoutException: Call failed to return true in 30000 ms. Last exception was: org.apache.sling.testing.clients.exceptions.TestingValidationException: Expected HTTP Status: 201 . Instead 405 was returned! Response Content: UnsupportedHttpVerb

The resource doesn't support specified Http Verb.

  • HttpStatusCode: 405
  • ErrorCode: UnsupportedHttpVerb
  • RequestId : eee301e8-501e-0016-6849-ead80c000000
  • TimeStamp : 2025-07-01T05:30:16.7736297Z

(return code=405) Request: POST https://author-p155380-e1700218.adobeaemcloud.net/libs/granite/security/post/authorizables.html Response: 405 The resource doesn't support specified Http Verb.UnsupportedHttpVerb

The resource doesn't support specified Http Verb.

  • HttpStatusCode: 405
  • ErrorCode: UnsupportedHttpVerb
  • RequestId : eee301e8-501e-0016-6849-ead80c000000
  • TimeStamp : 2025-07-01T05:30:16.7736297Z

at org.apache.sling.testing.clients.util.poller.Polling.poll(Polling.java:133) at com.adobe.cq.testing.junit.rules.TemporaryContentAuthorGroup.before(TemporaryContentAuthorGroup.java:111) at org.apache.sling.testing.junit.rules.TestStickyCookieRule$1.evaluate(TestStickyCookieRule.java:34) at org.apache.sling.testing.junit.rules.instance.ExistingInstanceStatement.evaluate(ExistingInstanceStatement.java:62) at com.adobe.cq.testing.junit.rules.CQUserAgentRule$1.evaluate(CQUserAgentRule.java:33) 2025-07-01 05:46:59,381 [INFO] Running com.adobe.cq.cloud.testing.it.smoke.ErrorHandlerIT 2025-07-01 05:46:59,587 [main] INFO com.adobe.cq.testing.junit.rules.ConfigurableInstance - Using instances with config: [authentication method: LoginToken, indexing lanes detection: false] 2025-07-01 05:46:59,589 [main] INFO com.adobe.cq.testing.junit.rules.ConfigurableInstance - Using instances with config: [authentication method: LoginToken, indexing lanes detection: false] 2025-07-01 05:46:59,591 [main] INFO org.apache.sling.testing.junit.rules.instance.util.ConfigurationPool - Reading initial configurations from the system properties 2025-07-01 05:46:59,592 [main] INFO org.apache.sling.testing.junit.rules.instance.util.ConfigurationPool - Found 1 instance configuration(s) from the system properties 2025-07-01 05:46:59,595 [main] INFO org.apache.sling.testing.junit.rules.instance.ExistingInstanceStatement - InstanceConfiguration (URL: https://author-p155380-e1700218.adobeaemcloud.net, runmode: author) found for test com.adobe.cq.cloud.testing.it.smoke.ErrorHandlerIT 2025-07-01 05:46:59,876 [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.376 s -- in com.adobe.cq.cloud.testing.it.smoke.ErrorHandlerIT 2025-07-01 05:47:01,591 [INFO] Running com.adobe.cq.cloud.testing.it.smoke.ValidateAntiSamyConfigurationIT 2025-07-01 05:47:01,879 [main] INFO com.adobe.cq.testing.junit.rules.ConfigurableInstance - Using instances with config: [authentication method: LoginToken, indexing lanes detection: false] 2025-07-01 05:47:01,883 [main] INFO org.apache.sling.testing.junit.rules.instance.util.ConfigurationPool - Reading initial configurations from the system properties 2025-07-01 05:47:01,884 [main] INFO org.apache.sling.testing.junit.rules.instance.util.ConfigurationPool - Found 1 instance configuration(s) from the system properties 2025-07-01 05:47:01,887 [main] INFO org.apache.sling.testing.junit.rules.instance.ExistingInstanceStatement - InstanceConfiguration (URL: https://author-p155380-e1700218.adobeaemcloud.net, runmode: author) found for test com.adobe.cq.cloud.testing.it.smoke.ValidateAntiSamyConfigurationIT 2025-07-01 05:47:03,988 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - Got error login response code 405 from '/libs/cq/j_security_check' 2025-07-01 05:47:07,606 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Ms-Version' = '2018-03-28' 2025-07-01 05:47:07,606 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Proxy-Name' = 'EaaS-Client-Proxy' 2025-07-01 05:47:07,607 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Robots-Tag' = 'noindex, nofollow' 2025-07-01 05:47:07,607 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Served-By' = 'cache-iad-kiad7000033-IAD, cache-iad-kiad7000033-IAD' 2025-07-01 05:47:07,607 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Timer' = 'S1751348828.594045,VS0,VE6' 2025-07-01 05:47:07,607 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - Error response body was : 'UnsupportedHttpVerb

The resource doesn't support specified Http Verb.

  • HttpStatusCode: 405
  • ErrorCode: UnsupportedHttpVerb
  • RequestId : eef48660-501e-0016-264b-ead80c000000
  • TimeStamp : 2025-07-01T05:47:07.5961985Z

' 2025-07-01 05:47:08,721 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - Got error login response code 405 from '/libs/cq/j_security_check' 2025-07-01 05:47:08,722 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - Dumping headers: 2025-07-01 05:47:08,722 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Accept-Ranges' = 'bytes' 2025-07-01 05:47:08,722 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Allow' = 'GET,HEAD' 2025-07-01 05:47:08,722 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Cache-Control' = 'max-age=3600' 2025-07-01 05:47:08,722 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Connection' = 'close' 2025-07-01 05:47:08,722 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Content-Type' = 'text/html' 2025-07-01 05:47:08,723 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Date' = 'Tue, 01 Jul 2025 05:47:08 GMT' 2025-07-01 05:47:08,723 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Server' = 'Windows-Azure-Web/1.0 Microsoft-HTTPAPI/2.0' 2025-07-01 05:47:08,723 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Strict-Transport-Security' = 'max-age=31557600' 2025-07-01 05:47:08,723 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Transfer-Encoding' = 'chunked' 2025-07-01 05:47:08,723 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'Via' = '1.1 varnish, 1.1 varnish' 2025-07-01 05:47:08,723 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Cache' = 'MISS, MISS' 2025-07-01 05:47:08,723 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Cache-Hits' = '0, 0' 2025-07-01 05:47:08,723 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Default' = '1' 2025-07-01 05:47:08,724 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Ms-Error-Code' = 'UnsupportedHttpVerb' 2025-07-01 05:47:08,724 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Ms-Request-Id' = 'eef48bb1-501e-0016-414b-ead80c000000' 2025-07-01 05:47:08,724 [main] ERROR org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor - 'X-Ms-Version' = '2018-03-28' 2025-07-01 05:47:37,387 [INFO] 2025-07-01 05:47:37,387 [ERROR] Tests run: 3, Failures: 0, Errors: 3, Skipped: 0 2025-07-01 05:47:37,387 [INFO] 2025-07-01 05:47:37,393 [INFO] ------------------------------------------------------------------------ 2025-07-01 05:47:37,394 [INFO] BUILD SUCCESS 2025-07-01 05:47:37,394 [INFO] ------------------------------------------------------------------------ 2025-07-01 05:47:37,395 [INFO] Total time: 17:35 min 2025-07-01 05:47:37,395 [INFO] Finished at: 2025-07-01T05:47:37Z 2025-07-01 05:47:37,395 [INFO] ------------------------------------------------------------------------ 604 4
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ekhlaque

@aaron-alg  Welcome to the AEM community. I have gone through the logs, your functional integration/smoke tests are failing with errors like:

  • 405 – The resource doesn't support the specified HTTP verb
  • POST requests to endpoints like /conf/j_security_check, /libs/granite/security/post/authorizables.html, /libs/cq/xssprotection.json are getting HTTP 405 (“Method Not Allowed”)

    There are two likely causes:

    1. Integration Tests Expecting Old Endpoints,ootb functional or smoke tests included in the archetype repository might be targeting endpoints (for page creation, XSS protection config, or authorizable management) that don't allow these methods in AEM Cloud
      2.Security Hardening in AEM Cloud ,It is far more restrictive than Classic AEM. Many endpoints that previously permitted POST operations are now locked down for security. This means automated tests or integration tests built for Classic AEM can fail ootb on Cloud, especially if your archetype or test artifacts reference legacy patterns.


    Your failures are not due to your code,they are  due to default sample tests using unsupported endpoints/methods in AEM Cloud.

    Comment out, update, or carefully rewrite these tests. Start small with no integration tests if necessary then build up from passing basics.

1 reply

Ekhlaque
Adobe Employee
EkhlaqueAdobe EmployeeAccepted solution
Adobe Employee
July 1, 2025

@aaron-alg  Welcome to the AEM community. I have gone through the logs, your functional integration/smoke tests are failing with errors like:

  • 405 – The resource doesn't support the specified HTTP verb
  • POST requests to endpoints like /conf/j_security_check, /libs/granite/security/post/authorizables.html, /libs/cq/xssprotection.json are getting HTTP 405 (“Method Not Allowed”)

    There are two likely causes:

    1. Integration Tests Expecting Old Endpoints,ootb functional or smoke tests included in the archetype repository might be targeting endpoints (for page creation, XSS protection config, or authorizable management) that don't allow these methods in AEM Cloud
      2.Security Hardening in AEM Cloud ,It is far more restrictive than Classic AEM. Many endpoints that previously permitted POST operations are now locked down for security. This means automated tests or integration tests built for Classic AEM can fail ootb on Cloud, especially if your archetype or test artifacts reference legacy patterns.


    Your failures are not due to your code,they are  due to default sample tests using unsupported endpoints/methods in AEM Cloud.

    Comment out, update, or carefully rewrite these tests. Start small with no integration tests if necessary then build up from passing basics.

Aaron-ALGAuthor
July 1, 2025

Thank you @ekhlaque for the insights. 
They are helpful. Will let you know how it goes. 🙂