Unable to stage Test Suite using Lisa-Invoke

book

Article ID: 6267

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction

Steps to Reproduce:
***************************** 
(1)    Run the environment (Enterprise dashboard, registry).

(2)    Open browser on local machine

 

(3)    Submit the URL below in the address bar to stage the Test Suite:

http://<Registry_Hostname>:1505/lisa-invoke/runSuite?suitePath=< Path to test suite file on local machine including extension .exe >&configPath=<Path to config file on local machine including extension .config> 

(4)    This results in the error below:

 

<status>ERROR</status>

<result>

<message>

An error occured in 'runSuite'. Message: Unable to load file: name=<test suite file path given> path:[ <Test suite file path given>] absolutePath:[ <Test suite file path given>] canonicalPath:[ <Test suite file path given>] Stack: java.io.FileNotFoundException: Unable to load file: name=<Test suite file path given>] absolutePath:[ <Test suite file path given>] canonicalPath:[ <Test suite file path given>] at com.itko.util.StreamHelp.fileOpenerWithInfo(StreamHelp.java:775) ……………..more

</message>

</result>

 

</invokeResult>

Cause

The project from which the test suite path was specified is not located on the Registry server

Environment

DevTest 8.1 – Distributed environment

Resolution

Lisa-Invoke mandates that the assets (Test Suites/cases/MAR) are available on the Registry server. 

 

Please ensure you place the project on the Registry server and specify the path of the test suite from Registry server in the URL. 

Additional Information

If User doesn't have access permissions to place the project on the Registry machine, they can use Lisa-Invoke2 to deploy the Test Suites.

Documentation on Lisa-Invoke can be referred at the links below:

 

https://docops.ca.com/devtest-solutions/8-0-1/en/using/using-ca-application-test/using-the-workstation-and-console-with-ca-application-test/running-test-cases-and-suites/the-rest-api/invoke-the-rest-api-from-the-web-interface

https://docops.ca.com/devtest-solutions/8-0-2/en/reference/rest-invoke-api

 

 

Lisa-Invoke 2 is a REST based application and you can deploy the test suite's MAR using one of the REST client applications like POSTMAN, Jenkins client or DevTest REST Test case.