[NU-1846] Test parameters definition endpoint: more verbose logs + TO… #7154
GitHub Actions / REPORT-BackendTests-2.12
failed
Nov 14, 2024 in 1s
2668 passed, 1 failed and 6 skipped
Annotations
github-actions / REPORT-BackendTests-2.12
pl.touk.nussknacker.BatchDataGenerationSpec ► Generate file endpoint for scenario with table source should generate randomized records when configured with random mode
Failed test found in:
e2e-tests/target/test-reports/TEST-pl.touk.nussknacker.BatchDataGenerationSpec.xml
Error:
java.lang.AssertionError: 1 expectation failed.
Raw output
java.lang.AssertionError: 1 expectation failed.
Response body doesn't match expectation.
Expected: "\n{\n \"sourceId\": \"sourceId\",\n \"record\": {\n \"datetime\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}\\\\s\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{1,3}$$\",\n \"client_id\": \"[a-z\\\\d]{100}\",\n \"amount\": \"^\\\\d+(\\\\.\\\\d+)?([eE]\\\\d+)?$$\",\n \"file.name\": \"[a-z\\\\d]{100}\"\n }\n}\n"
Actual: {"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:57.961","client_id":"5d9fc8ef9927e310e87cfd47b6119b1ffa8c3177e65200f70ec59178bca85ae24ba9475b14227affea4b487e01f29f26284c","amount":3459246531104.85,"file.name":"ed8de81b1fdb25dc2ff704007a227fcce01790751e80a3b2e9a6b6db7d391949952a4088935d03eebdc2377541c6ed166d4c"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:57.999","client_id":"e8359f7e6e3b942eb0fc1d891738445764eead3c8a6926cf179ce243de6647aa54be14864005d59a133666db1fc607c65dce","amount":4999802275124.36,"file.name":"dbeb42571bc948d7b5f0d970c8b69a32697772c06e627627d628085953646a649b45505abc896633692cf757b8a3d101b782"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:57.999","client_id":"2f9298ed2d35446027f1d3e2c9a0f1d96dd86d2c56cadaffd27bd1d9bd1c9c3a298b3c277d5d2007a6f588edc67cc31fd884","amount":3415529739395.34,"file.name":"b6c4676002b000f8f1aab96dcd53f00cc0464d592e751ceba91d4bd7d106951eb154ec35535404808ab8becbbdad45128271"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:58","client_id":"70a822ec89e98ed280ac86e90e98a2e5e423109d5001908ad8d7cb8d62dc328f1d70cde4993003f20c6b2dfc621cfe466fd8","amount":6012365382862.22,"file.name":"0a19c806a50a6a6c25eacc314553495362fcb6c9721c4f0b61a76d3bd8bdd5c413a9df3f40afb7bfafd63fe1804c87c40c8a"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:58","client_id":"ad6066f0bcb22c7d89357803f4aaf4db9d6ac5c3fc79fca3d1b6b18f9e811117cec8c137780c6140bc51e67618ddf8fa1bb4","amount":4700047725175.85,"file.name":"5db68250085e9430855fa55fccb5e5e39899390f8b58b4152ccc15dc21166d13c1346abf9c8bf99db31a2db5be0aa644b3ec"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:58","client_id":"6cea8231a38b009eb82296374e649bd2b5691d719cc539bc4afe49179595cfa4e60923529a0a95e04b2e5935226f97affb7b","amount":2874146482171.11,"file.name":"d02aa56f6bf545d3f8d40721d36653936309421118a9a5649b227a846af7c6fe0407e1ecc092b4c46c8d33e1ba05a5238084"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:58","client_id":"3e544128a9fc46afa650aab26f54ffad96dd8d2cbc9f2847d7debc7ab37b2c94e8063264a652eb253693742985197a126c2e","amount":6033474413970.64,"file.name":"fa5f4a164580150446f102d74e4c23daa4e1e71fb8c0402e522531704c7f5d287754fd437df950b4679efbf4e4f0a19f057e"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:58","client_id":"c6a64a043e8e88d19e4174f8c59f92ce87aab9e928a7759d481b3a566814f6017c22cee63cc22ccf65728e6d4a92897ccb24","amount":5310282090461.47,"file.name":"6d50b279b1929d8e17ab5c603308b608bf1179383bf19ac3e6214634981d4a8d9cae8e846296c3e143edd7c621a9d289899e"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:58.001","client_id":"ccc153dac93e856247d69e8e4ea98102f5640d9d6d874d2553f3ba35247a750d1715b08def394fb93d3caf1ec272b9d007b6","amount":4100958421972.62,"file.name":"e067a322c65946df2eb37dbdd68005ccac0e8618e472897fa3298ae5c1d6e13667cefde29b1a4d1c38f719ceccd68d3ebb16"}}
{"sourceId":"sourceId","record":{"datetime":"2024-11-14 14:47:58.001","client_id":"43bb85500a81c1ca8b41a1634fe5a06d0d75b4b19d10431c5aeecc6c98702ec18ac69e52a87097e56b0d8e3bc8885624c54a","amount":9230352458354.48,"file.name":"bb1a6384502d2d0206001090a5f24a8c4cb7195b1db0d1b9a0e1399d50ceb61a71db69e38e9eb9d70fa92413abd18864d4c6"}}
at java.base/jdk.internal.reflect.GeneratedConstructorAccessor1005.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:80)
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:74)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:249)
at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:492)
at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:655)
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.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:190)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:168)
at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:97)
at io.restassured.internal.ValidatableResponseOptionsImpl.body(ValidatableResponseOptionsImpl.java:238)
at io.restassured.internal.ValidatableResponseImpl.super$2$body(ValidatableResponseImpl.groovy)
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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:144)
at io.restassured.internal.ValidatableResponseImpl.body(ValidatableResponseImpl.groovy:293)
at io.restassured.internal.ValidatableResponseImpl.body(ValidatableResponseImpl.groovy)
at pl.touk.nussknacker.BatchDataGenerationSpec.$anonfun$new$2(BatchDataGenerationSpec.scala:58)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.freespec.AnyFreeSpecLike$$anon$1.apply(AnyFreeSpecLike.scala:437)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at pl.touk.nussknacker.BatchDataGenerationSpec.withFixture(BatchDataGenerationSpec.scala:14)
at org.scalatest.freespec.AnyFreeSpecLike.invokeWithFixture$1(AnyFreeSpecLike.scala:435)
at org.scalatest.freespec.AnyFreeSpecLike.$anonfun$runTest$1(AnyFreeSpecLike.scala:447)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.freespec.AnyFreeSpecLike.runTest(AnyFreeSpecLike.scala:447)
at org.scalatest.freespec.AnyFreeSpecLike.runTest$(AnyFreeSpecLike.scala:429)
at pl.touk.nussknacker.BatchDataGenerationSpec.org$scalatest$BeforeAndAfterEach$$super$runTest(BatchDataGenerationSpec.scala:14)
at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
at pl.touk.nussknacker.BatchDataGenerationSpec.runTest(BatchDataGenerationSpec.scala:14)
at org.scalatest.freespec.AnyFreeSpecLike.$anonfun$runTests$1(AnyFreeSpecLike.scala:506)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at scala.collection.immutable.List.foreach(List.scala:392)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at scala.collection.immutable.List.foreach(List.scala:392)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.freespec.AnyFreeSpecLike.runTests(AnyFreeSpecLike.scala:506)
at org.scalatest.freespec.AnyFreeSpecLike.runTests$(AnyFreeSpecLike.scala:505)
at pl.touk.nussknacker.BatchDataGenerationSpec.runTests(BatchDataGenerationSpec.scala:14)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at pl.touk.nussknacker.BatchDataGenerationSpec.org$scalatest$freespec$AnyFreeSpecLike$$super$run(BatchDataGenerationSpec.scala:14)
at org.scalatest.freespec.AnyFreeSpecLike.$anonfun$run$1(AnyFreeSpecLike.scala:550)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.freespec.AnyFreeSpecLike.run(AnyFreeSpecLike.scala:550)
at org.scalatest.freespec.AnyFreeSpecLike.run$(AnyFreeSpecLike.scala:549)
at pl.touk.nussknacker.BatchDataGenerationSpec.org$scalatest$BeforeAndAfterAll$$super$run(BatchDataGenerationSpec.scala:14)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
at pl.touk.nussknacker.BatchDataGenerationSpec.run(BatchDataGenerationSpec.scala:14)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.TestRunner.runTest$1(TestFramework.scala:153)
at sbt.TestRunner.run(TestFramework.scala:168)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
at sbt.TestFunction.apply(TestFramework.scala:348)
at sbt.Tests$.processRunnable$1(Tests.scala:475)
at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:481)
at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
at sbt.std.Transform$$anon$4.work(Transform.scala:69)
at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
at sbt.Execute.work(Execute.scala:292)
at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Loading