Forum Discussion

SBE's avatar
SBE
Occasional Visitor
2 years ago

Functional test creation using variable in YAML-file

Hello,

will ReadyAPI support this structure in our yaml-file for automatic functional test creation? The import of the yaml-file will be executed without any error/warnings, but the functional test creation will not deliver the expected result. The expection is to get two tests, one for id=1 and another for id=2.

What is going wrong?

 

 /rest/test/id/{n}:
- $ref: "#/components/parameters/password"
- in: path
name: n
schema:
type: integer
example: 1
enum: [1, 2]
description: 1 or 2
required: true

Thanks in advance.

Steffen

No RepliesBe the first to reply