Steps to reproduce:
1) Create testcase with product, category, version
2) Create XML API User and assign the above product to the user
3) Create a command.xml to check the version of the product
4) Execute the command:
curl -k --data-ascii @command.xml https://domian_name/webapi/run.xml?api_key="abCDyDCW4GftOLmeeky2"
Actual output:
<?xml version="1.0" ?>
NoNo Version not found for this product.
Expected output:
Since product already exist with the version mentioned in command.xml, it should display the version of the product
Steps to reproduce: 1) Create testcase with product, category, version 2) Create XML API User and assign the above product to the user 3) Create a command.xml to check the version of the product 4) Execute the command: curl -k --data-ascii @command.xml https://domian_name/webapi/run.xml?api_key="abCDyDCW4GftOLmeeky2"
Actual output: <?xml version="1.0" ?>