runn: openapi3 not working when running via ssh connected server

I can run in testing api based openapi3 sechme in local pc.(openapi server is local docker container) But, not working when running via ssh connected server.(openapi server is aws container) bellow err log and runn book

  • runn book
desc: openapi3 test in jump server
runners:
  sc:
    host:  xx-xx-xx
    keepSession: true
    localForward: '10443:xxxx-xxxx.execute-api.xxxxxx.vpce.amazonaws.com:443'
  req:
    endpoint: https://127.0.0.1:10443/xxxx
    openapi3: ../../../openapi3.yaml
    skipVerify: true
debug: true
steps:
  openapi_test:
    desc: Create mission input
    req:
      /xxx/xxx/xx/xxxx_xxx/xxxx:
        get:
          headers:
            accept: application/json
            Content-Type: application/json
            Host: xxxxxxxx
            X-API-KEY: xxxxxxx
    test: steps.openapi_test.res.status == 200

  • err log
  Failure/Error: http request failed on 'openapi3 test in jump server'.steps.openapi_test: no matching operation was found

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 20 (8 by maintainers)

Most upvoted comments

His environment seems to be as follows.

graph LR
    Local[Local] -- can SSH --o xx-xx-xx[xx-xx-xx]
    xx-xx-xx -- can do HTTP requests --o xxxx-xxxx.execute-api.xxxxxx.vpce.amazonaws.com[xxxx-xxxx.execute-api.xxxxxx.vpce.amazonaws.com]
    Local[Local] -- can NOT do HTTP requests  --x xxxx-xxxx.execute-api.xxxxxx.vpce.amazonaws.com[xxxx-xxxx.execute-api.xxxxxx.vpce.amazonaws.com]

but instead of having it port forwarding, it changes the endpoint specification.

It looks like he wants to execute HTTP requests via SSH port forwarding.

GET /xx/xx/xx/xxx/xxx HTTP/1.1

1.GET /xx/xx/xx/xxx/xxx

no matching operation was found (GET xxx/xxxx/xxxx)

2.GET xxx/xxxx/xxxx

Can we assume that there is no difference between these two values?

I see, no difference. Just a typo.

Thank you for new release. I grad to appreciate your support. However, this issue cannot be closed. Still I encounter this probrem