Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Get/update/reset condition constraints
- org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-2503-Technical-Update-constraints-be/api/v1/projects": http; nested exception is java.net.UnknownHostException: http
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
- at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
- at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
- at application.api.tests.ApiSteps.setAPIPostResponse(ApiSteps.java:394)
- at application.api.tests.ApiSteps.lambda$1(ApiSteps.java:66)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- Caused by: java.net.UnknownHostException: http
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at java.net.Socket.connect(Socket.java:538)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
- at sun.net.www.http.HttpClient.New(HttpClient.java:308)
- at sun.net.www.http.HttpClient.New(HttpClient.java:326)
- at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
- at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
- at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
- at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
- ... 43 more
- @api
- Scenario: Get constraints for structure - invalid url # ConditionConstraints.feature:4
- When I create a new "projects?data=Untitled%20project" # ApiSteps.java:64
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I create a new "projects?data=Untitled%20project"(ConditionConstraints.feature:5)
- And I POST API "structuregroups?parent=" with the latest id # ApiSteps.java:74
- And I POST API "properties?parent=" with the latest id with "&name=zenethPredictionConstraints&calcType=org.lhasalimited.ecosystem.calculator.zeneth.prediction.constraints.type" # ApiSteps.java:93
- And I GET API "propertie/"with the latest id with "/value" # ApiSteps.java:160
- Then the statusCode returned is "404" # ApiSteps.java:267
- org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-2503-Technical-Update-constraints-be/api/v1/projects": http; nested exception is java.net.UnknownHostException: http
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
- at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
- at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
- at application.api.tests.ApiSteps.setAPIPostResponse(ApiSteps.java:394)
- at application.api.tests.ApiSteps.lambda$1(ApiSteps.java:66)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- Caused by: java.net.UnknownHostException: http
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at java.net.Socket.connect(Socket.java:538)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
- at sun.net.www.http.HttpClient.New(HttpClient.java:308)
- at sun.net.www.http.HttpClient.New(HttpClient.java:326)
- at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
- at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
- at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
- at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
- ... 43 more
- @api
- Scenario: Get constraints for structure - valid url # ConditionConstraints.feature:12
- When I create a new "projects?data=Untitled%20project" # ApiSteps.java:64
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I create a new "projects?data=Untitled%20project"(ConditionConstraints.feature:13)
- And I POST API "structuregroups?parent=" with the latest id # ApiSteps.java:74
- And I POST API "properties?parent=" with the latest id with "&name=zenethPredictionConstraints&calcType=org.lhasalimited.ecosystem.calculator.zeneth.prediction.constraints.type" # ApiSteps.java:93
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then there are 1 entries in "predictionConditionsList" # ApiSteps.java:293
- Then the "temperature" in the "predictionConditionsList" instance 1 should be "20.0" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 1 should be "7.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the statusCode returned is "200" # ApiSteps.java:267
- @api
- Scenario: Update conditions for constraints # ConditionConstraints.feature:29
- When I convert the response to a request # ApiSteps.java:178
- java.lang.NullPointerException
- at java.io.StringReader.<init>(StringReader.java:50)
- at org.json.JSONTokener.<init>(JSONTokener.java:84)
- at org.json.JSONObject.<init>(JSONObject.java:334)
- at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
- at ✽.When I convert the response to a request(ConditionConstraints.feature:30)
- And I change the "temperature" key value to "18.5" as a "float" in "predictionConditionsList" instance 1 # ApiSteps.java:219
- And I change the "pH" key value to "6" as a "float" in "predictionConditionsList" instance 1 # ApiSteps.java:219
- And I change the "waterPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1 # ApiSteps.java:219
- And I change the "oxygenPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1 # ApiSteps.java:219
- And I change the "metalPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1 # ApiSteps.java:219
- And I change the "radicalInitiatorPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1 # ApiSteps.java:219
- And I change the "peroxidePresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1 # ApiSteps.java:219
- And I change the "lightPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1 # ApiSteps.java:219
- When I POST "zeneth/constraints/" API with updated values # ApiSteps.java:88
- Then there are 1 entries in "predictionConditionsList" # ApiSteps.java:293
- Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- When I GET "properties/" API with updated values # ApiSteps.java:155
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the statusCode returned is "200" # ApiSteps.java:267
- java.lang.NullPointerException
- at org.lhasalimited.core.base.util.BasicUtils.toBase64(BasicUtils.java:248)
- at org.lhasalimited.ecosystem.backend.test.utils.controllers.EcosystemControllersTestUtils.getBase64EncodedValue(EcosystemControllersTestUtils.java:788)
- at application.api.tests.ApiSteps.encodeAsBase64(ApiSteps.java:474)
- at application.api.tests.ApiSteps.lambda$10(ApiSteps.java:146)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- @api
- Scenario: Reset constraints for structure # ConditionConstraints.feature:64
- When I GET defaults with API "zeneth/constraints/default/" # ApiSteps.java:142
- java.lang.AssertionError
- at org.junit.Assert.fail(Assert.java:86)
- at application.api.tests.ApiSteps.lambda$10(ApiSteps.java:151)
- at ✽.When I GET defaults with API "zeneth/constraints/default/"(ConditionConstraints.feature:65)
- Then the "temperature" in the "predictionConditionsList" instance 1 should be "20.0" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 1 should be "7.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- When I GET "properties/" API with updated values # ApiSteps.java:155
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then there are 1 entries in "predictionConditionsList" # ApiSteps.java:293
- Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-2503-Technical-Update-constraints-be/api/v1/properties/null": http; nested exception is java.net.UnknownHostException: http
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
- at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
- at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
- at application.api.tests.ApiSteps.setAPIGetResponse(ApiSteps.java:371)
- at application.api.tests.ApiSteps.lambda$11(ApiSteps.java:157)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- Caused by: java.net.UnknownHostException: http
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at java.net.Socket.connect(Socket.java:538)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
- at sun.net.www.http.HttpClient.New(HttpClient.java:308)
- at sun.net.www.http.HttpClient.New(HttpClient.java:326)
- at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
- at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
- at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
- at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
- ... 43 more
- @api
- Scenario: Update conditions for constraints - add additional condition set B # ConditionConstraints.feature:87
- When I GET "properties/" API with updated values # ApiSteps.java:155
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:88)
- When I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- And I GET condition set defaults with API "zeneth/constraints/conditions/default" # ApiSteps.java:310
- And I convert the response to a request # ApiSteps.java:178
- And I add an additional condition set with the label "Condition Set B" # ApiSteps.java:315
- When I POST "zeneth/constraints/" API with updated condition values # ApiSteps.java:69
- Then there are 2 entries in "predictionConditionsList" # ApiSteps.java:293
- Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A" # ApiSteps.java:279
- Then the "conditionSetName" in the "predictionConditionsList" instance 2 should be "Condition Set B" # ApiSteps.java:279
- org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-2503-Technical-Update-constraints-be/api/v1/properties/null": http; nested exception is java.net.UnknownHostException: http
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
- at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
- at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
- at application.api.tests.ApiSteps.setAPIGetResponse(ApiSteps.java:371)
- at application.api.tests.ApiSteps.lambda$11(ApiSteps.java:157)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- Caused by: java.net.UnknownHostException: http
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at java.net.Socket.connect(Socket.java:538)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
- at sun.net.www.http.HttpClient.New(HttpClient.java:308)
- at sun.net.www.http.HttpClient.New(HttpClient.java:326)
- at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
- at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
- at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
- at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
- ... 43 more
- @api
- Scenario: Update conditions for constraints - add additional condition set C and update values # ConditionConstraints.feature:99
- When I GET "properties/" API with updated values # ApiSteps.java:155
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:100)
- When I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- And I GET condition set defaults with API "zeneth/constraints/conditions/default" # ApiSteps.java:310
- And I convert the response to a request # ApiSteps.java:178
- And I add an additional condition set with the label "Condition Set C" # ApiSteps.java:315
- And I change the "temperature" key value to "19.5" as a "float" in "predictionConditionsList" instance 3 # ApiSteps.java:219
- And I change the "pH" key value to "4" as a "float" in "predictionConditionsList" instance 3 # ApiSteps.java:219
- And I change the "waterPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 3 # ApiSteps.java:219
- And I change the "oxygenPresent" key value to "true" as a "boolean" in "predictionConditionsList" instance 3 # ApiSteps.java:219
- And I change the "metalPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 3 # ApiSteps.java:219
- And I change the "radicalInitiatorPresent" key value to "true" as a "boolean" in "predictionConditionsList" instance 3 # ApiSteps.java:219
- And I change the "peroxidePresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 3 # ApiSteps.java:219
- And I change the "lightPresent" key value to "true" as a "boolean" in "predictionConditionsList" instance 3 # ApiSteps.java:219
- When I POST "zeneth/constraints/" API with updated condition values # ApiSteps.java:69
- Then there are 3 entries in "predictionConditionsList" # ApiSteps.java:293
- Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A" # ApiSteps.java:279
- Then the "conditionSetName" in the "predictionConditionsList" instance 2 should be "Condition Set B" # ApiSteps.java:279
- Then the "conditionSetName" in the "predictionConditionsList" instance 3 should be "Condition Set C" # ApiSteps.java:279
- Then the "temperature" in the "predictionConditionsList" instance 3 should be "19.5" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 3 should be "4.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 3 should be "false" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 3 should be "true" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 3 should be "false" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 3 should be "true" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 3 should be "false" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 3 should be "true" # ApiSteps.java:279
- When I GET "properties/" API with updated values # ApiSteps.java:155
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then there are 3 entries in "predictionConditionsList" # ApiSteps.java:293
- Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A" # ApiSteps.java:279
- Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "conditionSetName" in the "predictionConditionsList" instance 2 should be "Condition Set B" # ApiSteps.java:279
- Then the "temperature" in the "predictionConditionsList" instance 2 should be "20.0" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 2 should be "7.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "conditionSetName" in the "predictionConditionsList" instance 3 should be "Condition Set C" # ApiSteps.java:279
- Then the "temperature" in the "predictionConditionsList" instance 3 should be "19.5" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 3 should be "4.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 3 should be "false" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 3 should be "true" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 3 should be "false" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 3 should be "true" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 3 should be "false" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 3 should be "true" # ApiSteps.java:279
- Then the statusCode returned is "200" # ApiSteps.java:267
- org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-2503-Technical-Update-constraints-be/api/v1/properties/null": http; nested exception is java.net.UnknownHostException: http
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
- at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
- at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
- at application.api.tests.ApiSteps.setAPIGetResponse(ApiSteps.java:371)
- at application.api.tests.ApiSteps.lambda$11(ApiSteps.java:157)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- Caused by: java.net.UnknownHostException: http
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at java.net.Socket.connect(Socket.java:538)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
- at sun.net.www.http.HttpClient.New(HttpClient.java:308)
- at sun.net.www.http.HttpClient.New(HttpClient.java:326)
- at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
- at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
- at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
- at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
- ... 43 more
- @api
- Scenario: Update conditions for constraints - remove condition set C # ConditionConstraints.feature:164
- When I GET "properties/" API with updated values # ApiSteps.java:155
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:165)
- When I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- When I convert the response to a request # ApiSteps.java:178
- And I remove the last object in "predictionConditionsList" from the request # ApiSteps.java:286
- When I POST "zeneth/constraints/" API with updated condition values # ApiSteps.java:69
- When I GET "properties/" API with updated values # ApiSteps.java:155
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then there are 2 entries in "predictionConditionsList" # ApiSteps.java:293
- Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A" # ApiSteps.java:279
- Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
- Then the "conditionSetName" in the "predictionConditionsList" instance 2 should be "Condition Set B" # ApiSteps.java:279
- Then the "temperature" in the "predictionConditionsList" instance 2 should be "20.0" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 2 should be "7.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 2 should be "true" # ApiSteps.java:279
- Then the statusCode returned is "200" # ApiSteps.java:267
- org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-2503-Technical-Update-constraints-be/api/v1/properties/null": http; nested exception is java.net.UnknownHostException: http
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
- at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
- at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
- at application.api.tests.ApiSteps.setAPIGetResponse(ApiSteps.java:371)
- at application.api.tests.ApiSteps.lambda$11(ApiSteps.java:157)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- Caused by: java.net.UnknownHostException: http
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at java.net.Socket.connect(Socket.java:538)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
- at sun.net.www.http.HttpClient.New(HttpClient.java:308)
- at sun.net.www.http.HttpClient.New(HttpClient.java:326)
- at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
- at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
- at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
- at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
- ... 43 more
- org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-2503-Technical-Update-constraints-be/api/v1/projects": http; nested exception is java.net.UnknownHostException: http
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
- at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
- at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
- at application.api.tests.ApiSteps.setAPIPostResponse(ApiSteps.java:394)
- at application.api.tests.ApiSteps.lambda$1(ApiSteps.java:66)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- Caused by: java.net.UnknownHostException: http
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at java.net.Socket.connect(Socket.java:538)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
- at sun.net.www.http.HttpClient.New(HttpClient.java:308)
- at sun.net.www.http.HttpClient.New(HttpClient.java:326)
- at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- @api
- Scenario: Reset constraints after multiple condition sets added # ConditionConstraints.feature:195
- When I GET "properties/" API with updated values # ApiSteps.java:155
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:196)
- When I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then there are 2 entries in "predictionConditionsList" # ApiSteps.java:293
- When I GET defaults with API "zeneth/constraints/default/" # ApiSteps.java:142
- When I convert the response to a request # ApiSteps.java:178
- When I POST "zeneth/constraints/" API with updated condition values # ApiSteps.java:69
- When I GET "properties/" API with updated values # ApiSteps.java:155
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then there are 1 entries in "predictionConditionsList" # ApiSteps.java:293
- Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A" # ApiSteps.java:279
- Then the "temperature" in the "predictionConditionsList" instance 1 should be "20.0" # ApiSteps.java:279
- Then the "pH" in the "predictionConditionsList" instance 1 should be "7.0" # ApiSteps.java:279
- Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "true" # ApiSteps.java:279
- Then the statusCode returned is "200" # ApiSteps.java:267
- Feature: Get/update/reset Excipients and contaminants
- at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
- at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
- at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
- at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
- ... 43 more
- @api
- Scenario: Get contaminants for Excipients # Excipients.feature:4
- When I create a new "projects?data=Untitled%20project" # ApiSteps.java:64
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I create a new "projects?data=Untitled%20project"(Excipients.feature:5)
- And I POST API "structuregroups?parent=" with the latest id # ApiSteps.java:74
- And I POST API "properties?parent=" with the latest id with "&name=zenethPredictionConstraints&calcType=org.lhasalimited.ecosystem.calculator.zeneth.prediction.constraints.type" # ApiSteps.java:93
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then the key "excipientFilterList" in the response should be "null" # ApiSteps.java:183
- @api
- Scenario: save selected excipients with contaminants selected # Excipients.feature:28
- When I convert the response to a request # ApiSteps.java:178
- java.lang.NullPointerException
- at java.io.StringReader.<init>(StringReader.java:50)
- at org.json.JSONTokener.<init>(JSONTokener.java:84)
- at org.json.JSONObject.<init>(JSONObject.java:334)
- at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
- at ✽.When I convert the response to a request(Excipients.feature:29)
- And I change the "excipientFilterList" key value in the request to "[{excipientId: 200, selectedContaminantRelationIds: [163]}]," # ApiSteps.java:189
- When I POST "zeneth/constraints/" API with updated values # ApiSteps.java:88
- Then the key "excipientFilterList" in the JSONresponse should be "excipientId": "200","selectedContaminantRelationIds" : "[163]" # ApiSteps.java:253
- When I GET "properties/" API with updated values # ApiSteps.java:155
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then the key "excipientFilterList" in the JSONresponse should be "excipientId": "200","selectedContaminantRelationIds" : "[163]" # ApiSteps.java:253
- @api
- Scenario: save selected excipients with contaminants deselected # Excipients.feature:40
- When I convert the response to a request # ApiSteps.java:178
- java.lang.NullPointerException
- at java.io.StringReader.<init>(StringReader.java:50)
- at org.json.JSONTokener.<init>(JSONTokener.java:84)
- at org.json.JSONObject.<init>(JSONObject.java:334)
- at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
- at ✽.When I convert the response to a request(Excipients.feature:41)
- And I change the "excipientFilterList" key value in the request to "[{excipientId: 200,selectedContaminantRelationIds: []}]," # ApiSteps.java:189
- When I POST "zeneth/constraints/" API with updated values # ApiSteps.java:88
- Then the key "excipientFilterList" in the JSONresponse should be "excipientId": "200","selectedContaminantRelationIds" : "[]" # ApiSteps.java:253
- When I GET "properties/" API with updated values # ApiSteps.java:155
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then the key "excipientFilterList" in the JSONresponse should be "excipientId": "200","selectedContaminantRelationIds" : "[]" # ApiSteps.java:253
- Feature: Get/update/reset transformation constraints
- org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-2503-Technical-Update-constraints-be/api/v1/projects": http; nested exception is java.net.UnknownHostException: http
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
- at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
- at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
- at application.api.tests.ApiSteps.setAPIPostResponse(ApiSteps.java:394)
- at application.api.tests.ApiSteps.lambda$1(ApiSteps.java:66)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at cucumber.runtime.Utils$1.call(Utils.java:40)
- at cucumber.runtime.Timeout.timeout(Timeout.java:16)
- at cucumber.runtime.Utils.invoke(Utils.java:34)
- at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
- at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
- at cucumber.runtime.Runtime.runStep(Runtime.java:300)
- at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
- at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
- at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
- at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
- at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
- at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- Caused by: java.net.UnknownHostException: http
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
- at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at java.net.Socket.connect(Socket.java:538)
- at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
- at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
- at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
- at sun.net.www.http.HttpClient.New(HttpClient.java:308)
- at sun.net.www.http.HttpClient.New(HttpClient.java:326)
- at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
- at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
- at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
- at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
- at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
- at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
- ... 43 more
- @api
- Scenario: Get transformations for structure # TransformationConstraints.feature:4
- When I create a new "projects?data=Untitled%20project" # ApiSteps.java:64
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I create a new "projects?data=Untitled%20project"(TransformationConstraints.feature:5)
- And I POST API "structuregroups?parent=" with the latest id # ApiSteps.java:74
- And I POST API "properties?parent=" with the latest id with "&name=zenethPredictionConstraints&calcType=org.lhasalimited.ecosystem.calculator.zeneth.prediction.constraints.type" # ApiSteps.java:93
- And I GET API "properties/"with the latest id with "/value" # ApiSteps.java:160
- Then the key "transformationIdFilterList" in the response should be "null" # ApiSteps.java:183
- Failed scenarios:
- ConditionConstraints.feature:4 # Scenario: Get constraints for structure - invalid url
- ConditionConstraints.feature:12 # Scenario: Get constraints for structure - valid url
- ConditionConstraints.feature:29 # Scenario: Update conditions for constraints
- ConditionConstraints.feature:64 # Scenario: Reset constraints for structure
- ConditionConstraints.feature:87 # Scenario: Update conditions for constraints - add additional condition set B
- ConditionConstraints.feature:99 # Scenario: Update conditions for constraints - add additional condition set C and update values
- ConditionConstraints.feature:164 # Scenario: Update conditions for constraints - remove condition set C
- ConditionConstraints.feature:195 # Scenario: Reset constraints after multiple condition sets added
- Excipients.feature:4 # Scenario: Get contaminants for Excipients
- Excipients.feature:28 # Scenario: save selected excipients with contaminants selected
- Excipients.feature:40 # Scenario: save selected excipients with contaminants deselected
- TransformationConstraints.feature:4 # Scenario: Get transformations for structure
- 12 Scenarios (12 failed)
- 205 Steps (12 failed, 193 skipped)
- 0m2.771s
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I create a new "projects?data=Untitled%20project"(ConditionConstraints.feature:5)
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I create a new "projects?data=Untitled%20project"(ConditionConstraints.feature:13)
- java.lang.NullPointerException
- at java.io.StringReader.<init>(StringReader.java:50)
- at org.json.JSONTokener.<init>(JSONTokener.java:84)
- at org.json.JSONObject.<init>(JSONObject.java:334)
- at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
- at ✽.When I convert the response to a request(ConditionConstraints.feature:30)
- java.lang.AssertionError
- at org.junit.Assert.fail(Assert.java:86)
- at application.api.tests.ApiSteps.lambda$10(ApiSteps.java:151)
- at ✽.When I GET defaults with API "zeneth/constraints/default/"(ConditionConstraints.feature:65)
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:88)
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:100)
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:165)
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:196)
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I create a new "projects?data=Untitled%20project"(Excipients.feature:5)
- java.lang.NullPointerException
- at java.io.StringReader.<init>(StringReader.java:50)
- at org.json.JSONTokener.<init>(JSONTokener.java:84)
- at org.json.JSONObject.<init>(JSONObject.java:334)
- at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
- at ✽.When I convert the response to a request(Excipients.feature:29)
- java.lang.NullPointerException
- at java.io.StringReader.<init>(StringReader.java:50)
- at org.json.JSONTokener.<init>(JSONTokener.java:84)
- at org.json.JSONObject.<init>(JSONObject.java:334)
- at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
- at ✽.When I convert the response to a request(Excipients.feature:41)
- java.lang.AssertionError: Internal server error 500
- at org.junit.Assert.fail(Assert.java:88)
- at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
- at ✽.When I create a new "projects?data=Untitled%20project"(TransformationConstraints.feature:5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement