Why did I get a 404 error?

When you call a scriptable code coverage service, the service call fails if the OpenAPI descriptor for scriptable code coverage is not deployed to the z/TPF system. Use common deployment to deploy this OpenAPI descriptor.

Symptoms

When you call a scriptable code coverage service on the z/TPF system, the service returns the following string:

InboundJaxrsResponse{context=ClientResponse{method=POST, uri=http://9.57.13.44:81/tpf/tools/ccv/services, status=404, reason=Not Found}}

Causes

Before you can call scriptable code coverage services, the ccv.tpf.swagger.json file must be deployed to the z/TPF system.

Resolving the problem

  1. Enter ZMDES DEPLOY FILE-ccv.tpf.swagger.json to deploy the OpenAPI descriptor.
  2. Call the scriptable code coverage service again.