Absent Member.
Absent Member.

ALM OTA: How to Stop/cancel a running Performance Test using OTA methods

Hi Team,

I'm facing issue when trying to cancel/stop a running load test on ALM Performance center using OTA methods.

Requirement is to cancel/stop any running load tests based on some conditions through OTA.

Solutions tried so far,


runobj.CancelRun          'method which should cancel the running test but didn't

when the method executed getting a popup "You do not have required permission to execute this action".

Even through, we tried with ALM Admin & Normal user credentials aswell, still getting the same error msg, though users are able to cancel the test on manual navigation in ALM.

Q/A: Are there any workaround to solve the issue?

are there any specific user authorizaton settings should configured on ALM side?

or any settings to be set to allow OTA to execute cancel action?


using command option, tried to update the running Status & State of the test by using 

cmd.CommandText = "Update RUN set RN_STATE='Finished' where RN_RUN_ID=3000"

set Recordset = cmd.Execute

Here, the status/state has changed to as set on the commands, but the issue is the test is still running in the background.  The timeslots for the test showing its running and results are keep updating in Test runs window aswell.

Q/A: are there any workaround using command options to solve the issue?

any specific commands can be used to cancel/stop the running test on ALM?

how to kill/cancel the timeslots using OTA?


Please reply back with your suggestions for the same.

Thanks in advance.

- Mohan


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.