SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Feature: Get/update/reset condition constraints
  2. org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-104-numerical-constraints/api/v1/projects": http; nested exception is java.net.UnknownHostException: http
  3.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  4.     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
  5.     at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
  6.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
  7.     at application.api.tests.ApiSteps.setAPIPostResponse(ApiSteps.java:394)
  8.     at application.api.tests.ApiSteps.lambda$1(ApiSteps.java:66)
  9.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  10.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  11.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  12.     at java.lang.reflect.Method.invoke(Method.java:498)
  13.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  14.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  15.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  16.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  17.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  18.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  19.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  20.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  21.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  22.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  23.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  24.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  25.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  26.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  27.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  28.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  29.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  30.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  31.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  32.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  33.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  34.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  35.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  36.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  37.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  38.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  39.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  40.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  41.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  42.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  43.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  44.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  45.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  46.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  47. Caused by: java.net.UnknownHostException: http
  48.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
  49.     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  50.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  51.     at java.net.Socket.connect(Socket.java:589)
  52.     at java.net.Socket.connect(Socket.java:538)
  53.     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
  54.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
  55.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
  56.     at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
  57.     at sun.net.www.http.HttpClient.New(HttpClient.java:308)
  58.     at sun.net.www.http.HttpClient.New(HttpClient.java:326)
  59.     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
  60.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
  61.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
  62.     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
  63.     at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
  64.     at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
  65.     at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
  66.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
  67.     ... 43 more
  68.  
  69.   @api
  70.   Scenario: Get constraints for structure - invalid url                                                                                                                               # ConditionConstraints.feature:4
  71.     When I create a new "projects?data=Untitled%20project"                                                                                                                            # ApiSteps.java:64
  72.       java.lang.AssertionError: Internal server error 500
  73.         at org.junit.Assert.fail(Assert.java:88)
  74.         at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  75.         at ✽.When I create a new "projects?data=Untitled%20project"(ConditionConstraints.feature:5)
  76.  
  77.     And I POST API "structuregroups?parent=" with the latest id                                                                                                                       # ApiSteps.java:74
  78.     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
  79.     And I GET API "propertie/"with the latest id with "/value"                                                                                                                        # ApiSteps.java:160
  80.     Then the statusCode returned is "404"                                                                                                                                             # ApiSteps.java:267
  81. org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-104-numerical-constraints/api/v1/projects": http; nested exception is java.net.UnknownHostException: http
  82.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  83.     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
  84.     at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
  85.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
  86.     at application.api.tests.ApiSteps.setAPIPostResponse(ApiSteps.java:394)
  87.     at application.api.tests.ApiSteps.lambda$1(ApiSteps.java:66)
  88.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  89.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  90.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  91.     at java.lang.reflect.Method.invoke(Method.java:498)
  92.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  93.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  94.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  95.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  96.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  97.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  98.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  99.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  100.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  101.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  102.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  103.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  104.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  105.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  106.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  107.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  108.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  109.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  110.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  111.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  112.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  113.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  114.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  115.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  116.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  117.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  118.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  119.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  120.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  121.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  122.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  123.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  124.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  125.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  126. Caused by: java.net.UnknownHostException: http
  127.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
  128.     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  129.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  130.     at java.net.Socket.connect(Socket.java:589)
  131.     at java.net.Socket.connect(Socket.java:538)
  132.     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
  133.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
  134.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
  135.     at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
  136.     at sun.net.www.http.HttpClient.New(HttpClient.java:308)
  137.     at sun.net.www.http.HttpClient.New(HttpClient.java:326)
  138.     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
  139.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
  140.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
  141.     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
  142.     at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
  143.     at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
  144.     at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
  145.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
  146.     ... 43 more
  147.  
  148.   @api
  149.   Scenario: Get constraints for structure - valid url                                                                                                                                 # ConditionConstraints.feature:12
  150.     When I create a new "projects?data=Untitled%20project"                                                                                                                            # ApiSteps.java:64
  151.       java.lang.AssertionError: Internal server error 500
  152.         at org.junit.Assert.fail(Assert.java:88)
  153.         at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  154.         at ✽.When I create a new "projects?data=Untitled%20project"(ConditionConstraints.feature:13)
  155.  
  156.     And I POST API "structuregroups?parent=" with the latest id                                                                                                                       # ApiSteps.java:74
  157.     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
  158.     And I GET API "properties/"with the latest id with "/value"                                                                                                                       # ApiSteps.java:160
  159.     Then there are 1 entries in "predictionConditionsList"                                                                                                                            # ApiSteps.java:293
  160.     Then the "temperature" in the "predictionConditionsList" instance 1 should be "20.0"                                                                                              # ApiSteps.java:279
  161.     Then the "pH" in the "predictionConditionsList" instance 1 should be "7.0"                                                                                                        # ApiSteps.java:279
  162.     Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "true"                                                                                             # ApiSteps.java:279
  163.     Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "true"                                                                                            # ApiSteps.java:279
  164.     Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "true"                                                                                             # ApiSteps.java:279
  165.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "true"                                                                                  # ApiSteps.java:279
  166.     Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "true"                                                                                          # ApiSteps.java:279
  167.     Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "true"                                                                                             # ApiSteps.java:279
  168.     Then the statusCode returned is "200"                                                                                                                                             # ApiSteps.java:267
  169.  
  170.   @api
  171.   Scenario: Update conditions for constraints                                                                               # ConditionConstraints.feature:29
  172.     When I convert the response to a request                                                                                # ApiSteps.java:178
  173.       java.lang.NullPointerException
  174.         at java.io.StringReader.<init>(StringReader.java:50)
  175.         at org.json.JSONTokener.<init>(JSONTokener.java:84)
  176.         at org.json.JSONObject.<init>(JSONObject.java:334)
  177.         at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
  178.         at ✽.When I convert the response to a request(ConditionConstraints.feature:30)
  179.  
  180.     And I change the "temperature" key value to "18.5" as a "float" in "predictionConditionsList" instance 1                # ApiSteps.java:219
  181.     And I change the "pH" key value to "6" as a "float" in "predictionConditionsList" instance 1                            # ApiSteps.java:219
  182.     And I change the "waterPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1            # ApiSteps.java:219
  183.     And I change the "oxygenPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1           # ApiSteps.java:219
  184.     And I change the "metalPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1            # ApiSteps.java:219
  185.     And I change the "radicalInitiatorPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1 # ApiSteps.java:219
  186.     And I change the "peroxidePresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1         # ApiSteps.java:219
  187.     And I change the "lightPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 1            # ApiSteps.java:219
  188.     When I POST "zeneth/constraints/" API with updated values                                                               # ApiSteps.java:88
  189.     Then there are 1 entries in "predictionConditionsList"                                                                  # ApiSteps.java:293
  190.     Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5"                                    # ApiSteps.java:279
  191.     Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0"                                              # ApiSteps.java:279
  192.     Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false"                                  # ApiSteps.java:279
  193.     Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false"                                 # ApiSteps.java:279
  194.     Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false"                                  # ApiSteps.java:279
  195.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false"                       # ApiSteps.java:279
  196.     Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false"                               # ApiSteps.java:279
  197.     Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false"                                  # ApiSteps.java:279
  198.     When I GET "properties/" API with updated values                                                                        # ApiSteps.java:155
  199.     And I GET API "properties/"with the latest id with "/value"                                                             # ApiSteps.java:160
  200.     Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5"                                    # ApiSteps.java:279
  201.     Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0"                                              # ApiSteps.java:279
  202.     Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false"                                  # ApiSteps.java:279
  203.     Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false"                                 # ApiSteps.java:279
  204.     Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false"                                  # ApiSteps.java:279
  205.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false"                       # ApiSteps.java:279
  206.     Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false"                               # ApiSteps.java:279
  207.     Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false"                                  # ApiSteps.java:279
  208.     Then the statusCode returned is "200"                                                                                   # ApiSteps.java:267
  209. java.lang.NullPointerException
  210.     at org.lhasalimited.core.base.util.BasicUtils.toBase64(BasicUtils.java:248)
  211.     at org.lhasalimited.ecosystem.backend.test.utils.controllers.EcosystemControllersTestUtils.getBase64EncodedValue(EcosystemControllersTestUtils.java:788)
  212.     at application.api.tests.ApiSteps.encodeAsBase64(ApiSteps.java:474)
  213.     at application.api.tests.ApiSteps.lambda$10(ApiSteps.java:146)
  214.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  215.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  216.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  217.     at java.lang.reflect.Method.invoke(Method.java:498)
  218.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  219.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  220.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  221.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  222.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  223.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  224.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  225.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  226.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  227.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  228.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  229.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  230.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  231.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  232.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  233.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  234.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  235.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  236.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  237.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  238.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  239.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  240.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  241.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  242.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  243.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  244.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  245.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  246.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  247.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  248.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  249.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  250.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  251.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  252.  
  253.   @api
  254.   Scenario: Reset constraints for structure                                                           # ConditionConstraints.feature:64
  255.     When I GET defaults with API "zeneth/constraints/default/"                                        # ApiSteps.java:142
  256.       java.lang.AssertionError
  257.         at org.junit.Assert.fail(Assert.java:86)
  258.         at application.api.tests.ApiSteps.lambda$10(ApiSteps.java:151)
  259.         at ✽.When I GET defaults with API "zeneth/constraints/default/"(ConditionConstraints.feature:65)
  260.  
  261.     Then the "temperature" in the "predictionConditionsList" instance 1 should be "20.0"              # ApiSteps.java:279
  262.     Then the "pH" in the "predictionConditionsList" instance 1 should be "7.0"                        # ApiSteps.java:279
  263.     Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "true"             # ApiSteps.java:279
  264.     Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "true"            # ApiSteps.java:279
  265.     Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "true"             # ApiSteps.java:279
  266.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "true"  # ApiSteps.java:279
  267.     Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "true"          # ApiSteps.java:279
  268.     Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "true"             # ApiSteps.java:279
  269.     When I GET "properties/" API with updated values                                                  # ApiSteps.java:155
  270.     And I GET API "properties/"with the latest id with "/value"                                       # ApiSteps.java:160
  271.     Then there are 1 entries in "predictionConditionsList"                                            # ApiSteps.java:293
  272.     Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5"              # ApiSteps.java:279
  273.     Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0"                        # ApiSteps.java:279
  274.     Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false"            # ApiSteps.java:279
  275.     Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false"           # ApiSteps.java:279
  276.     Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false"            # ApiSteps.java:279
  277.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false" # ApiSteps.java:279
  278.     Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false"         # ApiSteps.java:279
  279.     Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false"            # ApiSteps.java:279
  280. org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-104-numerical-constraints/api/v1/properties/null": http; nested exception is java.net.UnknownHostException: http
  281.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  282.     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
  283.     at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
  284.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
  285.     at application.api.tests.ApiSteps.setAPIGetResponse(ApiSteps.java:371)
  286.     at application.api.tests.ApiSteps.lambda$11(ApiSteps.java:157)
  287.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  288.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  289.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  290.     at java.lang.reflect.Method.invoke(Method.java:498)
  291.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  292.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  293.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  294.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  295.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  296.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  297.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  298.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  299.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  300.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  301.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  302.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  303.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  304.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  305.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  306.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  307.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  308.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  309.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  310.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  311.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  312.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  313.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  314.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  315.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  316.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  317.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  318.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  319.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  320.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  321.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  322.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  323.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  324.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  325. Caused by: java.net.UnknownHostException: http
  326.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
  327.     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  328.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  329.     at java.net.Socket.connect(Socket.java:589)
  330.     at java.net.Socket.connect(Socket.java:538)
  331.     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
  332.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
  333.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
  334.     at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
  335.     at sun.net.www.http.HttpClient.New(HttpClient.java:308)
  336.     at sun.net.www.http.HttpClient.New(HttpClient.java:326)
  337.     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
  338.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
  339.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
  340.   @api
  341.   Scenario: Update conditions for constraints - add additional condition set B                           # ConditionConstraints.feature:87
  342.     When I GET "properties/" API with updated values                                                     # ApiSteps.java:155
  343.       java.lang.AssertionError: Internal server error 500
  344.         at org.junit.Assert.fail(Assert.java:88)
  345.         at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  346.         at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:88)
  347.  
  348.     When I GET API "properties/"with the latest id with "/value"                                         # ApiSteps.java:160
  349.     And I GET condition set defaults with API "zeneth/constraints/conditions/default"                    # ApiSteps.java:310
  350.     And I convert the response to a request                                                              # ApiSteps.java:178
  351.     And I add an additional condition set with the label "Condition Set B"                               # ApiSteps.java:315
  352.     When I POST "zeneth/constraints/" API with updated condition values                                  # ApiSteps.java:69
  353.     Then there are 2 entries in "predictionConditionsList"                                               # ApiSteps.java:293
  354.     Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A" # ApiSteps.java:279
  355.     Then the "conditionSetName" in the "predictionConditionsList" instance 2 should be "Condition Set B" # ApiSteps.java:279
  356.  
  357.     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
  358.     at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
  359.     at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
  360.     at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
  361.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
  362.     ... 43 more
  363. org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-104-numerical-constraints/api/v1/properties/null": http; nested exception is java.net.UnknownHostException: http
  364.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  365.     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
  366.     at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
  367.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
  368.     at application.api.tests.ApiSteps.setAPIGetResponse(ApiSteps.java:371)
  369.     at application.api.tests.ApiSteps.lambda$11(ApiSteps.java:157)
  370.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  371.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  372.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  373.     at java.lang.reflect.Method.invoke(Method.java:498)
  374.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  375.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  376.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  377.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  378.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  379.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  380.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  381.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  382.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  383.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  384.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  385.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  386.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  387.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  388.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  389.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  390.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  391.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  392.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  393.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  394.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  395.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  396.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  397.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  398.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  399.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  400.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  401.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  402.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  403.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  404.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  405.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  406.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  407.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  408. Caused by: java.net.UnknownHostException: http
  409.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
  410.     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  411.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  412.     at java.net.Socket.connect(Socket.java:589)
  413.     at java.net.Socket.connect(Socket.java:538)
  414.     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
  415.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
  416.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
  417.     at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
  418.     at sun.net.www.http.HttpClient.New(HttpClient.java:308)
  419.     at sun.net.www.http.HttpClient.New(HttpClient.java:326)
  420.     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
  421.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
  422.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
  423.     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
  424.     at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
  425.     at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
  426.     at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
  427.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
  428.     ... 43 more
  429.  
  430.   @api
  431.   Scenario: Update conditions for constraints - add additional condition set C and update values                           # ConditionConstraints.feature:99
  432.     When I GET "properties/" API with updated values                                                                       # ApiSteps.java:155
  433.       java.lang.AssertionError: Internal server error 500
  434.         at org.junit.Assert.fail(Assert.java:88)
  435.         at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  436.         at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:100)
  437.  
  438.     When I GET API "properties/"with the latest id with "/value"                                                           # ApiSteps.java:160
  439.     And I GET condition set defaults with API "zeneth/constraints/conditions/default"                                      # ApiSteps.java:310
  440.     And I convert the response to a request                                                                                # ApiSteps.java:178
  441.     And I add an additional condition set with the label "Condition Set C"                                                 # ApiSteps.java:315
  442.     And I change the "temperature" key value to "19.5" as a "float" in "predictionConditionsList" instance 3               # ApiSteps.java:219
  443.     And I change the "pH" key value to "4" as a "float" in "predictionConditionsList" instance 3                           # ApiSteps.java:219
  444.     And I change the "waterPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 3           # ApiSteps.java:219
  445.     And I change the "oxygenPresent" key value to "true" as a "boolean" in "predictionConditionsList" instance 3           # ApiSteps.java:219
  446.     And I change the "metalPresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 3           # ApiSteps.java:219
  447.     And I change the "radicalInitiatorPresent" key value to "true" as a "boolean" in "predictionConditionsList" instance 3 # ApiSteps.java:219
  448.     And I change the "peroxidePresent" key value to "false" as a "boolean" in "predictionConditionsList" instance 3        # ApiSteps.java:219
  449.     And I change the "lightPresent" key value to "true" as a "boolean" in "predictionConditionsList" instance 3            # ApiSteps.java:219
  450.     When I POST "zeneth/constraints/" API with updated condition values                                                    # ApiSteps.java:69
  451.     Then there are 3 entries in "predictionConditionsList"                                                                 # ApiSteps.java:293
  452.     Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A"                   # ApiSteps.java:279
  453.     Then the "conditionSetName" in the "predictionConditionsList" instance 2 should be "Condition Set B"                   # ApiSteps.java:279
  454.     Then the "conditionSetName" in the "predictionConditionsList" instance 3 should be "Condition Set C"                   # ApiSteps.java:279
  455.     Then the "temperature" in the "predictionConditionsList" instance 3 should be "19.5"                                   # ApiSteps.java:279
  456.     Then the "pH" in the "predictionConditionsList" instance 3 should be "4.0"                                             # ApiSteps.java:279
  457.     Then the "waterPresent" in the "predictionConditionsList" instance 3 should be "false"                                 # ApiSteps.java:279
  458.     Then the "oxygenPresent" in the "predictionConditionsList" instance 3 should be "true"                                 # ApiSteps.java:279
  459.     Then the "metalPresent" in the "predictionConditionsList" instance 3 should be "false"                                 # ApiSteps.java:279
  460.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 3 should be "true"                       # ApiSteps.java:279
  461.     Then the "peroxidePresent" in the "predictionConditionsList" instance 3 should be "false"                              # ApiSteps.java:279
  462.     Then the "lightPresent" in the "predictionConditionsList" instance 3 should be "true"                                  # ApiSteps.java:279
  463.     When I GET "properties/" API with updated values                                                                       # ApiSteps.java:155
  464.     And I GET API "properties/"with the latest id with "/value"                                                            # ApiSteps.java:160
  465.     Then there are 3 entries in "predictionConditionsList"                                                                 # ApiSteps.java:293
  466.     Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A"                   # ApiSteps.java:279
  467.     Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5"                                   # ApiSteps.java:279
  468.     Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0"                                             # ApiSteps.java:279
  469.     Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false"                                 # ApiSteps.java:279
  470.     Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false"                                # ApiSteps.java:279
  471.     Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false"                                 # ApiSteps.java:279
  472.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false"                      # ApiSteps.java:279
  473.     Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false"                              # ApiSteps.java:279
  474.     Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false"                                 # ApiSteps.java:279
  475.     Then the "conditionSetName" in the "predictionConditionsList" instance 2 should be "Condition Set B"                   # ApiSteps.java:279
  476.     Then the "temperature" in the "predictionConditionsList" instance 2 should be "20.0"                                   # ApiSteps.java:279
  477.     Then the "pH" in the "predictionConditionsList" instance 2 should be "7.0"                                             # ApiSteps.java:279
  478.     Then the "waterPresent" in the "predictionConditionsList" instance 2 should be "true"                                  # ApiSteps.java:279
  479.     Then the "oxygenPresent" in the "predictionConditionsList" instance 2 should be "true"                                 # ApiSteps.java:279
  480.     Then the "metalPresent" in the "predictionConditionsList" instance 2 should be "true"                                  # ApiSteps.java:279
  481.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 2 should be "true"                       # ApiSteps.java:279
  482.     Then the "peroxidePresent" in the "predictionConditionsList" instance 2 should be "true"                               # ApiSteps.java:279
  483.     Then the "lightPresent" in the "predictionConditionsList" instance 2 should be "true"                                  # ApiSteps.java:279
  484.     Then the "conditionSetName" in the "predictionConditionsList" instance 3 should be "Condition Set C"                   # ApiSteps.java:279
  485.     Then the "temperature" in the "predictionConditionsList" instance 3 should be "19.5"                                   # ApiSteps.java:279
  486.     Then the "pH" in the "predictionConditionsList" instance 3 should be "4.0"                                             # ApiSteps.java:279
  487.     Then the "waterPresent" in the "predictionConditionsList" instance 3 should be "false"                                 # ApiSteps.java:279
  488.     Then the "oxygenPresent" in the "predictionConditionsList" instance 3 should be "true"                                 # ApiSteps.java:279
  489.     Then the "metalPresent" in the "predictionConditionsList" instance 3 should be "false"                                 # ApiSteps.java:279
  490.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 3 should be "true"                       # ApiSteps.java:279
  491.     Then the "peroxidePresent" in the "predictionConditionsList" instance 3 should be "false"                              # ApiSteps.java:279
  492.     Then the "lightPresent" in the "predictionConditionsList" instance 3 should be "true"                                  # ApiSteps.java:279
  493.     Then the statusCode returned is "200"                                                                                  # ApiSteps.java:267
  494. org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-104-numerical-constraints/api/v1/properties/null": http; nested exception is java.net.UnknownHostException: http
  495.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  496.     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
  497.     at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
  498.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
  499.     at application.api.tests.ApiSteps.setAPIGetResponse(ApiSteps.java:371)
  500.     at application.api.tests.ApiSteps.lambda$11(ApiSteps.java:157)
  501.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  502.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  503.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  504.     at java.lang.reflect.Method.invoke(Method.java:498)
  505.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  506.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  507.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  508.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  509.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  510.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  511.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  512.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  513.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  514.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  515.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  516.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  517.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  518.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  519.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  520.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  521.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  522.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  523.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  524.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  525.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  526.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  527.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  528.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  529.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  530.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  531.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  532.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  533.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  534.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  535.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  536.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  537.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  538.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  539. Caused by: java.net.UnknownHostException: http
  540.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
  541.     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  542.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  543.     at java.net.Socket.connect(Socket.java:589)
  544.     at java.net.Socket.connect(Socket.java:538)
  545.     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
  546.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
  547.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
  548.     at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
  549.     at sun.net.www.http.HttpClient.New(HttpClient.java:308)
  550.     at sun.net.www.http.HttpClient.New(HttpClient.java:326)
  551.     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
  552.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
  553.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
  554.   @api
  555.   Scenario: Update conditions for constraints - remove condition set C                                   # ConditionConstraints.feature:164
  556.     When I GET "properties/" API with updated values                                                     # ApiSteps.java:155
  557.       java.lang.AssertionError: Internal server error 500
  558.         at org.junit.Assert.fail(Assert.java:88)
  559.         at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  560.         at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:165)
  561.  
  562.     When I GET API "properties/"with the latest id with "/value"                                         # ApiSteps.java:160
  563.     When I convert the response to a request                                                             # ApiSteps.java:178
  564.     And I remove the last object in "predictionConditionsList" from the request                          # ApiSteps.java:286
  565.     When I POST "zeneth/constraints/" API with updated condition values                                  # ApiSteps.java:69
  566.     When I GET "properties/" API with updated values                                                     # ApiSteps.java:155
  567.     And I GET API "properties/"with the latest id with "/value"                                          # ApiSteps.java:160
  568.     Then there are 2 entries in "predictionConditionsList"                                               # ApiSteps.java:293
  569.     Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A" # ApiSteps.java:279
  570.     Then the "temperature" in the "predictionConditionsList" instance 1 should be "18.5"                 # ApiSteps.java:279
  571.     Then the "pH" in the "predictionConditionsList" instance 1 should be "6.0"                           # ApiSteps.java:279
  572.     Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "false"               # ApiSteps.java:279
  573.     Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "false"              # ApiSteps.java:279
  574.     Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "false"               # ApiSteps.java:279
  575.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "false"    # ApiSteps.java:279
  576.     Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "false"            # ApiSteps.java:279
  577.     Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "false"               # ApiSteps.java:279
  578.     Then the "conditionSetName" in the "predictionConditionsList" instance 2 should be "Condition Set B" # ApiSteps.java:279
  579.     Then the "temperature" in the "predictionConditionsList" instance 2 should be "20.0"                 # ApiSteps.java:279
  580.     Then the "pH" in the "predictionConditionsList" instance 2 should be "7.0"                           # ApiSteps.java:279
  581.     Then the "waterPresent" in the "predictionConditionsList" instance 2 should be "true"                # ApiSteps.java:279
  582.     Then the "oxygenPresent" in the "predictionConditionsList" instance 2 should be "true"               # ApiSteps.java:279
  583.     Then the "metalPresent" in the "predictionConditionsList" instance 2 should be "true"                # ApiSteps.java:279
  584.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 2 should be "true"     # ApiSteps.java:279
  585.     Then the "peroxidePresent" in the "predictionConditionsList" instance 2 should be "true"             # ApiSteps.java:279
  586.     Then the "lightPresent" in the "predictionConditionsList" instance 2 should be "true"                # ApiSteps.java:279
  587.     Then the statusCode returned is "200"                                                                # ApiSteps.java:267
  588.  
  589.     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
  590.     at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
  591.     at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
  592.     at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
  593.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
  594.     ... 43 more
  595. org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-104-numerical-constraints/api/v1/properties/null": http; nested exception is java.net.UnknownHostException: http
  596.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  597.     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
  598.     at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
  599.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
  600.     at application.api.tests.ApiSteps.setAPIGetResponse(ApiSteps.java:371)
  601.     at application.api.tests.ApiSteps.lambda$11(ApiSteps.java:157)
  602.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  603.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  604.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  605.     at java.lang.reflect.Method.invoke(Method.java:498)
  606.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  607.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  608.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  609.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  610.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  611.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  612.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  613.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  614.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  615.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  616.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  617.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  618.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  619.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  620.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  621.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  622.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  623.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  624.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  625.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  626.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  627.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  628.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  629.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  630.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  631.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  632.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  633.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  634.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  635.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  636.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  637.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  638.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  639.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  640. Caused by: java.net.UnknownHostException: http
  641.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
  642.     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  643.   @api
  644.   Scenario: Reset constraints after multiple condition sets added                                        # ConditionConstraints.feature:195
  645.     When I GET "properties/" API with updated values                                                     # ApiSteps.java:155
  646.       java.lang.AssertionError: Internal server error 500
  647.         at org.junit.Assert.fail(Assert.java:88)
  648.         at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  649.         at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:196)
  650.  
  651.     When I GET API "properties/"with the latest id with "/value"                                         # ApiSteps.java:160
  652.     Then there are 2 entries in "predictionConditionsList"                                               # ApiSteps.java:293
  653.     When I GET defaults with API "zeneth/constraints/default/"                                           # ApiSteps.java:142
  654.     When I convert the response to a request                                                             # ApiSteps.java:178
  655.     When I POST "zeneth/constraints/" API with updated condition values                                  # ApiSteps.java:69
  656.     When I GET "properties/" API with updated values                                                     # ApiSteps.java:155
  657.     And I GET API "properties/"with the latest id with "/value"                                          # ApiSteps.java:160
  658.     Then there are 1 entries in "predictionConditionsList"                                               # ApiSteps.java:293
  659.     Then the "conditionSetName" in the "predictionConditionsList" instance 1 should be "Condition Set A" # ApiSteps.java:279
  660.     Then the "temperature" in the "predictionConditionsList" instance 1 should be "20.0"                 # ApiSteps.java:279
  661.     Then the "pH" in the "predictionConditionsList" instance 1 should be "7.0"                           # ApiSteps.java:279
  662.     Then the "waterPresent" in the "predictionConditionsList" instance 1 should be "true"                # ApiSteps.java:279
  663.     Then the "oxygenPresent" in the "predictionConditionsList" instance 1 should be "true"               # ApiSteps.java:279
  664.     Then the "metalPresent" in the "predictionConditionsList" instance 1 should be "true"                # ApiSteps.java:279
  665.     Then the "radicalInitiatorPresent" in the "predictionConditionsList" instance 1 should be "true"     # ApiSteps.java:279
  666.     Then the "peroxidePresent" in the "predictionConditionsList" instance 1 should be "true"             # ApiSteps.java:279
  667.     Then the "lightPresent" in the "predictionConditionsList" instance 1 should be "true"                # ApiSteps.java:279
  668.     Then the statusCode returned is "200"                                                                # ApiSteps.java:267
  669. Feature: Get/update/reset Excipients and contaminants
  670.  
  671.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  672.     at java.net.Socket.connect(Socket.java:589)
  673.     at java.net.Socket.connect(Socket.java:538)
  674.     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
  675.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
  676.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
  677.     at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
  678.     at sun.net.www.http.HttpClient.New(HttpClient.java:308)
  679.     at sun.net.www.http.HttpClient.New(HttpClient.java:326)
  680.     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
  681.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
  682.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
  683.     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
  684.     at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
  685.     at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
  686.     at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
  687.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
  688.     ... 43 more
  689. org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-104-numerical-constraints/api/v1/projects": http; nested exception is java.net.UnknownHostException: http
  690.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  691.     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
  692.     at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
  693.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
  694.     at application.api.tests.ApiSteps.setAPIPostResponse(ApiSteps.java:394)
  695.     at application.api.tests.ApiSteps.lambda$1(ApiSteps.java:66)
  696.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  697.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  698.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  699.     at java.lang.reflect.Method.invoke(Method.java:498)
  700.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  701.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  702.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  703.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  704.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  705.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  706.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  707.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  708.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  709.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  710.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  711.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  712.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  713.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  714.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  715.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  716.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  717.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  718.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  719.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  720.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  721.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  722.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  723.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  724.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  725.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  726.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  727.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  728.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  729.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  730.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  731.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  732.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  733.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  734.  
  735.   @api
  736.   Scenario: Get contaminants for Excipients                                                                                                                                           # Excipients.feature:4
  737.     When I create a new "projects?data=Untitled%20project"                                                                                                                            # ApiSteps.java:64
  738.       java.lang.AssertionError: Internal server error 500
  739.         at org.junit.Assert.fail(Assert.java:88)
  740.         at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  741.         at ✽.When I create a new "projects?data=Untitled%20project"(Excipients.feature:5)
  742.  
  743.     And I POST API "structuregroups?parent=" with the latest id                                                                                                                       # ApiSteps.java:74
  744.     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
  745.     And I GET API "properties/"with the latest id with "/value"                                                                                                                       # ApiSteps.java:160
  746.     Then the key "excipientFilterList" in the response should be "null"                                                                                                               # ApiSteps.java:183
  747. Caused by: java.net.UnknownHostException: http
  748.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
  749.     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  750.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  751.     at java.net.Socket.connect(Socket.java:589)
  752.     at java.net.Socket.connect(Socket.java:538)
  753.     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
  754.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
  755.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
  756.     at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
  757.     at sun.net.www.http.HttpClient.New(HttpClient.java:308)
  758.     at sun.net.www.http.HttpClient.New(HttpClient.java:326)
  759.     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
  760.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
  761.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
  762.     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
  763.     at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
  764.     at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
  765.     at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
  766.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
  767.     ... 43 more
  768.  
  769.   @api
  770.   Scenario: save selected excipients with contaminants selected                                                                       # Excipients.feature:28
  771.     When I convert the response to a request                                                                                          # ApiSteps.java:178
  772.       java.lang.NullPointerException
  773.         at java.io.StringReader.<init>(StringReader.java:50)
  774.         at org.json.JSONTokener.<init>(JSONTokener.java:84)
  775.         at org.json.JSONObject.<init>(JSONObject.java:334)
  776.         at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
  777.         at ✽.When I convert the response to a request(Excipients.feature:29)
  778.  
  779.     And I change the "excipientFilterList" key value in the request to "[{excipientId: 200, selectedContaminantRelationIds: [163]}]," # ApiSteps.java:189
  780.     When I POST "zeneth/constraints/" API with updated values                                                                         # ApiSteps.java:88
  781.     Then the key "excipientFilterList" in the JSONresponse should be "excipientId": "200","selectedContaminantRelationIds" : "[163]"  # ApiSteps.java:253
  782.     When I GET "properties/" API with updated values                                                                                  # ApiSteps.java:155
  783.     And I GET API "properties/"with the latest id with "/value"                                                                       # ApiSteps.java:160
  784.     Then the key "excipientFilterList" in the JSONresponse should be "excipientId": "200","selectedContaminantRelationIds" : "[163]"  # ApiSteps.java:253
  785.  
  786.   @api
  787.   Scenario: save selected excipients with contaminants deselected                                                                 # Excipients.feature:40
  788.     When I convert the response to a request                                                                                      # ApiSteps.java:178
  789.       java.lang.NullPointerException
  790.         at java.io.StringReader.<init>(StringReader.java:50)
  791.         at org.json.JSONTokener.<init>(JSONTokener.java:84)
  792.         at org.json.JSONObject.<init>(JSONObject.java:334)
  793.         at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
  794.         at ✽.When I convert the response to a request(Excipients.feature:41)
  795.  
  796.     And I change the "excipientFilterList" key value in the request to "[{excipientId: 200,selectedContaminantRelationIds: []}]," # ApiSteps.java:189
  797.     When I POST "zeneth/constraints/" API with updated values                                                                     # ApiSteps.java:88
  798.     Then the key "excipientFilterList" in the JSONresponse should be "excipientId": "200","selectedContaminantRelationIds" : "[]" # ApiSteps.java:253
  799.     When I GET "properties/" API with updated values                                                                              # ApiSteps.java:155
  800.     And I GET API "properties/"with the latest id with "/value"                                                                   # ApiSteps.java:160
  801.     Then the key "excipientFilterList" in the JSONresponse should be "excipientId": "200","selectedContaminantRelationIds" : "[]" # ApiSteps.java:253
  802. Feature: Get/update/reset transformation constraints
  803. org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://http/v55-w10-64-us1:8080/zeneth-backend-web-zeneth-104-numerical-constraints/api/v1/projects": http; nested exception is java.net.UnknownHostException: http
  804.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:732)
  805.     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:680)
  806.     at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:600)
  807.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:403)
  808.     at application.api.tests.ApiSteps.setAPIPostResponse(ApiSteps.java:394)
  809.     at application.api.tests.ApiSteps.lambda$1(ApiSteps.java:66)
  810.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  811.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  812.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  813.     at java.lang.reflect.Method.invoke(Method.java:498)
  814.     at cucumber.runtime.Utils$1.call(Utils.java:40)
  815.     at cucumber.runtime.Timeout.timeout(Timeout.java:16)
  816.     at cucumber.runtime.Utils.invoke(Utils.java:34)
  817.     at cucumber.runtime.java.Java8StepDefinition.execute(Java8StepDefinition.java:115)
  818.     at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
  819.     at cucumber.runtime.Runtime.runStep(Runtime.java:300)
  820.     at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
  821.     at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
  822.     at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
  823.     at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:102)
  824.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
  825.     at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
  826.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  827.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  828.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  829.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  830.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  831.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  832.     at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
  833.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:95)
  834.     at cucumber.api.junit.Cucumber.runChild(Cucumber.java:38)
  835.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  836.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  837.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  838.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  839.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  840.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  841.     at cucumber.api.junit.Cucumber.run(Cucumber.java:100)
  842.     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  843.     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  844.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  845.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  846.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  847.     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  848. Caused by: java.net.UnknownHostException: http
  849.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
  850.     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
  851.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  852.     at java.net.Socket.connect(Socket.java:589)
  853.     at java.net.Socket.connect(Socket.java:538)
  854.     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
  855.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
  856.     at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
  857.     at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
  858.     at sun.net.www.http.HttpClient.New(HttpClient.java:308)
  859.     at sun.net.www.http.HttpClient.New(HttpClient.java:326)
  860.     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
  861.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
  862.     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
  863.     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
  864.     at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
  865.     at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
  866.     at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
  867.     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:723)
  868.     ... 43 more
  869.  
  870.   @api
  871.   Scenario: Get transformations for structure                                                                                                                                         # TransformationConstraints.feature:4
  872.     When I create a new "projects?data=Untitled%20project"                                                                                                                            # ApiSteps.java:64
  873.       java.lang.AssertionError: Internal server error 500
  874.         at org.junit.Assert.fail(Assert.java:88)
  875.         at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  876.         at ✽.When I create a new "projects?data=Untitled%20project"(TransformationConstraints.feature:5)
  877.  
  878.     And I POST API "structuregroups?parent=" with the latest id                                                                                                                       # ApiSteps.java:74
  879.     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
  880.     And I GET API "properties/"with the latest id with "/value"                                                                                                                       # ApiSteps.java:160
  881.     Then the key "transformationIdFilterList" in the response should be "null"                                                                                                        # ApiSteps.java:183
  882.  
  883. Failed scenarios:
  884. ConditionConstraints.feature:4 # Scenario: Get constraints for structure - invalid url
  885. ConditionConstraints.feature:12 # Scenario: Get constraints for structure - valid url
  886. ConditionConstraints.feature:29 # Scenario: Update conditions for constraints
  887. ConditionConstraints.feature:64 # Scenario: Reset constraints for structure
  888. ConditionConstraints.feature:87 # Scenario: Update conditions for constraints - add additional condition set B
  889. ConditionConstraints.feature:99 # Scenario: Update conditions for constraints - add additional condition set C and update values
  890. ConditionConstraints.feature:164 # Scenario: Update conditions for constraints - remove condition set C
  891. ConditionConstraints.feature:195 # Scenario: Reset constraints after multiple condition sets added
  892. Excipients.feature:4 # Scenario: Get contaminants for Excipients
  893. Excipients.feature:28 # Scenario: save selected excipients with contaminants selected
  894. Excipients.feature:40 # Scenario: save selected excipients with contaminants deselected
  895. TransformationConstraints.feature:4 # Scenario: Get transformations for structure
  896.  
  897. 12 Scenarios (12 failed)
  898. 205 Steps (12 failed, 193 skipped)
  899. 0m2.797s
  900.  
  901. java.lang.AssertionError: Internal server error 500
  902.     at org.junit.Assert.fail(Assert.java:88)
  903.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  904.     at ✽.When I create a new "projects?data=Untitled%20project"(ConditionConstraints.feature:5)
  905.  
  906. java.lang.AssertionError: Internal server error 500
  907.     at org.junit.Assert.fail(Assert.java:88)
  908.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  909.     at ✽.When I create a new "projects?data=Untitled%20project"(ConditionConstraints.feature:13)
  910.  
  911. java.lang.NullPointerException
  912.     at java.io.StringReader.<init>(StringReader.java:50)
  913.     at org.json.JSONTokener.<init>(JSONTokener.java:84)
  914.     at org.json.JSONObject.<init>(JSONObject.java:334)
  915.     at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
  916.     at ✽.When I convert the response to a request(ConditionConstraints.feature:30)
  917.  
  918. java.lang.AssertionError
  919.     at org.junit.Assert.fail(Assert.java:86)
  920.     at application.api.tests.ApiSteps.lambda$10(ApiSteps.java:151)
  921.     at ✽.When I GET defaults with API "zeneth/constraints/default/"(ConditionConstraints.feature:65)
  922.  
  923. java.lang.AssertionError: Internal server error 500
  924.     at org.junit.Assert.fail(Assert.java:88)
  925.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  926.     at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:88)
  927.  
  928. java.lang.AssertionError: Internal server error 500
  929.     at org.junit.Assert.fail(Assert.java:88)
  930.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  931.     at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:100)
  932.  
  933. java.lang.AssertionError: Internal server error 500
  934.     at org.junit.Assert.fail(Assert.java:88)
  935.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  936.     at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:165)
  937.  
  938. java.lang.AssertionError: Internal server error 500
  939.     at org.junit.Assert.fail(Assert.java:88)
  940.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  941.     at ✽.When I GET "properties/" API with updated values(ConditionConstraints.feature:196)
  942.  
  943. java.lang.AssertionError: Internal server error 500
  944.     at org.junit.Assert.fail(Assert.java:88)
  945.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  946.     at ✽.When I create a new "projects?data=Untitled%20project"(Excipients.feature:5)
  947.  
  948. java.lang.NullPointerException
  949.     at java.io.StringReader.<init>(StringReader.java:50)
  950.     at org.json.JSONTokener.<init>(JSONTokener.java:84)
  951.     at org.json.JSONObject.<init>(JSONObject.java:334)
  952.     at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
  953.     at ✽.When I convert the response to a request(Excipients.feature:29)
  954.  
  955. java.lang.NullPointerException
  956.     at java.io.StringReader.<init>(StringReader.java:50)
  957.     at org.json.JSONTokener.<init>(JSONTokener.java:84)
  958.     at org.json.JSONObject.<init>(JSONObject.java:334)
  959.     at application.api.tests.ApiSteps.lambda$13(ApiSteps.java:180)
  960.     at ✽.When I convert the response to a request(Excipients.feature:41)
  961.  
  962. java.lang.AssertionError: Internal server error 500
  963.     at org.junit.Assert.fail(Assert.java:88)
  964.     at application.api.tests.ApiSteps.getAPIResponse(ApiSteps.java:422)
  965.     at ✽.When I create a new "projects?data=Untitled%20project"(TransformationConstraints.feature:5)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top