Execution Variables
Dan Bocko (13●2)
| asked Apr 26 '17, 8:33 p.m.
retagged May 19 '17, 1:35 a.m. by Minakshi Jaint (511●3) Defined these execution variables at the script level in RQM;
Execution Variables
This file is created when the test executes "soapui.properties".
rem This script is designed to be run from RQM command line adaptor.
The batch file runs from RQM, but the Execution Variables are not in the testrunner .bat command line (see below). RQM.out file
#Execution Variables
Configuration: About the Quality Management Application
Version: 6.0.1
Any suggestions to make this work are appreciated. Thanks Dan
|
Accepted answer
I have a quick test and believe I know what you have missed. To use the script as is (I guess from https://jazz.net/forum/questions/202981/soapui-to-rqm-commandline-throwing-error-that-cannot-find-path-is-there-an-issue-with-my-syntax), you need to set the execution variables "soapui_suite", "soapui_case" and "soapui_project", not "qm_soapui_suite", "qm_soapui_case" and "qm_soapui_project", as RQM will prefix the variables with "qm_" automatically when calling the Command Line Adapter.
Dan Bocko selected this answer as the correct answer
|
One other answer
If I understand correctly what you're trying to do, you just need to read the file soapui.properties to get those execution variables. Otherwise, I don't see the point of having the file there.
Comments
Dan Bocko
commented Apr 27 '17, 11:14 a.m.
Hi, This part of the batch file came from a post on the JAZZ forum. This batch file is called from RQM and should call the SoapUI test runner using the execution variables from the soapui.properties file. My question is why are there no properties being passed to the test runner and what needs to change in the batch file to make that happen. (see below)
set path=%path%;"%soapui_home%\bin"
Content of the properties file:
#Execution Variables
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.