Swagger and JSON file format and CreateProjectVersion
book
Article ID: 220622
calendar_today
Updated On:
Products
CA Test Data Manager (Data Finder / Grid Tools)
Issue/Introduction
The Swagger UI of the Payload didn't work, and it's not very clear on what is required. If using the JSON found in the UI (using developer tools in Chrome Browser) worked for the file. There seems to be a mismatch of JSON. In the step created in Javelin, Why is it needed to use both a file and the project name and version name arguments?
Environment
Release : 4.9
Component : CA Test Data Manager - Javelin
Resolution
The JSON file should contain project name and version. However, it can be overridden using the project name and version entries in the UI.
For example JSON file has
name: hello
version: world
If a different name and version is wanted, then use the project name and version name entries without having to update the JSON file.