Commit 0311d439 authored by Ramu Dosapati's avatar Ramu Dosapati

Test code successful

parent bb468e00
Pipeline #2924 failed with stage
in 0 seconds
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/modules/pricing-pod-poc.main.iml" filepath="$PROJECT_DIR$/.idea/modules/pricing-pod-poc.main.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$/../../build/generated/sources/annotationProcessor/java/main">
<sourceFolder url="file://$MODULE_DIR$/../../build/generated/sources/annotationProcessor/java/main" isTestSource="false" generated="true" />
</content>
</component>
</module>
\ No newline at end of file
......@@ -5,12 +5,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="7b9430d6-468c-4ecd-adf2-7064b78ab3d1" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/src/test/java/com/safeway/pricing/safeway/SafewayPricingPodApplicationTests.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/test/java/com/safeway/pricing/safeway/router/RoutesTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/gradle.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/gradle.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/build.gradle" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -66,6 +61,36 @@
<recent name="D:\safeway\pricing-pod-j\pricing-pod-poc\src" />
</key>
</component>
<component name="RunManager">
<configuration name="SafewayPricingPodApplicationTests" type="GradleRunConfiguration" factoryName="Gradle" temporary="true">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":test" />
<option value="--tests" />
<option value="&quot;com.safeway.pricing.safeway.SafewayPricingPodApplicationTests&quot;" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>false</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
<recent_temporary>
<list>
<item itemvalue="Gradle.SafewayPricingPodApplicationTests" />
</list>
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
......
......@@ -23,13 +23,13 @@
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">3</div>
<div class="counter">1</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">1</div>
<div class="counter">0</div>
<p>failures</p>
</div>
</td>
......@@ -41,7 +41,7 @@
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">10.566s</div>
<div class="counter">10.552s</div>
<p>duration</p>
</div>
</td>
......@@ -50,8 +50,8 @@
</div>
</td>
<td>
<div class="infoBox failures" id="successRate">
<div class="percent">66%</div>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<p>successful</p>
</div>
</td>
......@@ -61,117 +61,13 @@
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Failed tests</a>
</li>
<li>
<a href="#tab1">Tests</a>
<a href="#tab0">Tests</a>
</li>
<li>
<a href="#tab2">Standard output</a>
<a href="#tab1">Standard output</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Failed tests</h2>
<div class="test">
<a name="expectOKResponse_WhenAccessNotSecuredURL()"></a>
<h3 class="failures">expectOKResponse_WhenAccessNotSecuredURL()</h3>
<span class="code">
<pre>java.lang.AssertionError: Range for response status value 200 OK expected:&lt;REDIRECTION&gt; but was:&lt;SUCCESSFUL&gt;
at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:59)
at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:122)
at org.springframework.test.web.reactive.server.StatusAssertions.lambda$assertSeriesAndReturn$5(StatusAssertions.java:232)
at org.springframework.test.web.reactive.server.ExchangeResult.assertWithDiagnostics(ExchangeResult.java:231)
at org.springframework.test.web.reactive.server.StatusAssertions.assertSeriesAndReturn(StatusAssertions.java:231)
at org.springframework.test.web.reactive.server.StatusAssertions.is3xxRedirection(StatusAssertions.java:183)
at com.safeway.pricing.safeway.SafewayPricingPodApplicationTests.expectOKResponse_WhenAccessNotSecuredURL(SafewayPricingPodApplicationTests.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.stop(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
</pre>
</span>
</div>
</div>
<div id="tab1" class="tab">
<h2>Tests</h2>
<table>
<thead>
......@@ -182,40 +78,30 @@
</tr>
</thead>
<tr>
<td class="success">authenticationTest()</td>
<td class="success">0.032s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">contextLoads()</td>
<td class="success">0.004s</td>
<td class="success">expectOKResponse_WhenAccessNotSecuredURL()</td>
<td class="success">10.552s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="failures">expectOKResponse_WhenAccessNotSecuredURL()</td>
<td class="failures">10.530s</td>
<td class="failures">failed</td>
</tr>
</table>
</div>
<div id="tab2" class="tab">
<div id="tab1" class="tab">
<h2>Standard output</h2>
<span class="code">
<pre>16:13:16.726 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
16:13:16.734 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
16:13:16.766 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests] from class [org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper]
16:13:16.779 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: class path resource [com/safeway/pricing/safeway/SafewayPricingPodApplicationTests-context.xml] does not exist
16:13:16.779 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: class path resource [com/safeway/pricing/safeway/SafewayPricingPodApplicationTestsContext.groovy] does not exist
16:13:16.779 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
16:13:16.836 [Test worker] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]
16:13:16.841 [Test worker] DEBUG org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - @TestExecutionListeners is not present for class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: using defaults.
16:13:16.842 [Test worker] INFO org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
16:13:16.849 [Test worker] DEBUG org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [javax/servlet/ServletContext]
16:13:16.854 [Test worker] INFO org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@37f21974, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@5f4d427e, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@6e521c1e, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@224b4d61, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5d5d9e5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@303e3593, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4ef27d66, org.springframework.test.context.event.EventPublishingTestExecutionListener@362a019c, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@1d9bec4d, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@5c48c0c0, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@10c8f62, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@674c583e, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@25f7391e, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@3f23a3a0]
16:13:16.859 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@9d157ff testClass = SafewayPricingPodApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@2f162cc0 testClass = SafewayPricingPodApplicationTests, locations = '{}', classes = '{class com.safeway.pricing.router.AppRouterConfig, class com.safeway.pricing.handler.PricingHandler, class com.safeway.pricing.config.SecurityConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@78a287ed, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@485a3466, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@e42bb17f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@a58cbc2d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@6f603e89, [ImportsContextCustomizer@5df417a7 key = [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@f74e835, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@31e3250d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@0], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map[[empty]]], class annotated with @DirtiesContext [false] with mode [null].
16:13:16.868 [Test worker] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@9d157ff testClass = SafewayPricingPodApplicationTests, testInstance = com.safeway.pricing.safeway.SafewayPricingPodApplicationTests@11acdc30, testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@2f162cc0 testClass = SafewayPricingPodApplicationTests, locations = '{}', classes = '{class com.safeway.pricing.router.AppRouterConfig, class com.safeway.pricing.handler.PricingHandler, class com.safeway.pricing.config.SecurityConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@78a287ed, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@485a3466, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@e42bb17f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@a58cbc2d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@6f603e89, [ImportsContextCustomizer@5df417a7 key = [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@f74e835, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@31e3250d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@0], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -&gt; false]]].
16:13:16.901 [Test worker] DEBUG org.springframework.boot.ApplicationReactiveWebEnvironment - Activating profiles []
16:13:16.920 [Test worker] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}
<pre>18:51:30.459 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
18:51:30.468 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
18:51:30.503 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests] from class [org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper]
18:51:30.519 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: class path resource [com/safeway/pricing/safeway/SafewayPricingPodApplicationTests-context.xml] does not exist
18:51:30.520 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: class path resource [com/safeway/pricing/safeway/SafewayPricingPodApplicationTestsContext.groovy] does not exist
18:51:30.520 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
18:51:30.580 [Test worker] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]
18:51:30.585 [Test worker] DEBUG org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - @TestExecutionListeners is not present for class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: using defaults.
18:51:30.586 [Test worker] INFO org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
18:51:30.601 [Test worker] DEBUG org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [javax/servlet/ServletContext]
18:51:30.607 [Test worker] INFO org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@770d4269, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4a8ab068, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@1922e6d, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@76a82f33, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6bab2585, org.springframework.test.context.transaction.TransactionalTestExecutionListener@74bdc168, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@644c78d4, org.springframework.test.context.event.EventPublishingTestExecutionListener@532a02d9, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@611f8234, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@7bb3a9fe, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@7cbee484, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@7f811d00, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@62923ee6, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4089713]
18:51:30.610 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@4c36250e testClass = SafewayPricingPodApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@21526f6c testClass = SafewayPricingPodApplicationTests, locations = '{}', classes = '{class com.safeway.pricing.router.AppRouterConfig, class com.safeway.pricing.handler.PricingHandler, class com.safeway.pricing.config.SecurityConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@2756c0a7, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@5536379e, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@3121c5d0, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@aee0da2f, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@b40bb6e, [ImportsContextCustomizer@49f5c307 key = [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5cc126dc, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@89c10b7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@0], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map[[empty]]], class annotated with @DirtiesContext [false] with mode [null].
18:51:30.620 [Test worker] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@4c36250e testClass = SafewayPricingPodApplicationTests, testInstance = com.safeway.pricing.safeway.SafewayPricingPodApplicationTests@25f9407e, testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@21526f6c testClass = SafewayPricingPodApplicationTests, locations = '{}', classes = '{class com.safeway.pricing.router.AppRouterConfig, class com.safeway.pricing.handler.PricingHandler, class com.safeway.pricing.config.SecurityConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@2756c0a7, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@5536379e, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@3121c5d0, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@aee0da2f, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@b40bb6e, [ImportsContextCustomizer@49f5c307 key = [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5cc126dc, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@89c10b7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@0], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -&gt; false]]].
18:51:30.656 [Test worker] DEBUG org.springframework.boot.ApplicationReactiveWebEnvironment - Activating profiles []
18:51:30.673 [Test worker] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
......@@ -225,53 +111,13 @@
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.6.1)
2022-12-12 16:13:17.305 INFO 5008 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 5008 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 16:13:17.307 INFO 5008 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 16:13:17.934 INFO 5008 --- [ Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: 02c4a78b-7b10-482c-b2eb-b09bc13521d3
2022-12-12 16:13:18.427 INFO 5008 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.505 seconds (JVM running for 3.188)
2022-12-12 16:13:28.950 ERROR 5008 --- [ Test worker] o.s.t.w.reactive.server.ExchangeResult : Request details for assertion failure:
&gt; GET /getDefaultFilterDetails
&gt; WebTestClient-Request-Id: [1]
&gt; Accept: [text/event-stream]
No content
&lt; 200 OK OK
&lt; Content-Type: [text/event-stream;charset=UTF-8]
&lt; Cache-Control: [no-cache, no-store, max-age=0, must-revalidate]
&lt; Pragma: [no-cache]
&lt; Expires: [0]
&lt; X-Content-Type-Options: [nosniff]
&lt; X-Frame-Options: [DENY]
&lt; X-XSS-Protection: [1 ; mode=block]
&lt; Referrer-Policy: [no-referrer]
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quot;3610-Traditional&quot;],&quot;groups&quot;:[&quot;36-Refrigirator Dairy&quot;],&quot;rog&quot;:[&quot;VSOC&quot;],&quot;priceAreas&quot;:[&quot;VSOC-01&quot;],&quot;storeGroups&quot;:[&quot;51&quot;]}
2022-12-12 18:51:31.067 INFO 7388 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 7388 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 18:51:31.069 INFO 7388 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 18:51:31.709 INFO 7388 --- [ Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: 3133dfa7-ad3d-4de6-ab05-8b42d94d5861
2022-12-12 18:51:32.239 INFO 7388 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.564 seconds (JVM running for 3.398)
</pre>
</span>
</div>
......@@ -283,7 +129,7 @@ data:{&quot;departments&quot;:[&quot;314-Dairy&quot;],&quot;category&quot;:[&quo
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 7.4</a> at Dec 12, 2022, 4:13:29 PM</p>
<a href="http://www.gradle.org">Gradle 7.4</a> at Dec 12, 2022, 6:51:42 PM</p>
</div>
</div>
</body>
......
......@@ -20,13 +20,13 @@
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">3</div>
<div class="counter">1</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">1</div>
<div class="counter">0</div>
<p>failures</p>
</div>
</td>
......@@ -38,7 +38,7 @@
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">10.566s</div>
<div class="counter">10.552s</div>
<p>duration</p>
</div>
</td>
......@@ -47,8 +47,8 @@
</div>
</td>
<td>
<div class="infoBox failures" id="successRate">
<div class="percent">66%</div>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<p>successful</p>
</div>
</td>
......@@ -58,25 +58,13 @@
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Failed tests</a>
<a href="#tab0">Packages</a>
</li>
<li>
<a href="#tab1">Packages</a>
</li>
<li>
<a href="#tab2">Classes</a>
<a href="#tab1">Classes</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Failed tests</h2>
<ul class="linkList">
<li>
<a href="classes/com.safeway.pricing.safeway.SafewayPricingPodApplicationTests.html">SafewayPricingPodApplicationTests</a>.
<a href="classes/com.safeway.pricing.safeway.SafewayPricingPodApplicationTests.html#expectOKResponse_WhenAccessNotSecuredURL()">expectOKResponse_WhenAccessNotSecuredURL()</a>
</li>
</ul>
</div>
<div id="tab1" class="tab">
<h2>Packages</h2>
<table>
<thead>
......@@ -91,19 +79,19 @@
</thead>
<tbody>
<tr>
<td class="failures">
<td class="success">
<a href="packages/com.safeway.pricing.safeway.html">com.safeway.pricing.safeway</a>
</td>
<td>3</td>
<td>1</td>
<td>0</td>
<td>10.566s</td>
<td class="failures">66%</td>
<td>0</td>
<td>10.552s</td>
<td class="success">100%</td>
</tr>
</tbody>
</table>
</div>
<div id="tab2" class="tab">
<div id="tab1" class="tab">
<h2>Classes</h2>
<table>
<thead>
......@@ -118,14 +106,14 @@
</thead>
<tbody>
<tr>
<td class="failures">
<td class="success">
<a href="classes/com.safeway.pricing.safeway.SafewayPricingPodApplicationTests.html">com.safeway.pricing.safeway.SafewayPricingPodApplicationTests</a>
</td>
<td>3</td>
<td>1</td>
<td>0</td>
<td>10.566s</td>
<td class="failures">66%</td>
<td>0</td>
<td>10.552s</td>
<td class="success">100%</td>
</tr>
</tbody>
</table>
......@@ -138,7 +126,7 @@
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 7.4</a> at Dec 12, 2022, 4:13:29 PM</p>
<a href="http://www.gradle.org">Gradle 7.4</a> at Dec 12, 2022, 6:51:42 PM</p>
</div>
</div>
</body>
......
......@@ -22,13 +22,13 @@
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">3</div>
<div class="counter">1</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">1</div>
<div class="counter">0</div>
<p>failures</p>
</div>
</td>
......@@ -40,7 +40,7 @@
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">10.566s</div>
<div class="counter">10.552s</div>
<p>duration</p>
</div>
</td>
......@@ -49,8 +49,8 @@
</div>
</td>
<td>
<div class="infoBox failures" id="successRate">
<div class="percent">66%</div>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<p>successful</p>
</div>
</td>
......@@ -60,22 +60,10 @@
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Failed tests</a>
</li>
<li>
<a href="#tab1">Classes</a>
<a href="#tab0">Classes</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Failed tests</h2>
<ul class="linkList">
<li>
<a href="../classes/com.safeway.pricing.safeway.SafewayPricingPodApplicationTests.html">SafewayPricingPodApplicationTests</a>.
<a href="../classes/com.safeway.pricing.safeway.SafewayPricingPodApplicationTests.html#expectOKResponse_WhenAccessNotSecuredURL()">expectOKResponse_WhenAccessNotSecuredURL()</a>
</li>
</ul>
</div>
<div id="tab1" class="tab">
<h2>Classes</h2>
<table>
<thread>
......@@ -89,14 +77,14 @@
</tr>
</thread>
<tr>
<td class="failures">
<td class="success">
<a href="../classes/com.safeway.pricing.safeway.SafewayPricingPodApplicationTests.html">SafewayPricingPodApplicationTests</a>
</td>
<td>3</td>
<td>1</td>
<td>0</td>
<td>10.566s</td>
<td class="failures">66%</td>
<td>0</td>
<td>10.552s</td>
<td class="success">100%</td>
</tr>
</table>
</div>
......@@ -108,7 +96,7 @@
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 7.4</a> at Dec 12, 2022, 4:13:29 PM</p>
<a href="http://www.gradle.org">Gradle 7.4</a> at Dec 12, 2022, 6:51:42 PM</p>
</div>
</div>
</body>
......
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="com.safeway.pricing.safeway.SafewayPricingPodApplicationTests" tests="3" skipped="0" failures="1" errors="0" timestamp="2022-12-12T10:43:18" hostname="HYD-LAP-00823" time="10.569">
<testsuite name="com.safeway.pricing.safeway.SafewayPricingPodApplicationTests" tests="1" skipped="0" failures="0" errors="0" timestamp="2022-12-12T13:21:32" hostname="HYD-LAP-00823" time="10.552">
<properties/>
<testcase name="expectOKResponse_WhenAccessNotSecuredURL()" classname="com.safeway.pricing.safeway.SafewayPricingPodApplicationTests" time="10.53">
<failure message="java.lang.AssertionError: Range for response status value 200 OK expected:&lt;REDIRECTION&gt; but was:&lt;SUCCESSFUL&gt;" type="java.lang.AssertionError">java.lang.AssertionError: Range for response status value 200 OK expected:&lt;REDIRECTION&gt; but was:&lt;SUCCESSFUL&gt;
at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:59)
at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:122)
at org.springframework.test.web.reactive.server.StatusAssertions.lambda$assertSeriesAndReturn$5(StatusAssertions.java:232)
at org.springframework.test.web.reactive.server.ExchangeResult.assertWithDiagnostics(ExchangeResult.java:231)
at org.springframework.test.web.reactive.server.StatusAssertions.assertSeriesAndReturn(StatusAssertions.java:231)
at org.springframework.test.web.reactive.server.StatusAssertions.is3xxRedirection(StatusAssertions.java:183)
at com.safeway.pricing.safeway.SafewayPricingPodApplicationTests.expectOKResponse_WhenAccessNotSecuredURL(SafewayPricingPodApplicationTests.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.stop(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
</failure>
</testcase>
<testcase name="contextLoads()" classname="com.safeway.pricing.safeway.SafewayPricingPodApplicationTests" time="0.004"/>
<testcase name="authenticationTest()" classname="com.safeway.pricing.safeway.SafewayPricingPodApplicationTests" time="0.032"/>
<system-out><![CDATA[16:13:16.726 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
16:13:16.734 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
16:13:16.766 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests] from class [org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper]
16:13:16.779 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: class path resource [com/safeway/pricing/safeway/SafewayPricingPodApplicationTests-context.xml] does not exist
16:13:16.779 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: class path resource [com/safeway/pricing/safeway/SafewayPricingPodApplicationTestsContext.groovy] does not exist
16:13:16.779 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
16:13:16.836 [Test worker] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]
16:13:16.841 [Test worker] DEBUG org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - @TestExecutionListeners is not present for class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: using defaults.
16:13:16.842 [Test worker] INFO org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
16:13:16.849 [Test worker] DEBUG org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [javax/servlet/ServletContext]
16:13:16.854 [Test worker] INFO org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@37f21974, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@5f4d427e, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@6e521c1e, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@224b4d61, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5d5d9e5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@303e3593, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4ef27d66, org.springframework.test.context.event.EventPublishingTestExecutionListener@362a019c, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@1d9bec4d, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@5c48c0c0, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@10c8f62, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@674c583e, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@25f7391e, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@3f23a3a0]
16:13:16.859 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@9d157ff testClass = SafewayPricingPodApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@2f162cc0 testClass = SafewayPricingPodApplicationTests, locations = '{}', classes = '{class com.safeway.pricing.router.AppRouterConfig, class com.safeway.pricing.handler.PricingHandler, class com.safeway.pricing.config.SecurityConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@78a287ed, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@485a3466, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@e42bb17f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@a58cbc2d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@6f603e89, [ImportsContextCustomizer@5df417a7 key = [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@f74e835, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@31e3250d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@0], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map[[empty]]], class annotated with @DirtiesContext [false] with mode [null].
16:13:16.868 [Test worker] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@9d157ff testClass = SafewayPricingPodApplicationTests, testInstance = com.safeway.pricing.safeway.SafewayPricingPodApplicationTests@11acdc30, testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@2f162cc0 testClass = SafewayPricingPodApplicationTests, locations = '{}', classes = '{class com.safeway.pricing.router.AppRouterConfig, class com.safeway.pricing.handler.PricingHandler, class com.safeway.pricing.config.SecurityConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@78a287ed, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@485a3466, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@e42bb17f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@a58cbc2d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@6f603e89, [ImportsContextCustomizer@5df417a7 key = [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@f74e835, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@31e3250d, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@0], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]].
16:13:16.901 [Test worker] DEBUG org.springframework.boot.ApplicationReactiveWebEnvironment - Activating profiles []
16:13:16.920 [Test worker] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}
<testcase name="expectOKResponse_WhenAccessNotSecuredURL()" classname="com.safeway.pricing.safeway.SafewayPricingPodApplicationTests" time="10.552"/>
<system-out><![CDATA[18:51:30.459 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
18:51:30.468 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
18:51:30.503 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests] from class [org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper]
18:51:30.519 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: class path resource [com/safeway/pricing/safeway/SafewayPricingPodApplicationTests-context.xml] does not exist
18:51:30.520 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: class path resource [com/safeway/pricing/safeway/SafewayPricingPodApplicationTestsContext.groovy] does not exist
18:51:30.520 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
18:51:30.580 [Test worker] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]
18:51:30.585 [Test worker] DEBUG org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - @TestExecutionListeners is not present for class [com.safeway.pricing.safeway.SafewayPricingPodApplicationTests]: using defaults.
18:51:30.586 [Test worker] INFO org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
18:51:30.601 [Test worker] DEBUG org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [javax/servlet/ServletContext]
18:51:30.607 [Test worker] INFO org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@770d4269, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4a8ab068, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@1922e6d, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@76a82f33, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6bab2585, org.springframework.test.context.transaction.TransactionalTestExecutionListener@74bdc168, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@644c78d4, org.springframework.test.context.event.EventPublishingTestExecutionListener@532a02d9, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@611f8234, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@7bb3a9fe, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@7cbee484, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@7f811d00, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@62923ee6, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4089713]
18:51:30.610 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@4c36250e testClass = SafewayPricingPodApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@21526f6c testClass = SafewayPricingPodApplicationTests, locations = '{}', classes = '{class com.safeway.pricing.router.AppRouterConfig, class com.safeway.pricing.handler.PricingHandler, class com.safeway.pricing.config.SecurityConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@2756c0a7, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@5536379e, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@3121c5d0, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@aee0da2f, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@b40bb6e, [ImportsContextCustomizer@49f5c307 key = [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5cc126dc, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@89c10b7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@0], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map[[empty]]], class annotated with @DirtiesContext [false] with mode [null].
18:51:30.620 [Test worker] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@4c36250e testClass = SafewayPricingPodApplicationTests, testInstance = com.safeway.pricing.safeway.SafewayPricingPodApplicationTests@25f9407e, testMethod = [null], testException = [null], mergedContextConfiguration = [ReactiveWebMergedContextConfiguration@21526f6c testClass = SafewayPricingPodApplicationTests, locations = '{}', classes = '{class com.safeway.pricing.router.AppRouterConfig, class com.safeway.pricing.handler.PricingHandler, class com.safeway.pricing.config.SecurityConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@2756c0a7, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@5536379e, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@3121c5d0, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@aee0da2f, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@b40bb6e, [ImportsContextCustomizer@49f5c307 key = [org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration, org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5cc126dc, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@89c10b7, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@0], contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]].
18:51:30.656 [Test worker] DEBUG org.springframework.boot.ApplicationReactiveWebEnvironment - Activating profiles []
18:51:30.673 [Test worker] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTestContextBootstrapper=true}
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
......@@ -121,53 +26,13 @@
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.6.1)
2022-12-12 16:13:17.305 INFO 5008 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 5008 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 16:13:17.307 INFO 5008 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 16:13:17.934 INFO 5008 --- [ Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: 02c4a78b-7b10-482c-b2eb-b09bc13521d3
2022-12-12 16:13:18.427 INFO 5008 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.505 seconds (JVM running for 3.188)
2022-12-12 16:13:28.950 ERROR 5008 --- [ Test worker] o.s.t.w.reactive.server.ExchangeResult : Request details for assertion failure:
> GET /getDefaultFilterDetails
> WebTestClient-Request-Id: [1]
> Accept: [text/event-stream]
No content
< 200 OK OK
< Content-Type: [text/event-stream;charset=UTF-8]
< Cache-Control: [no-cache, no-store, max-age=0, must-revalidate]
< Pragma: [no-cache]
< Expires: [0]
< X-Content-Type-Options: [nosniff]
< X-Frame-Options: [DENY]
< X-XSS-Protection: [1 ; mode=block]
< Referrer-Policy: [no-referrer]
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-Refrigirator Dairy"],"rog":["VSOC"],"priceAreas":["VSOC-01"],"storeGroups":["51"]}
2022-12-12 18:51:31.067 INFO 7388 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 7388 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 18:51:31.069 INFO 7388 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 18:51:31.709 INFO 7388 --- [ Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: 3133dfa7-ad3d-4de6-ab05-8b42d94d5861
2022-12-12 18:51:32.239 INFO 7388 --- [ Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.564 seconds (JVM running for 3.398)
]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
......@@ -60,3 +60,38 @@ data:{"departments":["314-Dairy"],"category":["3610-Traditional"],"groups":["36-
2022-12-12 18:45:48.737 INFO 24392 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 24392 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 18:45:48.749 INFO 24392 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 18:45:49.434 INFO 24392 --- [Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: fc067800-b8de-4f80-a8c7-64c57a3aee9e
2022-12-12 18:45:50.202 INFO 24392 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.885 seconds (JVM running for 3.755)
2022-12-12 18:46:54.724 INFO 7936 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 7936 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 18:46:54.725 INFO 7936 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 18:46:55.374 INFO 7936 --- [Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: 2d4f6da1-307c-4b49-b84c-fa34ab33b236
2022-12-12 18:46:55.988 INFO 7936 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.673 seconds (JVM running for 3.504)
2022-12-12 18:48:31.228 INFO 13156 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 13156 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 18:48:31.229 INFO 13156 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 18:48:31.809 INFO 13156 --- [Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: 30d49d9b-e92d-4812-b52e-5be192180c9c
2022-12-12 18:48:32.387 INFO 13156 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.646 seconds (JVM running for 3.834)
2022-12-12 18:50:07.408 INFO 28052 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 28052 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 18:50:07.409 INFO 28052 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 18:50:08.062 INFO 28052 --- [Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: e7d4cf46-d94b-4a72-9bb2-5c42982f4780
2022-12-12 18:50:08.577 INFO 28052 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.608 seconds (JVM running for 3.42)
2022-12-12 18:51:31.067 INFO 7388 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Starting SafewayPricingPodApplicationTests using Java 11.0.2 on HYD-LAP-00823 with PID 7388 (started by rdosapati in D:\safeway\pricing-pod-j\pricing-pod-poc)
2022-12-12 18:51:31.069 INFO 7388 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : No active profile set, falling back to default profiles: default
2022-12-12 18:51:31.709 INFO 7388 --- [Test worker] ctiveUserDetailsServiceAutoConfiguration :
Using generated security password: 3133dfa7-ad3d-4de6-ab05-8b42d94d5861
2022-12-12 18:51:32.239 INFO 7388 --- [Test worker] .s.p.s.SafewayPricingPodApplicationTests : Started SafewayPricingPodApplicationTests in 1.564 seconds (JVM running for 3.398)
......@@ -14,8 +14,10 @@ import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import org.springframework.test.web.reactive.server.WebTestClient;
import reactor.core.publisher.Flux;
import reactor.test.StepVerifier;
import java.time.Duration;
import java.util.Arrays;
@ExtendWith(SpringExtension.class)
@ContextConfiguration(classes={AppRouterConfig.class, PricingHandler.class,SecurityConfig.class})
......@@ -39,16 +41,22 @@ class SafewayPricingPodApplicationTests {
@Test
void expectOKResponse_WhenAccessNotSecuredURL() throws Exception {
webTestClient.get().uri("/getDefaultFilterDetails")
.accept(MediaType.TEXT_EVENT_STREAM)
.exchange()
.expectStatus()
.is3xxRedirection()
.expectBody(FilterByDetails.class)
.value(System.out::println);
FilterByDetails filterByDetails=FilterByDetails.builder()
.category(Arrays.asList("3610-Traditional")).departments(Arrays.asList("314-Dairy"))
.groups(Arrays.asList("36-Refrigirator Dairy"))
.rog(Arrays.asList("VSOC"))
.priceAreas(Arrays.asList("VSOC-01"))
.storeGroups(Arrays.asList("51")).build();
// StepVerifier.create(flux).expectNext(filterByDetails1,filterByDetails1,filterByDetails1,filterByDetails1,filterByDetails1
// ,filterByDetails1,filterByDetails1,filterByDetails1,filterByDetails1,filterByDetails1).verifyComplete();
Flux<FilterByDetails> flux=webTestClient.get().uri("/getDefaultFilterDetails")
.accept(MediaType.TEXT_EVENT_STREAM)
.exchange()
.expectStatus()
.isOk()
.returnResult(FilterByDetails.class).getResponseBody();
StepVerifier.create(flux).expectNextCount(10).verifyComplete();
}
@Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment