Skip to content

Create subscription, test case fails at create mock expectation step

Executed “Create a new Subscription” compliance test in Tacker failed.

[Issue Detail]

• Executed “Create a new Subscription” compliance test in Tacker.

• Sol_compliance: SOL003

• API: VNFLifecycleManagement-API

• Robot File: Subscriptions.robot

• Testcase title: POST Create a new subscription

• Test ID: 7.3.1.17.1

• Error message: ConnectionError: HTTPConnectionPool(host='localhost', port=9091): Max retries exceeded with url: /expectation (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7173f5737430>: Failed to establish a new connection: [Errno 111] Connection refused')) • Error location: https://forge.etsi.org/rep/nfv/api-tests/-/blob/2.6.1-fix-plu/SOL003/VNFLifecycleManagement-API/environment/configuration.txt

[Cause]

• This connection error occurs at “Create Mock Expectation” step due to incorrect value set in {MOCK_SERVER_JAR} variable in configuration.txt. Correct value: “../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar” (two directories back) Incorrect Value: (set in SOL003) “../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar” (three directories back)

[Fix Proposal]

• TST teams should set the correct value to {MOCK_SERVER_JAR} variable in configuration.txt in SOL003 v2.6.1-fix-plu branch.

Edited by renur
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information