Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How to Cancel CTP Jobs using EM REST API

amurphy147
amurphy147 Posts: 18

Hello,

I'm trying to use the below EM REST API to cancel CTP jobs.

When I invoke it, I get a response saying that the status is 'CANCELED' (see screenshot below).

However, when invoke the API, I see in my CTP that the job is stuck at 0% and the status is still 'RUNNING'. It won't actually stop executing until I hit 'Stop Process' (see screenshot below).

I'm using CTP 3.1.4.20191028 and SOAtest 9.10.7.

Am I missing something?

Comments

  • Matt Love
    Matt Love Posts: 91 admin

    This is a known issue in CTP 3.1.4.20191028 and will be addressed in the next release.
    The workaround is to call the REST API to delete the job history after cancelling.